This data type shares some properties with cube_container_type type like the number of elements on this refinement level of a cell type.
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. |