atl_statedata_type Derived Type

type, public :: atl_statedata_type

This data type shares some properties with cube_container_type type like the number of elements on this refinement level of a cell type.


Inherits

type~~atl_statedata_type~~InheritsGraph type~atl_statedata_type atl_statedata_type tem_time_type tem_time_type type~atl_statedata_type->tem_time_type local_time

Inherited by

type~~atl_statedata_type~~InheritedByGraph type~atl_statedata_type atl_statedata_type type~atl_cube_container_type atl_cube_container_type type~atl_cube_container_type->type~atl_statedata_type statedata_list, statedata_stab_list type~atl_timestep_type atl_timestep_type type~atl_timestep_type->type~atl_statedata_type timestepData type~atl_varsys_solverdata_type atl_varSys_solverData_type type~atl_varsys_solverdata_type->type~atl_statedata_type statedata_listPtr type~atl_element_container_type atl_element_container_type type~atl_element_container_type->type~atl_cube_container_type cubes type~atl_global_timestep_type atl_global_timestep_type type~atl_element_container_type->type~atl_global_timestep_type time type~atl_global_timestep_type->type~atl_timestep_type elementSteps type~atl_varsys_data_type atl_varSys_data_type type~atl_varsys_data_type->type~atl_varsys_solverdata_type solverData

Components

Type Visibility Attributes Name Initial
type(tem_time_type), public :: local_time

Local time of this kernel

real(kind=rk), public :: local_output_time

Local output time of this kernel

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

State collects the states of the variables of our simulation. So the dimension of this array is as follows: The first dimension is the number of elements. If we assume that our atl_kerneldata_type variable is located inside cube_container_type%state_list(index) then the number of elements is given by cube_container_type%mesh_list(index)%descriptor%nElems_fluid + cube_container_type%mesh_list(index)%descriptor%nElems_ghostFromCoarser + cube_container_type%mesh_list(index)%descriptor%nElems_ghostFromFiner + cube_container_type%mesh_list(index)%descriptor%nElems_halo . The second dimension is the number of degree of freedoms. This information is stored in side atl_kerneldata_type%scheme%nDoFs and no where else, since p-adaptivity might change the number of degrees of freedoms for other parts of the mesh. The third dimension is the number of variables we have to simulate for our equation(s). It is stored inside Equations_type%nScalars.