tem_load_internal Subroutine

public subroutine tem_load_internal(me, conf, thandle, myPart, nParts, comm)

Load an internally generated mesh

The predefined meshes are illustrated in the following configuration snippet:

 -- use the predefined full cube
 mesh = { predefined = 'cube',
          -- for a single element in Z-direction use slice:
          -- predefined = 'slice',

          -- for just a line (single element in Y and Z) use line:
          -- predefined = 'line',
          -- If you set the refinementLevel to 0, a single element will
          -- be created with treeID=1 on level 1, with the bounding cube
          -- redefined such, that the element fills the original
          -- specification for the bounding cube.
          -- The line can also be generated with an arbitrary number of
          -- elements instead of a level. In this case the length refers
          -- to the overall length of the given elements not the extent of
          -- the cube. Periodicity is assumed in X direction as well.
          -- To create the line with a certain number of elements set the
          -- element_count instead of the refinementLevel. If both are
          -- given, the element_count overrules the refinementLevel.

          -- for a line with boundary conditions line_bounded:
          -- predefined = 'line_bounded'
          -- Like line, but needs to have `element_count` given, not
          -- `refinementLevel`. This mesh defines boundary conditions in the
          -- X direction as west (on the left) and east (on the right), that
          -- then need to be defined in the solver configuration.
 -- origin of the cube
 origin = {0.,0.,0.},
 -- length of the cube
 length = 10.,
 -- refinement level to resolve the cube
 refinementLevel = 4 }

Arguments

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

Structure to load the mesh to

type(flu_State) :: conf

Directory containing the mesh informations

integer, intent(in) :: thandle

Handle for the table to read the description of the mesh from.

integer, intent(in) :: myPart

Partition to use on the calling process (= MPI Rank in comm)

integer, intent(in) :: nParts

Number of partitions, the mesh is partitioned into (= Number of MPI processes in comm).

integer, intent(in) :: comm

MPI Communicator to use


Calls

proc~~tem_load_internal~~CallsGraph proc~tem_load_internal tem_load_internal proc~generate_treelm_elements generate_treelm_elements proc~tem_load_internal->proc~generate_treelm_elements proc~generate_treelm_slice generate_treelm_slice proc~tem_load_internal->proc~generate_treelm_slice proc~aot_table_close aot_table_close proc~tem_load_internal->proc~aot_table_close interface~aot_get_val~2 aot_get_val proc~tem_load_internal->interface~aot_get_val~2 proc~generate_treelm_line generate_treelm_line proc~tem_load_internal->proc~generate_treelm_line proc~generate_treelm_single generate_treelm_single proc~tem_load_internal->proc~generate_treelm_single proc~aot_table_length aot_table_length proc~tem_load_internal->proc~aot_table_length proc~aot_table_open aot_table_open proc~tem_load_internal->proc~aot_table_open proc~generate_treelm_cube generate_treelm_cube proc~tem_load_internal->proc~generate_treelm_cube proc~tem_abort tem_abort proc~tem_load_internal->proc~tem_abort proc~tem_firstidatlevel tem_FirstIdAtLevel proc~generate_treelm_elements->proc~tem_firstidatlevel proc~tem_idofcoord tem_IdOfCoord proc~generate_treelm_elements->proc~tem_idofcoord proc~generate_treelm_slice->proc~tem_firstidatlevel proc~tem_coordof_2d_id tem_CoordOf_2d_Id proc~generate_treelm_slice->proc~tem_coordof_2d_id proc~generate_treelm_slice->proc~tem_idofcoord proc~generate_treelm_line->proc~tem_firstidatlevel proc~generate_treelm_line->proc~tem_idofcoord proc~generate_treelm_cube->proc~tem_firstidatlevel proc~tem_lastidatlevel tem_LastIdAtLevel proc~generate_treelm_cube->proc~tem_lastidatlevel mpi_abort mpi_abort proc~tem_abort->mpi_abort

Called by

proc~~tem_load_internal~~CalledByGraph proc~tem_load_internal tem_load_internal proc~load_tem load_tem proc~load_tem->proc~tem_load_internal 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
character(len=40), private :: meshtype
real(kind=rk), private :: origin(3)
real(kind=rk), private :: length
integer, private :: elementcount
integer, private :: level
integer, private :: sub_handle
integer, private :: iError
integer, private :: i
integer, private :: orig_err(3)