Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Write header for a snapshot
If you edit the header, don't forget to update: snapshot_write_header(),
snapshot_read_header(), doc/fileformat.md, tools/python/dat_reader.py
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Source Code
subroutine snapshot_write_header(fh,offset_tree,offset_block)use mod_forestuse mod_physicsuse mod_global_parametersuse mod_input_output_helper,only:snapshot_write_header1integer,intent(in)::fh!< File handleinteger(kind=MPI_OFFSET_KIND),intent(in)::offset_tree!< Offset of tree infointeger(kind=MPI_OFFSET_KIND),intent(in)::offset_block!< Offset of block datacall snapshot_write_header1(fh,offset_tree,offset_block,cons_wnames,&nw)end subroutine snapshot_write_header