treelmesh_fromList Subroutine

public subroutine treelmesh_fromList(me, tIDlist, comm, dirname)

This subroutine creates a simple mesh based on a treeID list requires the setting of me%global before hand Works on the communicator specified in me%global%comm

Arguments

TypeIntentOptionalAttributesName
type(treelmesh_type), intent(inout) :: me

Structure to load the mesh to

integer(kind=long_k), intent(in) :: tIDlist(:)

treeID list to generate the global list in the mesh from

integer, intent(in), optional :: comm

MPI Communicator to use, defaults to the one in me%global%comm if not specified

character(len=*), intent(in), optional :: dirname

Directory to store the mesh in. Is taken to be me%global%dirname if not specified


Calls

proc~~treelmesh_fromlist~~CallsGraph proc~treelmesh_fromlist treelmesh_fromList mpi_comm_rank mpi_comm_rank proc~treelmesh_fromlist->mpi_comm_rank mpi_allgather mpi_allgather proc~treelmesh_fromlist->mpi_allgather mpi_exscan mpi_exscan proc~treelmesh_fromlist->mpi_exscan mpi_comm_size mpi_comm_size proc~treelmesh_fromlist->mpi_comm_size mpi_bcast mpi_bcast proc~treelmesh_fromlist->mpi_bcast

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: commLoc
integer(kind=long_k), private :: offset
integer(kind=long_k), private :: nElems
integer, private :: iError
integer, private :: nElemsList
integer, private :: commsize
integer, private :: rank