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 env_module env_module module~atl_eqn_maxwell_derive_module->env_module iso_c_binding iso_c_binding module~atl_eqn_maxwell_derive_module->iso_c_binding module~atl_equation_module atl_equation_module module~atl_eqn_maxwell_derive_module->module~atl_equation_module tem_time_module tem_time_module module~atl_eqn_maxwell_derive_module->tem_time_module tem_varSys_module tem_varSys_module module~atl_eqn_maxwell_derive_module->tem_varSys_module treelmesh_module treelmesh_module module~atl_eqn_maxwell_derive_module->treelmesh_module module~atl_equation_module->env_module module~atl_equation_module->tem_varSys_module aot_path_module aot_path_module module~atl_equation_module->aot_path_module aotus_module aotus_module module~atl_equation_module->aotus_module module~atl_eqn_acoustic_module atl_eqn_acoustic_module module~atl_equation_module->module~atl_eqn_acoustic_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_bbm_module atl_eqn_bbm_module module~atl_equation_module->module~atl_eqn_bbm_module module~atl_eqn_euler_module atl_eqn_euler_module module~atl_equation_module->module~atl_eqn_euler_module module~atl_eqn_heat_module atl_eqn_heat_module module~atl_equation_module->module~atl_eqn_heat_module module~atl_eqn_lineareuler_module atl_eqn_LinearEuler_module module~atl_equation_module->module~atl_eqn_lineareuler_module module~atl_eqn_maxwell_module atl_eqn_maxwell_module module~atl_equation_module->module~atl_eqn_maxwell_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~atl_materialfun_module atl_materialFun_module module~atl_equation_module->module~atl_materialfun_module tem_bc_module tem_bc_module module~atl_equation_module->tem_bc_module tem_coordinate_module tem_coordinate_module module~atl_equation_module->tem_coordinate_module tem_spacetime_fun_module tem_spacetime_fun_module module~atl_equation_module->tem_spacetime_fun_module tem_stringKeyValuePair_module tem_stringKeyValuePair_module module~atl_equation_module->tem_stringKeyValuePair_module tem_varMap_module tem_varMap_module module~atl_equation_module->tem_varMap_module module~atl_eqn_acoustic_module->env_module module~atl_eqn_acoustic_module->aotus_module module~atl_eqn_acoustic_module->module~atl_materialfun_module aot_out_general_module aot_out_general_module module~atl_eqn_acoustic_module->aot_out_general_module aot_out_module aot_out_module module~atl_eqn_acoustic_module->aot_out_module aot_table_module aot_table_module module~atl_eqn_acoustic_module->aot_table_module tem_logging_module tem_logging_module module~atl_eqn_acoustic_module->tem_logging_module tem_tools_module tem_tools_module module~atl_eqn_acoustic_module->tem_tools_module module~atl_eqn_advection_1d_module->env_module module~atl_eqn_advection_1d_module->aotus_module module~atl_eqn_advection_1d_module->aot_out_module module~atl_eqn_bbm_module->env_module module~atl_eqn_bbm_module->aotus_module module~atl_eqn_bbm_module->tem_logging_module module~atl_eqn_euler_module->env_module module~atl_eqn_euler_module->aotus_module module~atl_eqn_euler_module->aot_out_module tem_aux_module tem_aux_module module~atl_eqn_euler_module->tem_aux_module module~atl_eqn_euler_module->tem_logging_module module~atl_eqn_heat_module->env_module module~atl_eqn_heat_module->aotus_module module~atl_eqn_heat_module->module~atl_materialfun_module module~atl_eqn_heat_module->aot_out_module module~atl_eqn_lineareuler_module->env_module module~atl_eqn_lineareuler_module->tem_time_module module~atl_eqn_lineareuler_module->aotus_module module~atl_eqn_lineareuler_module->module~atl_materialfun_module module~atl_eqn_lineareuler_module->aot_out_module module~atl_eqn_lineareuler_module->aot_table_module module~atl_eqn_lineareuler_module->tem_aux_module module~atl_eqn_lineareuler_module->tem_logging_module tem_temporal_module tem_temporal_module module~atl_eqn_lineareuler_module->tem_temporal_module module~atl_eqn_lineareuler_module->tem_tools_module module~atl_eqn_maxwell_module->aot_out_module module~atl_eqn_nerplanck_module->env_module module~atl_eqn_nerplanck_module->aotus_module module~atl_eqn_nvrstk_module->env_module module~atl_eqn_nvrstk_module->aotus_module module~atl_eqn_nvrstk_module->module~atl_eqn_euler_module module~atl_eqn_nvrstk_module->aot_out_module module~atl_eqn_nvrstk_module->tem_aux_module module~atl_eqn_nvrstk_module->tem_logging_module module~atl_materialfun_module->env_module module~atl_materialfun_module->tem_varSys_module module~atl_materialfun_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

Subroutines

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

Convert primitive varibales to conservative variables.

Read more…

Arguments

Type IntentOptional Attributes Name
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

Type IntentOptional Attributes Name
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

Type IntentOptional Attributes Name
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.

Read more…

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

Type IntentOptional Attributes Name
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.

Read more…

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

Arguments

Type IntentOptional Attributes Name
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.

Read more…

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

Type IntentOptional Attributes Name
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.

Read more…

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

Arguments

Type IntentOptional Attributes Name
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.

Read more…

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

Type IntentOptional Attributes Name
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.

Read more…