mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Merge branch 'fixcalcpartition' into 'master'
use grading for boundray partition and set default value for elto0 See merge request !61
This commit is contained in:
commit
977c358d7b
@ -30,7 +30,7 @@ namespace netgen
|
||||
}
|
||||
|
||||
// limit slope
|
||||
double gradh = 1/elto0;
|
||||
double gradh = min(1/elto0,mp.grading);
|
||||
for (int i = 0; i < n-1; i++)
|
||||
{
|
||||
double hnext = hi[i] + gradh * (xi[i+1]-xi[i]).Length();
|
||||
|
@ -129,7 +129,7 @@ namespace netgen
|
||||
Array<bool> tensormeshing;
|
||||
Array<int> layer;
|
||||
Array<string*> bcnames;
|
||||
double elto0;
|
||||
double elto0 = 1.0;
|
||||
|
||||
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user