atl_eval_source_force_2D Subroutine

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

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.