<< Click to Display Table of Contents >> Regional Parameter Values in 3D |
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 { defines the default value }
BOUNDARIES
LAYER 1 K=2 { (valid only in 3D) defines the value in layer 1 of all regions }
REGION 1
K=3 { redefines the value in region 1 only, in all layers of a 3D domain }
LAYER 2 K=4 { (valid only in 3D) defines the value in layer 2 of region 1 only }
START(0,0) LINE TO ....