coordRotation_type Derived Type

type, public :: coordRotation_type

system to another coordinate system. This can be usefule e.g. for calculating the fluxes which is always done across the surface in positive x direction.


Components

Type Visibility Attributes Name Initial
integer, public :: rotationType

The type of the rotation, see parameters above.

integer, public, allocatable :: varTransformIndices(:)

Array of integers defining how to transform the variables of your state vector. Therefore the size of this array is the number of scalar variables of your equation system.

integer, public, allocatable :: derTransformIndices(:)

Array of integers defining how to transform the derivatives of your state vector. Therefore the size of this array is the total number of derivatives you store in your state vector.


Source Code

  type coordRotation_type
    !> The type of the rotation, see parameters above.
    integer :: rotationType
    !> Array of integers defining how to transform the variables of your
    !! state vector. Therefore the size of this array is the number of scalar
    !! variables of your equation system.
    integer, allocatable :: varTransformIndices(:)
    !> Array of integers defining how to transform the derivatives of your
    !! state vector. Therefore the size of this array is the total number
    !! of derivatives you store in your state vector.
    integer, allocatable :: derTransformIndices(:)
  end type coordRotation_type