Neko 0.9.99
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 total number of degrees of freedom, lx*ly*lz*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(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
 Total number of dofs.
 

Detailed Description

Definition at line 53 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 75 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 73 of file dofmap.f90.

◆ size()

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

Definition at line 77 of file dofmap.f90.

Member Data Documentation

◆ dof

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

Definition at line 54 of file dofmap.f90.

◆ msh

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

Definition at line 61 of file dofmap.f90.

◆ ntot

integer, private dofmap::dofmap_t::ntot
private

Definition at line 59 of file dofmap.f90.

◆ shared_dof

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

Definition at line 55 of file dofmap.f90.

◆ x

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

Definition at line 56 of file dofmap.f90.

◆ x_d

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

Definition at line 67 of file dofmap.f90.

◆ xh

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

Definition at line 62 of file dofmap.f90.

◆ y

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

Definition at line 57 of file dofmap.f90.

◆ y_d

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

Definition at line 68 of file dofmap.f90.

◆ z

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

Definition at line 58 of file dofmap.f90.

◆ z_d

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

Definition at line 69 of file dofmap.f90.


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