Neko 1.99.3
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
dofmap::dofmap_t Type Reference
Collaboration diagram for dofmap::dofmap_t:

Public Member Functions

procedure, pass(thisinit (this, msh, xh)
 Constructor.
 
procedure, pass(thisfree (this)
 Destructor.
 
procedure, pass(thissize (this)
 Return the local number of degrees of freedom, lx*ly*lz*nelv.
 
procedure, pass(thissubset_by_mask (this, other, mask)
 Initialize a new dofmap based on a mask.
 
procedure, pass(thisglobal_size (this)
 Return the global number of degrees of freedom, lx*ly*lz*glb_nelv.
 

Public Attributes

integer(kind=i8), dimension(:,:,:,:), allocatable dof
 Mapping to unique dof.
 
logical, dimension(:,:,:,:), allocatable shared_dof
 True if the dof is shared.
 
real(kind=rp), dimension(:,:,:,:), allocatable x
 Mapping to x-coordinates.
 
real(kind=rp), dimension(:,:,:,:), allocatable y
 Mapping to y-coordinates.
 
real(kind=rp), dimension(:,:,:,:), allocatable z
 Mapping to z-coordinates.
 
type(mesh_t), pointer msh
 
type(mesh_t), allocatable msh_subset
 
type(space_t), pointer xh
 
type(c_ptr) x_d = C_NULL_PTR
 
type(c_ptr) y_d = C_NULL_PTR
 
type(c_ptr) z_d = C_NULL_PTR
 

Private Attributes

integer, private ntot
 Local number of dofs.
 

Detailed Description

Definition at line 55 of file dofmap.f90.

Member Function/Subroutine Documentation

◆ free()

procedure, pass(this) dofmap::dofmap_t::free ( class(dofmap_t), intent(inout this)

Definition at line 78 of file dofmap.f90.

◆ global_size()

procedure, pass(this) dofmap::dofmap_t::global_size ( class(dofmap_t), intent(in this)

Definition at line 84 of file dofmap.f90.

◆ init()

procedure, pass(this) dofmap::dofmap_t::init ( class(dofmap_t this,
type(mesh_t), intent(inout), target  msh,
type(space_t), intent(inout), target  xh 
)
Parameters
mshThe mesh.
XhThe SEM function space.

Definition at line 76 of file dofmap.f90.

◆ size()

procedure, pass(this) dofmap::dofmap_t::size ( class(dofmap_t), intent(in this)

Definition at line 80 of file dofmap.f90.

◆ subset_by_mask()

procedure, pass(this) dofmap::dofmap_t::subset_by_mask ( class(dofmap_t), intent(inout this,
class(dofmap_t), intent(inout other,
type(mask_t), intent(in mask 
)
Note
Assumes that all points in an element are marked in by the mask.
Parameters
otherThe new dofmap to be initialized.
maskthe mask type defining the elements to be included.

Definition at line 82 of file dofmap.f90.

Member Data Documentation

◆ dof

integer(kind=i8), dimension(:,:,:,:), allocatable dofmap::dofmap_t::dof

Definition at line 56 of file dofmap.f90.

◆ msh

type(mesh_t), pointer dofmap::dofmap_t::msh

Definition at line 63 of file dofmap.f90.

◆ msh_subset

type(mesh_t), allocatable dofmap::dofmap_t::msh_subset

Definition at line 64 of file dofmap.f90.

◆ ntot

integer, private dofmap::dofmap_t::ntot
private

Definition at line 61 of file dofmap.f90.

◆ shared_dof

logical, dimension(:,:,:,:), allocatable dofmap::dofmap_t::shared_dof

Definition at line 57 of file dofmap.f90.

◆ x

real(kind=rp), dimension(:,:,:,:), allocatable dofmap::dofmap_t::x

Definition at line 58 of file dofmap.f90.

◆ x_d

type(c_ptr) dofmap::dofmap_t::x_d = C_NULL_PTR

Definition at line 70 of file dofmap.f90.

◆ xh

type(space_t), pointer dofmap::dofmap_t::xh

Definition at line 65 of file dofmap.f90.

◆ y

real(kind=rp), dimension(:,:,:,:), allocatable dofmap::dofmap_t::y

Definition at line 59 of file dofmap.f90.

◆ y_d

type(c_ptr) dofmap::dofmap_t::y_d = C_NULL_PTR

Definition at line 71 of file dofmap.f90.

◆ z

real(kind=rp), dimension(:,:,:,:), allocatable dofmap::dofmap_t::z

Definition at line 60 of file dofmap.f90.

◆ z_d

type(c_ptr) dofmap::dofmap_t::z_d = C_NULL_PTR

Definition at line 72 of file dofmap.f90.


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