|
Regional Parameter Values in 3D |
Top Previous Next |
|
In three-dimensional problems, a redefinition of a parameter inside a REGION causes the parameter to be redefined in all layers of the layer stack above the region. To cause the parameter to be redefined only in a selected layer, use the LAYER qualifier, as in
LAYER number name = new_expression LAYER "layer_name" name = new_expression
The LAYER qualifier acts on all subsequent parameter redefinitions, until a new LAYER qualifier or a functionally distinct clause breaks the group of redefinitions.
Example: The following descriptor fragment shows the redefinition of a parameter K in various contexts:
DEFINITIONS K=1 { 1 }
BOUNDARIES LAYER 1 K=2 { 2 } REGION 1 K=3 { 3 } LAYER 2 K=4 { 4 } START(0,0) LINE TO ....
Line { 1 } defines the default value. Line { 2 } (valid only in 3D) defines the value in layer 1 of all regions. Line { 3 } redefines the value in region 1 only, in all layers of a 3D domain. Line { 4 } (valid only in 3D) defines the value in layer 2 of region 1 only.
|