FE-Project
Loading...
Searching...
No Matches
scale_mesh_linedom1d::meshlinedom1d Type Reference
Inheritance diagram for scale_mesh_linedom1d::meshlinedom1d:
scale_mesh_base1d::meshbase1d scale_mesh_base::meshbase

Public Member Functions

procedure init (this, neg, dom_xmin, dom_xmax, refelem, nlocalmeshperprc, nproc, myrank, fx)
 Initialize an object to manage a 1D domain.
procedure final (this)
 Finalize an object to manage a 1D domain.
procedure generate (this)
 Generate meshes for the 1D domain.
Public Member Functions inherited from scale_mesh_base1d::meshbase1d
procedure(meshbase1d_generate), deferred generate meshbase1d_generate
procedure getlocalmesh (this, id, ptr_lcmesh)
Public Member Functions inherited from scale_mesh_base::meshbase
procedure(meshbase_get_localmesh), deferred getlocalmesh meshbase_get_localmesh
procedure setdiminfo (this, dimid, name, unit, desc, positive_down)

Additional Inherited Members

Public Attributes inherited from scale_mesh_base1d::meshbase1d
type(localmesh1d), dimension(:), allocatable lcmesh_list
 Array of local meshes in each MPI process.
class(elementbase1d), pointer refelem1d
 Pointer to an object with a reference element for 1D.
integer, public neg
integer, public nprc
real(rp), public xmin_gl
 Minimum x-coordinate of the global mesh.
real(rp), public xmax_gl
 Maximum x-coordinate of the global mesh.
real(rp), dimension(:), allocatable, public fx
Public Attributes inherited from scale_mesh_base::meshbase
integer local_mesh_num
 Number of local meshes in each MPI process.
integer prc_num
 Number of MPI processes.
integer local_mesh_num_global
 Total number of local meshes across all MPI processes.
integer, dimension(:,:), allocatable tileid_globalmap
integer, dimension(:,:), allocatable tilefaceid_globalmap
integer, dimension(:,:), allocatable tilepanelid_globalmap
integer, dimension(:), allocatable tileid_global2localmap
integer, dimension(:), allocatable prcrank_globalmap
class(elementbase), pointer refelem
 Pointer to an object with a reference element.
type(meshdiminfo), dimension(:), allocatable diminfo
 Array of information for each dimension.
real(rp) dom_vol
 Total volume of the computational domain.
logical isgenerated
 Flag whether the mesh is generated.

Detailed Description

Definition at line 35 of file scale_mesh_linedom1d.F90.

Member Function/Subroutine Documentation

◆ init()

procedure scale_mesh_linedom1d::meshlinedom1d::init ( class(meshlinedom1d), intent(inout) this,
integer, intent(in) neg,
real(rp), intent(in) dom_xmin,
real(rp), intent(in) dom_xmax,
type(lineelement), intent(in), target refelem,
integer, intent(in) nlocalmeshperprc,
integer, intent(in), optional nproc,
integer, intent(in), optional myrank,
real(rp), dimension(neg+1), intent(in), optional fx )

Initialize an object to manage a 1D domain.

Parameters
[in]negTotal number of elements in the 1D domain
[in]dom_xminMinimum coordinate of the 1D domain
[in]dom_xmaxMaximum coordinate of the 1D domain
[in]refelemReference element for the 1D mesh
[in]nlocalmeshperprcNumber of local meshes managed by each process
[in]nprocTotal number of processes (if not provided, it will be determined internally)
[in]myrankRank of the current process (if not provided, it will be determined internally)
[in]fxCoordinates of the element boundaries (if not provided, they will be generated internally)

Definition at line 37 of file scale_mesh_linedom1d.F90.

◆ final()

procedure scale_mesh_linedom1d::meshlinedom1d::final ( class(meshlinedom1d), intent(inout) this)

Finalize an object to manage a 1D domain.

Definition at line 38 of file scale_mesh_linedom1d.F90.

◆ generate()

procedure scale_mesh_linedom1d::meshlinedom1d::generate ( class(meshlinedom1d), intent(inout), target this)

The documentation for this type was generated from the following file: