serializeData Subroutine

private subroutine serializeData(mesh, restart, tree, equation, chunk, iChunk, chunkdegree, chunkspace, statespace, nDims, reverse)

This subroutine serializes the given data to perform a restart.

Todo

The modal background should not be applied here, but rather later on.

Arguments

Type IntentOptional Attributes Name
type(atl_cube_container_type), intent(inout) :: mesh

Informations and states of the cubic mesh.

type(tem_restart_type), intent(inout) :: restart
type(treelmesh_type), intent(in) :: tree
type(atl_Equations_type), intent(in) :: equation

The equation system you use.

real(kind=rk), intent(inout) :: chunk(:)
integer, intent(in) :: iChunk
integer, intent(in) :: chunkdegree

Polynomial degree of the data in the IO chunk

integer, intent(in) :: chunkspace

Polynomial space of the serialized data

integer, intent(in) :: statespace

Polynomial space of the state data

integer, intent(in) :: nDims

Dimensionality of the polynomials

logical, intent(in) :: reverse

deserialize the data instead of serializing it?