This subroutine reads a mesh in treelm format from disk at the specified directory name.
The mesh is so small, it probably is better to read it on one process and distribute the resulting data via the network. single proc read
single proc read
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(treelmesh_type), | intent(inout) | :: | me | Structure to load the mesh to |
||
integer, | intent(in) | :: | nParts | Directory containing the mesh informations Partition to use on the calling process (= MPI Rank in comm) Number of partitions, the mesh is partitioned into (= Number of MPI processes in comm). |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | private | :: | ex | ||||
integer, | private | :: | iElem | ||||
integer, | private | :: | iProp | ||||
integer, | private | :: | fh | ||||
integer, | private | :: | etype | ||||
integer, | private | :: | ftype | ||||
integer, | private | :: | iostatus(MPI_STATUS_SIZE) | ||||
integer, | private | :: | iError | ||||
integer, | private | :: | file_rec_len | ||||
integer, | private | :: | typesize | ||||
character(len=300), | private | :: | ElemFileName | ||||
character(len=4), | private | :: | EndianSuffix | ||||
integer(kind=long_k), | private, | allocatable | :: | buffer(:) | |||
integer(kind=long_k), | private, | allocatable | :: | globbuffer(:) | |||
integer(kind=MPI_OFFSET_KIND), | private | :: | displacement |