Go to the documentation of this file.
54 integer :: id_global = 0
59 integer :: nconnnodes = 0
63 integer :: domainid = 0
68 procedure :: insertconnnode
72 procedure :: connnodes
79 real(
rkind),
public,
target,
allocatable ::
x(:),
y(:),
z(:)
93 integer,
public ::
np = 0
96 integer,
public ::
ng = 0
99 integer,
public ::
npa = 0
116 integer,
public,
allocatable ::
iplg(:)
120 integer,
public,
allocatable ::
ipgl(:)
146 function connnodes(this, i)
149 integer,
intent(in) :: i
150 type(
t_node),
pointer :: connnodes
152 end function connnodes
158 function nodes(id_local)
160 integer,
intent(in) :: id_local
173 integer,
intent(in) :: id
180 subroutine insertconnnode(this, ind)
183 integer ,
intent(in),
optional :: ind
185 type(
t_node),
pointer :: node
189 if(
present(ind))
then
190 do i = 1, this%nConnNodes
191 node => this%connNodes(i)
192 if(node%id_global == ind)
then
197 this%nConnNodes = this%nConnNodes +1
202 this%nConnNodes = this%nConnNodes +1
204 end subroutine insertconnnode
207 function isghost(this)
209 class(
t_node),
intent(in) :: this
212 if(this%id <=
np)
then
222 if(
allocated(
x))
deallocate(
x)
223 if(
allocated(
y))
deallocate(
y)
224 if(
allocated(
z))
deallocate(
z)
227 if(
allocated(
iplg))
deallocate(
iplg)
228 if(
allocated(
ipgl))
deallocate(
ipgl)
integer, dimension(:), allocatable, public ghostgl
Ghost global to local mapping np_global long.
integer, dimension(:), allocatable, target, public pdlib_ia
integer, dimension(:), allocatable, target, public pdlib_ie_cell
integer, public maxconnnodes
max number of conntected nodes to a node
integer, dimension(:), allocatable, target, public pdlib_i_diag
integer, dimension(:), allocatable, public iplg
Node local to global mapping.
integer, public npa
number of ghost + resident nodes this partition holds
integer, dimension(:,:), allocatable, public connnodes_data
conntected Node Array.
integer, dimension(:), allocatable, target, public pdlib_ccon
integer, parameter rkind
double precision.
integer, dimension(:), allocatable, target, public pdlib_ia_p
real(rkind), dimension(:), allocatable, target, public pdlib_si
integer, public np_global
number of nodes, global
integer, dimension(:), allocatable, target, public listiplg
integer, dimension(:), allocatable, public ipgl
Node global to local mapping np_global long.
real(rkind), dimension(:), allocatable, target, public y
integer, dimension(:,:,:), allocatable, target, public pdlib_ja_ie
Has data that belong to nodes.
integer, dimension(:), allocatable, target, public pdlib_ja_p
type(t_node) function, pointer, public ghosts(id)
return pointer to the (global) (ghost) node Ghost nodes are nodes in the global node array,...
real(rkind), dimension(:), allocatable, target, public x
coordinates of the local + ghost nodes.
integer, dimension(:), allocatable, target, public pdlib_ja
real(rkind), dimension(:), allocatable, target, public pdlib_tria03
integer, dimension(:), allocatable, target, public listnpa
integer, dimension(:), allocatable, target, public pdlib_pos_cell
integer, dimension(:), allocatable, public ghostlg
Ghost local to global mapping ng long.
integer, dimension(:), allocatable, target, public listnp
integer, public np
number of nodes, local
real(rkind), dimension(:), allocatable, target, public z
real(rkind), dimension(:), allocatable, target, public pdlib_tria
integer, dimension(:,:), allocatable, target, public pdlib_posi
integer, dimension(:), allocatable, public np_perproc
Numbers of Nodes pro Processor.
type(t_node), dimension(:), allocatable, target, public nodes_global
all nodes with their data.
real(rkind), dimension(:,:), allocatable, target, public pdlib_ien
integer, dimension(:,:), allocatable, target, public pdlib_ie_cell2
integer, dimension(:,:), allocatable, target, public pdlib_pos_cell2
type(t_node) function, pointer, public nodes(id_local)
return pointer to the (global) node from the local id.
subroutine, public finalizenodepool()
integer, dimension(:), allocatable, public np_perprocsum
Number of Nodes pro Processor totalize.
integer, public pdlib_nnz
integer, public ng
number of ghost nodes this partition holds