10 | | The uniform regions object contains a ShapeObject that defines where the uniform value 'q' is to be applied. The !SubSample defines how many sub cells in each direction are sampled. If !PersistInBoundaries is true then anywhere the object overlaps with physical boundaries - the values are maintained during the simulation. |
| 19 | * ''*{{{Shape}}}'': A pointer to a [wiki:Shape Shape] object that defines the dimensions of the region this object will keep uniform. |
| 20 | |
| 21 | * ''{{{q}}}'': A state vector containing the hydrodynamic variable values this object will enforce within the uniform region. |
| 22 | |
| 23 | * ''{{{SubSample}}}'': An integer value used to determine the sub-sampling resolution. The default value for {{{SubSample}}} is 1. |
| 24 | |
| 25 | * ''{{{PersistInBoundaries}}}'': Indicates whether the uniform region is persistent. Under this option, {{{beforeStep()}}} only enforces the uniform region up to a grid's [CoreGrid physical boundaries]. By default, this option is turned off. |
| 26 | |
| 27 | * ''{{{PersistInternal}}}'': Indicates whether the uniform region is persistent. Under this option, {{{beforeStep()}}} will enforce the uniform region within a grid's [GhostZone ghost regions] as well. By default, this option is turned off. |
| 28 | |
| 29 | [[BR]] |
| 30 | == How to Use this Object == |
| 31 | |
| 32 | The uniform regions object contains a ShapeObject that defines where the uniform value {{{q}}} is to be applied. The !SubSample defines how many sub cells in each direction are sampled. If !PersistInBoundaries is true then anywhere the object overlaps with physical boundaries - the values are maintained during the simulation. |