Initialize Musubi data strucutres based on data provided by Treelm
Load the mesh and boundary conditions for this process from disk. Get the level-wise treeID lists and create the required ghost and halo elements.
This is achieved by a two-folded identification of elements.
-# the theoretically required elements are collected based on mus_scheme_layout_type stencil information The tem_find_allElements routine performs this task for compute fluid elements. For boundaries which require information from neighbor elements, these required tem_topology_module "treeIDs" are collected into the mus_bc_header_module "boundary element type"
After this routine, all data structures for starting the main loop of the solver are allocated and ready.
Only difference between this routine and mus_construct is then creating of boundary elements and its stencil are omitted for harvesting
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(mus_scheme_type), | intent(inout) | :: | scheme |
scheme information including fluid, boundary and flow information |
||
| type(mus_geom_type), | intent(inout) | :: | geometry |
geometric information |
||
| type(mus_param_type), | intent(inout) | :: | params |
run-time Parameters |