atl_update_sourcedata Subroutine

public subroutine atl_update_sourcedata(equation, time, mesh, poly_proj, currentLevel, state, material, source, scheme)

source terms

Todo

PV 20150925 The call above gives the material value for the first point of the first element to evaluate the source term. As this is not necessarily the correct value, we thought about handing over the whole material_dat. Out of luck, this is not necessary to get material up and running, so I didn't do it yet.

Arguments

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

The equation with source term data

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

current time

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

Current level mesh information

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

The projection used for update the source terms for.

integer, intent(in) :: currentLevel

The current Level

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

state vector (sources may depend on the state)

type(atl_material_type), intent(inout) :: material

The material description.

type(atl_source_type), intent(inout) :: source

sources for this level

type(atl_scheme_type), intent(in) :: scheme

The scheme you update the source terms for.