eqn_var_trafo Abstract Interface

abstract interface

interface description for the transormation of a set of state varibles to another set of state variables (e.g. conservative variables to primitive variable or vice versa)


private subroutine eqn_var_trafo(equation, instate, outstate, material)

Arguments

TypeIntentOptionalAttributesName
class(atl_Equations_type), intent(in) :: equation

the eqations type that defines all necessary parameters

real(kind=rk), intent(inout) :: instate(:,:)

input state vector

The array dimensions reflect the way the state vector is stored in the solver: dimension (nPnts nVars) with: * nPnts (used to store state at several points in each element) * nVars: number of necessary variables to define the state

real(kind=rk), intent(out), optional :: outstate(:,:)

output transformed state vector

The array dimensions reflect the way the state vector is stored in the solver: dimension (nPnts, nVars) with: * nPnts same as in instate * nVars: number of necessary variables to define the state

real(kind=rk), intent(in), optional :: material(:,:)

The material information for the state transformation.

The array dimensionals are: (nDofs, nMaterials) * nDoFs same as in instate * nMaterials: number of material parameters.