public subroutine sdr_write_proto_as_restart(proto, geometry, itime, header, prefix)
Write current leaves of the prototree as treelm restart.
This routine is mainly for debugging, to allow the visualization of the
tree with harvester. The mesh will not contain any properties, instead
additional data is provided as restart.
Note that recursive output is used, to write each leaf node on its own,
this output is thus really only useful for debugging, and might take very
long for large meshes, however memory consumption should be fairly small.
Todo
SDR_write_proto_as_restart is a explicitly serial routine, deploying
its own writing to save memory. Therefore this is some code
duplication from treelmesh_module::dump_treelmesh.
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.