atl_source_op_type Derived Type

type, public :: atl_source_op_type

Description contains list of elements on which source is active and function pointer to update source


Components

Type Visibility Attributes Name Initial
integer, public :: srcTerm_varPos

Position of this source term variable in the variable system

integer, public :: data_varPos

Position of data variable usally st-fun provided in config file in the varSys

type(atl_source_elems_type), public, allocatable :: elems(:)

Contains levelwise information about the elements affected by the source

logical, public :: isPermanent = .false.

True for permanent sources, active on global domain so no need to initialize source elems array.

real(kind=rk), public, allocatable :: val(:,:,:)

SourceData to be stored for a particular level buffer for evaluated source terms (contribution to the right hand side of the PDE)

procedure(atl_update_source), public, pointer :: updateSrc => null()

Function to update state with source term