mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 04:50:34 +05:00
use grading for boundray partition and set default value for elto0
This commit is contained in:
parent
045a271c2e
commit
2e07ee9962
@ -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