Skip to content

Commit

Permalink
merge hp face-refinement with limiting fac2
Browse files Browse the repository at this point in the history
  • Loading branch information
JSchoeberl committed Jan 16, 2024
1 parent 3dc0383 commit 5a4b89c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions libsrc/meshing/hprefinement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -676,10 +676,7 @@ namespace netgen
INDEX_2_HASHTABLE<int> newpts(elements.Size()+1);
INDEX_3_HASHTABLE<int> newfacepts(elements.Size()+1);

// prepare new points
// fac1 = max(0.001,min(0.33,fac1));
double fac2;
fac2 = max(0.001,min(0.33,fac1));
double fac2 = max(0.001,min(1.0/3,fac1)); // factor for face points
PrintMessage(3, " in HP-REFINEMENT with fac1 ", fac1);
*testout << " in HP-REFINEMENT with fac1 " << fac1 << endl;

Expand Down

0 comments on commit 5a4b89c

Please sign in to comment.