Skip to content

Generalized freeze subroutine#108

Open
cnegre wants to merge 4 commits intomasterfrom
freezecoord
Open

Generalized freeze subroutine#108
cnegre wants to merge 4 commits intomasterfrom
freezecoord

Conversation

@cnegre
Copy link
Collaborator

@cnegre cnegre commented May 28, 2019

Generalized freeze subroutine.

@cnegre cnegre requested review from cawkwell and enriquemasa May 28, 2019 16:41
@nfaguirrec
Copy link
Member

Maybe I am wrong, but I think that the vector FREEZEID is never deallocated. I suggest taking a look at that.

@codecov
Copy link

codecov bot commented May 28, 2019

Codecov Report

Merging #108 into master will decrease coverage by <.1%.
The diff coverage is 62.5%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master    #108     +/-   ##
========================================
- Coverage    46.1%   46.1%   -0.1%     
========================================
  Files         200     200             
  Lines       16321   16333     +12     
========================================
+ Hits         7528    7532      +4     
- Misses       8793    8801      +8
Impacted Files Coverage Δ
src/constraints_mod.F90 74% <62.5%> (-6%) ⬇️
src/kgradH.F90 53% <0%> (-1%) ⬇️
src/kbldnewh.F90 42.5% <0%> (-0.7%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aee85aa...147efdd. Read the comment docs.

@cnegre
Copy link
Collaborator Author

cnegre commented May 28, 2019 via email

DO I = 1,NFREEZE
READ(444,*)FREEZEID(I)
READ(444,*)FREEZEID(I), FREEZEIDX(I), FREEZEIDY(I), FREEZEIDZ(I)
FREEZEIDX(I) = 1 - FREEZEIDX(I)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add a check that FREEZEID[XYZ] is really in [0, 1]?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants