A simple but in some cases very useful extension to the standard quality criteria supplied by the TRIANGLE grid generation library is to offer the possibility to use an algorithm which decides whether triangles resulting from the standard refinement process should be refined further. The optional input parameter gridAdaption (Section 4.5.3.6) of the PromisNTSetup model can be used to specify a MDL model derived from the base class GridAdaptionModel. This MDL class is evaluated for each triangle of the initial simulation grid resulting from a grid refinement step which applies the quality criteria configured by parameters in Table 4.9.
The gridAdaption can cause the triangle (x1/y1),(x2/y2),(x3/y3) (Table 4.10) in the material segment to be refined by setting the output parameter refine to the value true.
Name | Type | I/O | Description | |
material | MdlString | I |
|
|
x1 | double | I |
|
|
x2 | double | I |
|
|
x3 | double | I |
|
|
y1 | double | I |
|
|
y2 | double | I |
|
|
y3 | double | I |
|
|
refine | MdlBool | O |
|