atl_eqn_euler_1d_derive_module Module

Routines to derive quantities from the state in the Euler equation system.


Uses

  • module~~atl_eqn_euler_1d_derive_module~~UsesGraph module~atl_eqn_euler_1d_derive_module atl_eqn_euler_1d_derive_module module~tem_varsys_module tem_varSys_module module~atl_eqn_euler_1d_derive_module->module~tem_varsys_module module~atl_equation_module atl_equation_module module~atl_eqn_euler_1d_derive_module->module~atl_equation_module module~tem_logging_module tem_logging_module module~atl_eqn_euler_1d_derive_module->module~tem_logging_module module~atl_derive_module atl_derive_module module~atl_eqn_euler_1d_derive_module->module~atl_derive_module module~tem_time_module tem_time_module module~atl_eqn_euler_1d_derive_module->module~tem_time_module module~treelmesh_module treelmesh_module module~atl_eqn_euler_1d_derive_module->module~treelmesh_module iso_c_binding iso_c_binding module~atl_eqn_euler_1d_derive_module->iso_c_binding module~atl_varsys_module atl_varSys_module module~atl_eqn_euler_1d_derive_module->module~atl_varsys_module module~env_module env_module module~atl_eqn_euler_1d_derive_module->module~env_module

Used by

  • module~~atl_eqn_euler_1d_derive_module~~UsedByGraph module~atl_eqn_euler_1d_derive_module atl_eqn_euler_1d_derive_module module~atl_eqn_euler_hlp_module atl_eqn_euler_hlp_module module~atl_eqn_euler_hlp_module->module~atl_eqn_euler_1d_derive_module module~atl_eqn_euler_1d_var_module atl_eqn_euler_1d_var_module module~atl_eqn_euler_hlp_module->module~atl_eqn_euler_1d_var_module module~atl_eqn_euler_1d_var_module->module~atl_eqn_euler_1d_derive_module module~atl_global_time_integration_module atl_global_time_integration_module module~atl_global_time_integration_module->module~atl_eqn_euler_1d_derive_module module~atl_program_module atl_program_module module~atl_program_module->module~atl_global_time_integration_module module~atl_container_module atl_container_module module~atl_program_module->module~atl_container_module module~atl_initialize_module atl_initialize_module module~atl_program_module->module~atl_initialize_module proc~implicit_update implicit_update proc~implicit_update->module~atl_eqn_euler_hlp_module module~atl_eqn_nvrstk_hlp_module atl_eqn_nvrstk_hlp_module module~atl_eqn_nvrstk_hlp_module->module~atl_eqn_euler_hlp_module module~atl_equation_init_module atl_equation_init_module module~atl_equation_init_module->module~atl_eqn_euler_hlp_module module~atl_equation_init_module->module~atl_eqn_nvrstk_hlp_module module~atl_container_module->module~atl_global_time_integration_module program~ateles ateles program~ateles->module~atl_program_module program~ateles->module~atl_container_module program~atl_harvesting atl_harvesting program~atl_harvesting->module~atl_program_module program~atl_harvesting->module~atl_container_module program~atl_harvesting->module~atl_initialize_module module~atl_initialize_module->module~atl_equation_init_module module~atl_initialize_module->module~atl_container_module

Contents


Subroutines

public subroutine atl_eqn_euler_1d_prim2cons(equation, instate, outstate, material)

Convert primitive varibales to conservative variables.

Read more…

Arguments

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

Description of the equation system.

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

Primitive variables to convert. If outstate is not provided, conversion will take in place of instate.

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

Converted variables.

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

The material information.

public subroutine atl_eqn_euler_1d_cons2prim(equation, instate, outstate, material)

Convert conservative to primitive variables.

Read more…

Arguments

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

Description of the equation system.

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

Primitive variables to convert. If outstate is not provided, conversion will take in place of instate.

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

Converted variables.

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

The material information.

public subroutine atl_eqn_euler_1d_prim2cons_elems(equation, instate, outstate, nElems)

Convert primitive varibales to conservative variables.

Read more…

Arguments

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

Description of the equation system.

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

Primitive variables to convert. If outstate is not provided, conversion will take in place of instate.

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

Converted variables.

integer, intent(in) :: nElems

Number of elements to act on (first index in the state arrays).

public subroutine atl_eqn_euler_1d_cons2prim_elems(equation, instate, outstate, nElems)

Convert conservative to primitive variables.

Read more…

Arguments

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

Description of the equation system.

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

Primitive variables to convert. If outstate is not provided, conversion will take in place of instate.

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

Converted variables.

integer, intent(in) :: nElems

Number of elements to act on (first index in the state arrays).

public subroutine atl_pressure_1d_getPoint(fun, varSys, point, time, tree, nPnts, res)

Arguments

TypeIntentOptionalAttributesName
class(tem_varSys_op_type), intent(in) :: fun

Description of the method to obtain the variables, here some preset values might be stored, like the space time function to use or the required variables.

type(tem_varSys_type), intent(in) :: varSys

The variable system to obtain the variable from.

real(kind=rk), intent(in) :: point(:,:)

Three-dimensional coordinates at which the variable should be evaluated. Only useful for variables provided as space-time functions.

type(tem_time_type), intent(in) :: time

Point in time at which to evaluate the variable.

type(treelmesh_type), intent(in) :: tree

global treelm mesh info

integer, intent(in) :: nPnts

Number of values to obtain for this variable (vectorized access).

real(kind=rk), intent(out) :: res(:)

Resulting values for the requested variable.

Dimension: n requested entries x nComponents of this variable Access: (iElem-1)*fun%nComponents + iComp

public subroutine atl_pressure_1d_getIndex(fun, varSys, time, iLevel, idx, idxLen, nVals, res)

Arguments

TypeIntentOptionalAttributesName
class(tem_varSys_op_type), intent(in) :: fun

Description of the method to obtain the variables,

type(tem_varSys_type), intent(in) :: varSys

The variable system to obtain the variable from.

type(tem_time_type), intent(in) :: time

Point in time at which to evaluate the variable.

integer, intent(in) :: iLevel

Level on which values are requested

integer, intent(in) :: idx(:)

Index of points in the growing array and variable val array to return. Size: n

integer, intent(in), optional :: idxLen(:)

With idx as start index in contiguous memory, idxLength defines length of each contiguous memory Size: nVals

integer, intent(in) :: nVals

Number of values to obtain for this variable (vectorized access).

real(kind=rk), intent(out) :: res(:)

Resulting values for the requested variable.

Dimension: n requested entries x nComponents of this variable Access: (iElem-1)*fun%nComponents + iComp

public subroutine atl_derivePressure_1d(fun, varSys, tree, iElem, elempos, nodalInput, nodalRes)

Arguments

TypeIntentOptionalAttributesName
class(tem_varSys_op_type), intent(in) :: fun

Description of the method to obtain the variables, here some preset values might be stored, like the space time function to use or the required variables.

type(tem_varSys_type), intent(in) :: varSys

The variable system to obtain the variable from.

type(treelmesh_type), intent(in) :: tree

global treelm mesh info

integer, intent(in) :: iElem

The Current element index

integer, intent(in) :: elempos(:)

TreeID of the element to get the variable for.

type(atl_derive_inputVar_type) :: nodalInput(:)

The input data. nodalInput contains one entry for each input variable. This entry itself contains the nodal data for the dofs and components of the input variable. These nodal data has to be gained by oversampling and projecting the modal state into nodal space.

real(kind=rk), allocatable:: nodalRes(:,:)

The result in nodal space

public subroutine atl_pressure_1d_getElement(fun, varSys, elempos, time, tree, nElems, nDofs, res)

Arguments

TypeIntentOptionalAttributesName
class(tem_varSys_op_type), intent(in) :: fun

Description of the method to obtain the variables, here some preset values might be stored, like the space time function to use or the required variables.

type(tem_varSys_type), intent(in) :: varSys

The variable system to obtain the variable from.

integer, intent(in) :: elempos(:)

TreeID of the element to get the variable for.

type(tem_time_type), intent(in) :: time

Point in time at which to evaluate the variable.

type(treelmesh_type), intent(in) :: tree

global treelm mesh info

integer, intent(in) :: nElems

Number of values to obtain for this variable (vectorized access).

integer, intent(in) :: nDofs

Number of degrees of freedom within an element.

real(kind=rk), intent(out) :: res(:)

Resulting values for the requested variable.

Linearized array dimension: (n requested entries) x (nComponents of this variable) x (nDegrees of freedom) Access: (iElem-1)fun%nComponentsnDofs + (iDof-1)*fun%nComponents + iComp