public pure function global_cell_dims(vert_dims, periodic) result(cell_dims)
Global number of cells per direction: a periodic direction has as many
cells as vertices, any other has one less. Shared by mesh_init and
callers with only the global vertex dims (no mesh_t).
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.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.