Changes between Version 1 and Version 2 of UniformRegions


Ignore:
Timestamp:
05/04/11 12:05:12 (14 years ago)
Author:
Brandon Shroyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • UniformRegions

    v1 v2  
     1[[PageOutline]]
     2
    13= Uniform Regions =
     4
     5As its name implies, the {{{UniformRegion}}} object defines a region where the hydrodynamic variables are constant.  The region itself is defined by a [wiki:Shape Shape] object passed in when the {{{UniformRegion}}} is created.  The {{{UniformRegion}}} can be used as a one-shot or it can be made ''persistent'', in which case it would be renewed before every step (i.e., by  a subroutine called in {{{beforeStep()}}}).
     6
     7[[BR]]
     8
     9== Object Definitions ==
     10{{{UniformRegion}}}:
    211{{{
    312TYPE(ShapeDef), POINTER :: Shape
    413REAL(KIND=qPREC), DIMENSION(:), ALLOCATABLE :: q
    5 INTEGER :: SubSample=1
     14INTEGER :: SubSample = 1
    615LOGICAL :: PersistInBoundaries = .false.
    716LOGICAL :: PersistInternal = .false.
    817}}}
    918
    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
     32The 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.
    1133If !PersistInternal is true then the values are maintained wherever the object exists.
    1234