atl_eqn_maxwell_derive_module Module

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


Uses

  • module~~atl_eqn_maxwell_derive_module~~UsesGraph module~atl_eqn_maxwell_derive_module atl_eqn_maxwell_derive_module module~tem_varsys_module tem_varSys_module module~atl_eqn_maxwell_derive_module->module~tem_varsys_module module~atl_equation_module atl_equation_module module~atl_eqn_maxwell_derive_module->module~atl_equation_module module~tem_time_module tem_time_module module~atl_eqn_maxwell_derive_module->module~tem_time_module module~treelmesh_module treelmesh_module module~atl_eqn_maxwell_derive_module->module~treelmesh_module iso_c_binding iso_c_binding module~atl_eqn_maxwell_derive_module->iso_c_binding module~env_module env_module module~atl_eqn_maxwell_derive_module->module~env_module module~atl_equation_module->module~tem_varsys_module module~atl_equation_module->module~env_module module~atl_eqn_nerplanck_module atl_eqn_nerplanck_module module~atl_equation_module->module~atl_eqn_nerplanck_module module~atl_eqn_nvrstk_module atl_eqn_nvrstk_module module~atl_equation_module->module~atl_eqn_nvrstk_module module~aotus_module aotus_module module~atl_equation_module->module~aotus_module module~atl_materialfun_module atl_materialFun_module module~atl_equation_module->module~atl_materialfun_module module~atl_eqn_euler_module atl_eqn_euler_module module~atl_equation_module->module~atl_eqn_euler_module module~tem_coordinate_module tem_coordinate_module module~atl_equation_module->module~tem_coordinate_module module~tem_stringkeyvaluepair_module tem_stringKeyValuePair_module module~atl_equation_module->module~tem_stringkeyvaluepair_module module~tem_bc_module tem_bc_module module~atl_equation_module->module~tem_bc_module module~atl_eqn_bbm_module atl_eqn_bbm_module module~atl_equation_module->module~atl_eqn_bbm_module module~tem_varmap_module tem_varMap_module module~atl_equation_module->module~tem_varmap_module module~aot_path_module aot_path_module module~atl_equation_module->module~aot_path_module module~atl_eqn_advection_1d_module atl_eqn_advection_1d_module module~atl_equation_module->module~atl_eqn_advection_1d_module module~atl_eqn_lineareuler_module atl_eqn_LinearEuler_module module~atl_equation_module->module~atl_eqn_lineareuler_module module~atl_eqn_acoustic_module atl_eqn_acoustic_module module~atl_equation_module->module~atl_eqn_acoustic_module module~tem_spacetime_fun_module tem_spacetime_fun_module module~atl_equation_module->module~tem_spacetime_fun_module module~atl_eqn_maxwell_module atl_eqn_maxwell_module module~atl_equation_module->module~atl_eqn_maxwell_module module~atl_eqn_heat_module atl_eqn_heat_module module~atl_equation_module->module~atl_eqn_heat_module module~atl_eqn_nerplanck_module->module~env_module module~atl_eqn_nerplanck_module->module~aotus_module module~atl_eqn_nvrstk_module->module~env_module module~atl_eqn_nvrstk_module->module~aotus_module module~atl_eqn_nvrstk_module->module~atl_eqn_euler_module module~aot_out_module aot_out_module module~atl_eqn_nvrstk_module->module~aot_out_module module~tem_logging_module tem_logging_module module~atl_eqn_nvrstk_module->module~tem_logging_module module~tem_aux_module tem_aux_module module~atl_eqn_nvrstk_module->module~tem_aux_module module~atl_materialfun_module->module~tem_varsys_module module~atl_materialfun_module->module~env_module module~atl_materialfun_module->module~aot_out_module module~atl_eqn_euler_module->module~env_module module~atl_eqn_euler_module->module~aotus_module module~atl_eqn_euler_module->module~aot_out_module module~atl_eqn_euler_module->module~tem_logging_module module~atl_eqn_euler_module->module~tem_aux_module module~atl_eqn_bbm_module->module~env_module module~atl_eqn_bbm_module->module~aotus_module module~atl_eqn_bbm_module->module~tem_logging_module module~atl_eqn_advection_1d_module->module~env_module module~atl_eqn_advection_1d_module->module~aotus_module module~atl_eqn_advection_1d_module->module~aot_out_module module~atl_eqn_lineareuler_module->module~tem_time_module module~atl_eqn_lineareuler_module->module~env_module module~atl_eqn_lineareuler_module->module~aotus_module module~atl_eqn_lineareuler_module->module~atl_materialfun_module module~tem_temporal_module tem_temporal_module module~atl_eqn_lineareuler_module->module~tem_temporal_module module~atl_eqn_lineareuler_module->module~aot_out_module module~atl_eqn_lineareuler_module->module~tem_logging_module module~aot_table_module aot_table_module module~atl_eqn_lineareuler_module->module~aot_table_module module~atl_eqn_lineareuler_module->module~tem_aux_module module~tem_tools_module tem_tools_module module~atl_eqn_lineareuler_module->module~tem_tools_module module~atl_eqn_acoustic_module->module~env_module module~atl_eqn_acoustic_module->module~aotus_module module~atl_eqn_acoustic_module->module~atl_materialfun_module module~atl_eqn_acoustic_module->module~aot_out_module module~atl_eqn_acoustic_module->module~tem_logging_module module~atl_eqn_acoustic_module->module~aot_table_module module~aot_out_general_module aot_out_general_module module~atl_eqn_acoustic_module->module~aot_out_general_module module~atl_eqn_acoustic_module->module~tem_tools_module module~atl_eqn_maxwell_module->module~aot_out_module module~atl_eqn_heat_module->module~env_module module~atl_eqn_heat_module->module~aotus_module module~atl_eqn_heat_module->module~atl_materialfun_module module~atl_eqn_heat_module->module~aot_out_module

Used by

  • module~~atl_eqn_maxwell_derive_module~~UsedByGraph module~atl_eqn_maxwell_derive_module atl_eqn_maxwell_derive_module module~atl_eqn_maxwell_hlp_module atl_eqn_maxwell_hlp_module module~atl_eqn_maxwell_hlp_module->module~atl_eqn_maxwell_derive_module module~atl_equation_init_module atl_equation_init_module module~atl_equation_init_module->module~atl_eqn_maxwell_hlp_module proc~implicit_update implicit_update proc~implicit_update->module~atl_eqn_maxwell_hlp_module module~atl_initialize_module atl_initialize_module module~atl_initialize_module->module~atl_equation_init_module module~atl_program_module atl_program_module module~atl_program_module->module~atl_initialize_module program~atl_harvesting atl_harvesting program~atl_harvesting->module~atl_initialize_module

Contents


Subroutines

public subroutine atl_eqn_maxwell_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.

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

Converted variables.

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

The material information.

public subroutine atl_eqn_maxwell_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.

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

Converted variables.

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

The material information.

public subroutine atl_xFrom3D_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_xFrom3D_getElement(fun, varSys, elempos, time, tree, nElems, nDofs, res)

We only want to have one component, thus we don't need to loop over them

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

public subroutine atl_yFrom3D_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_yFrom3D_getElement(fun, varSys, elempos, time, tree, nElems, nDofs, res)

We only want to have one component, thus we don't need to loop over them

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

public subroutine atl_zFrom3D_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 point 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_zFrom3D_getElement(fun, varSys, elempos, time, tree, nElems, nDofs, res)

We only want to have one component, thus we don't need to loop over them

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