eqn_varElem_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_varElem_trafo(equation, instate, outstate, nElems)

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 (nDoFs nVars) with:

  • nMaxInElems >= nElems,
  • nDoFs arbitrary (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 (nElems, nDoFs, nVars) with:

  • nDoFs same as in instate
  • nVars: number of necessary variables to define the state
integer, intent(in) :: nElems

The number of elements.