load_treelmesh Subroutine

public subroutine load_treelmesh(me, nParts)

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

Arguments

TypeIntentOptionalAttributesName
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).


Calls

proc~~load_treelmesh~~CallsGraph proc~load_treelmesh load_treelmesh proc~tem_create_endiansuffix tem_create_EndianSuffix proc~load_treelmesh->proc~tem_create_endiansuffix proc~tem_open tem_open proc~load_treelmesh->proc~tem_open mpi_allgather mpi_allgather proc~load_treelmesh->mpi_allgather mpi_file_close mpi_file_close proc~load_treelmesh->mpi_file_close mpi_file_open mpi_file_open proc~load_treelmesh->mpi_file_open mpi_type_commit mpi_type_commit proc~load_treelmesh->mpi_type_commit mpi_file_read_all mpi_file_read_all proc~load_treelmesh->mpi_file_read_all mpi_bcast mpi_bcast proc~load_treelmesh->mpi_bcast mpi_type_size mpi_type_size proc~load_treelmesh->mpi_type_size proc~gather_property gather_property proc~load_treelmesh->proc~gather_property proc~tem_abort tem_abort proc~load_treelmesh->proc~tem_abort mpi_file_set_view mpi_file_set_view proc~load_treelmesh->mpi_file_set_view proc~check_mpi_error check_mpi_error proc~load_treelmesh->proc~check_mpi_error mpi_type_free mpi_type_free proc~load_treelmesh->mpi_type_free mpi_type_contiguous mpi_type_contiguous proc~load_treelmesh->mpi_type_contiguous proc~tem_open->proc~tem_abort proc~upper_to_lower upper_to_lower proc~tem_open->proc~upper_to_lower proc~newunit newunit proc~tem_open->proc~newunit mpi_exscan mpi_exscan proc~gather_property->mpi_exscan mpi_abort mpi_abort proc~tem_abort->mpi_abort proc~check_mpi_error->proc~tem_abort mpi_error_string mpi_error_string proc~check_mpi_error->mpi_error_string

Called by

proc~~load_treelmesh~~CalledByGraph proc~load_treelmesh load_treelmesh proc~load_tem load_tem proc~load_tem->proc~load_treelmesh proc~load_env load_env proc~load_env->proc~load_tem proc~tem_restart_readheader tem_restart_readHeader proc~tem_restart_readheader->proc~load_tem program~tem_varsys_stfunvar_test tem_varSys_stfunVar_test program~tem_varsys_stfunvar_test->proc~load_env program~tem_varsys_statevar_test tem_varSys_stateVar_test program~tem_varsys_statevar_test->proc~load_env program~tem_varsys_derivevar_test tem_varSys_deriveVar_test program~tem_varsys_derivevar_test->proc~load_env proc~check_variableoperations check_variableOperations proc~check_variableoperations->proc~load_env program~tem_variable_evaltype_test tem_variable_evaltype_test program~tem_variable_evaltype_test->proc~load_env program~tem_varsys_test tem_varSys_test program~tem_varsys_test->proc~load_env program~tem_spacetime_fun_test tem_spacetime_fun_test program~tem_spacetime_fun_test->proc~load_env proc~tem_load_restart tem_load_restart proc~tem_load_restart->proc~tem_restart_readheader program~tem_variable_extract_test tem_variable_extract_test program~tem_variable_extract_test->proc~load_env program~tem_variable_combine_test tem_variable_combine_Test program~tem_variable_combine_test->proc~load_env proc~check_serial_singlelevel_facedesc check_serial_singlelevel_faceDesc proc~check_serial_singlelevel_facedesc->proc~load_env program~tem_varsys_opvar_test tem_varSys_opVar_test program~tem_varsys_opvar_test->proc~load_env proc~check_parallel_singlelevel_facedesc check_parallel_singlelevel_faceDesc proc~check_parallel_singlelevel_facedesc->proc~load_env program~tem_face_test~3 tem_face_test program~tem_face_test~3->proc~check_parallel_singlelevel_facedesc program~tem_face_test tem_face_test program~tem_face_test->proc~check_serial_singlelevel_facedesc program~tem_logical_opertor_test tem_logical_opertor_test program~tem_logical_opertor_test->proc~check_variableoperations

Contents


Variables

TypeVisibilityAttributesNameInitial
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