FE-Project
Loading...
Searching...
No Matches
scale_mesh_base1d::meshbase1d Type Referenceabstract

Derived type to manage a computational mesh (base type for 1D domain) More...

Inheritance diagram for scale_mesh_base1d::meshbase1d:
scale_mesh_base::meshbase scale_mesh_linedom1d::meshlinedom1d

Public Member Functions

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)

Public Attributes

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

Derived type to manage a computational mesh (base type for 1D domain)

Definition at line 37 of file scale_mesh_base1d.F90.

Member Function/Subroutine Documentation

◆ generate()

procedure(meshbase1d_generate), deferred scale_mesh_base1d::meshbase1d::generate
pure virtual

Definition at line 49 of file scale_mesh_base1d.F90.

◆ getlocalmesh()

procedure scale_mesh_base1d::meshbase1d::getlocalmesh ( class(meshbase1d), intent(in), target this,
integer, intent(in) id,
class(localmeshbase), intent(out), pointer ptr_lcmesh )

Definition at line 50 of file scale_mesh_base1d.F90.

Member Data Documentation

◆ lcmesh_list

type(localmesh1d), dimension(:), allocatable scale_mesh_base1d::meshbase1d::lcmesh_list

Array of local meshes in each MPI process.

Definition at line 38 of file scale_mesh_base1d.F90.

38 type(LocalMesh1D), allocatable :: lcmesh_list(:) !< Array of local meshes in each MPI process

◆ refelem1d

class(elementbase1d), pointer scale_mesh_base1d::meshbase1d::refelem1d

Pointer to an object with a reference element for 1D.

Definition at line 39 of file scale_mesh_base1d.F90.

39 class(ElementBase1D), pointer :: refElem1D !< Pointer to an object with a reference element for 1D

◆ neg

integer, public scale_mesh_base1d::meshbase1d::neg

Definition at line 41 of file scale_mesh_base1d.F90.

41 integer, public :: NeG

◆ nprc

integer, public scale_mesh_base1d::meshbase1d::nprc

Definition at line 42 of file scale_mesh_base1d.F90.

42 integer, public :: Nprc

◆ xmin_gl

real(rp), public scale_mesh_base1d::meshbase1d::xmin_gl

Minimum x-coordinate of the global mesh.

Definition at line 44 of file scale_mesh_base1d.F90.

44 real(RP), public :: xmin_gl !< Minimum x-coordinate of the global mesh

◆ xmax_gl

real(rp), public scale_mesh_base1d::meshbase1d::xmax_gl

Maximum x-coordinate of the global mesh.

Definition at line 45 of file scale_mesh_base1d.F90.

45 real(RP), public :: xmax_gl !< Maximum x-coordinate of the global mesh

◆ fx

real(rp), dimension(:), allocatable, public scale_mesh_base1d::meshbase1d::fx

Definition at line 47 of file scale_mesh_base1d.F90.

47 real(RP), public, allocatable :: FX(:)

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