atl_eqn_maxwell_2d_var_module Module

equations



Subroutines

public subroutine atl_init_maxwell_2d_vars(equation, methodData)

init the variables for maxwell equation (2D, TE-mode formulation).

Read more…

Arguments

Type IntentOptional Attributes Name
type(atl_Equations_type), intent(inout) :: equation

The equation system

type(atl_varSys_solverData_type) :: methodData

the pointer to the data required for the varsys

public subroutine atl_append_maxwell_2d_vars(equation, methodData)

append the variables for electrodynamic simulations

Read more…

Arguments

Type IntentOptional Attributes Name
type(atl_Equations_type), intent(inout) :: equation

The equation system

type(atl_varSys_solverData_type), target :: methodData

the pointer to the data required for the varsys

public subroutine atl_eval_source_currentDensity_2d(fun, varSys, time, mesh, poly_proj, currentLevel, state, material, sourcedata)

evaluate "currentDensity" source

Read more…

Arguments

Type IntentOptional Attributes Name
class(atl_source_op_type), intent(in) :: fun

Description of method to update source

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

variable system

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

Point in time at which to evaluate the variable.

type(atl_cube_elem_type), intent(in) :: mesh

Current level mesh information

type(ply_poly_project_type), intent(inout) :: poly_proj

Parameters for projection

integer, intent(in) :: currentLevel

current level

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

The state in modal space. This is needed for several source terms that have to be applied to the current state

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

Material description for the complete domain. Used for evaluation of some source terms.

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

The source data to update. When all source terms are added to this buffer, it is applied to the state.

public subroutine atl_init_maxwell_2d_sourceTerms(possVars, eval_source)

init source terms for electrodynamic simulations.

Read more…

Arguments

Type IntentOptional Attributes Name
type(tem_possible_variable_type), intent(out) :: possVars
type(atl_eqn_sourceMap_type), intent(out), allocatable :: eval_source(:)

private subroutine eval_currentDensity_2d(rhs, source, state, constants)

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(inout) :: rhs(:,:)

The Right Hand side to be updated

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

The source data to be used

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

The state in the modal form

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

the constants required for the evaluation of source

private subroutine eval_pml_2d(rhs, source, state, constants)

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(inout) :: rhs(:,:)

The Right Hand side to be updated

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

The source data to be used

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

The state in the modal form

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

the constants required for the evaluation of source

private subroutine eval_source_pml_2d(fun, varSys, time, mesh, poly_proj, currentLevel, state, material, sourcedata)

evaluate "pml" source (uniaxial PML)

Read more…

Arguments

Type IntentOptional Attributes Name
class(atl_source_op_type), intent(in) :: fun

Description of method to update source

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

variable system

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

Point in time at which to evaluate the variable.

type(atl_cube_elem_type), intent(in) :: mesh

Current level mesh information

type(ply_poly_project_type), intent(inout) :: poly_proj

Parameters for projection

integer, intent(in) :: currentLevel

current level

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

The state in modal space. This is needed for several source terms that have to be applied to the current state

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

Material description for the complete domain. Used for evaluation of some source terms.

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

The source data to update. When all source terms are added to this buffer, it is applied to the state.