mus_pdf_serialize Subroutine

public subroutine mus_pdf_serialize(scheme, treeID, levelPointer, varMap, nElems, buffer, minLevel, maxLevel)

Preparation of the serialize PDF data

Serialize the information from the (level-wise) state vector (scheme%state) into chunks for writing it in original treeIDlist order to disk (which is not sorted by levels, but by the space-filling curve) The data is stored like follows (e.g. varSys, 2 elements):

   Elem = 1     Elem = 2
 ---------------------------
 | stateVars | stateVars
 ---------------------------
          varSys

Arguments

TypeIntentOptionalAttributesName
type(mus_scheme_type), intent(in) :: scheme

scheme type containing the different state vectors

integer(kind=long_k), intent(in) :: treeID(nElems)

Partial treeID list

integer, intent(in) :: levelPointer(nElems)

Partial Level pointer

type(tem_varMap_type), intent(in) :: varMap

varaible map information

integer, intent(in) :: nElems

number of valid elements in this buffer

real(kind=rk), intent(inout) :: buffer(:)

Data buffer

integer :: minLevel
integer :: maxLevel

Calls

proc~~mus_pdf_serialize~~CallsGraph proc~mus_pdf_serialize mus_pdf_serialize proc~tem_levelof tem_LevelOf proc~mus_pdf_serialize->proc~tem_levelof

Called by

proc~~mus_pdf_serialize~~CalledByGraph proc~mus_pdf_serialize mus_pdf_serialize proc~mus_writerestart mus_writeRestart proc~mus_writerestart->proc~mus_pdf_serialize proc~mus_perform_dynloadbal mus_perform_dynLoadBal proc~mus_perform_dynloadbal->proc~mus_pdf_serialize proc~mus_finalize mus_finalize proc~mus_finalize->proc~mus_writerestart none~do_balance do_balance none~do_balance->proc~mus_perform_dynloadbal proc~mus_dumpdata mus_dumpData proc~mus_dumpdata->proc~mus_writerestart proc~mus_solve mus_solve proc~mus_solve->none~do_balance proc~check_flow_status check_flow_status proc~mus_solve->proc~check_flow_status program~musubi musubi program~musubi->proc~mus_finalize program~musubi->proc~mus_solve proc~check_flow_status->proc~mus_dumpdata

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: iVar
integer, private :: iElem
integer, private :: iLevel
integer, private :: iComp
integer, private :: iIndex
integer, private :: nComp
integer, private :: nScalars
integer, private :: varPos
integer, private :: nSize
integer, private :: QQ
integer, private :: elemPos