This subroutine creates a new mesh in treelmesh format from a global and a sub tree and dumps it to disc in treelmesh format (needed for tracking in harvester format where the mesh has to be dumped to disc)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(tem_subTree_type), | intent(in) | :: | me | subTree to dump to disk  | 
||
| type(treelmesh_type), | intent(in) | :: | globalTree | the global tree  | 
||
| logical, | intent(in), | optional | :: | root_only | root dump global mesh when true and all process dump its own mesh when false  | 
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(treelmesh_type), | private | :: | local_tree | ||||
| integer, | private | :: | iElem |