40 real(rp),
allocatable :: pos_ev(:,:)
41 real(rp),
allocatable :: pos_en(:,:,:)
42 real(rp),
allocatable :: normal_fn(:,:,:)
44 real(rp),
allocatable :: sj(:,:)
45 real(rp),
allocatable :: j(:,:)
47 real(rp),
allocatable :: escale(:,:,:,:)
48 real(rp),
allocatable :: fscale(:,:)
50 integer,
allocatable :: etov(:,:)
51 integer,
allocatable :: etoe(:,:)
52 integer,
allocatable :: etof(:,:)
53 integer,
allocatable :: vmapm(:,:)
54 integer,
allocatable :: vmapp(:,:)
55 integer,
allocatable :: mapm(:,:)
56 integer,
allocatable :: mapp(:,:)
58 integer,
allocatable :: bctype(:,:)
59 integer,
allocatable :: mapb(:)
60 integer,
allocatable :: vmapb(:)
71 real(rp),
allocatable :: g_ij(:,:,:,:)
72 real(rp),
allocatable :: gij(:,:,:,:)
73 real(rp),
allocatable :: gsqrt(:,:)
104 use scale_prc,
only: prc_myrank
108 integer,
intent(in) :: lcdomid
110 integer,
intent(in) :: ndim
111 integer,
intent(in),
optional :: myrank
114 this%lcdomID = lcdomid
115 this%refElem => refelem
117 if (
present(myrank))
then
118 this%PRC_myrank = myrank
120 this%PRC_myrank = prc_myrank
131 logical,
intent(in) :: is_generated
134 if ( is_generated )
then
135 deallocate( this%pos_ev, this%pos_en, this%normal_fn )
136 deallocate( this%sJ, this%J )
138 deallocate( this%Escale, this%Fscale )
140 deallocate( this%EToV, this%EToE, this%EToF )
142 if (
allocated(this%VMapM) )
then
143 deallocate( this%VMapM, this%VMapP, this%MapM, this%MapP )
145 if (
allocated(this%VMapB) )
then
146 deallocate( this%BCType )
147 deallocate( this%VMapB, this%MapB )
149 if (
allocated(this%G_ij) )
then
150 deallocate( this%G_ij, this%GIJ )
151 deallocate( this%Gsqrt )
module FElib / Element / Base
module FElib / Mesh / Local, Base
integer, parameter, public bctype_interior
integer, parameter, public bctype_shoreline
integer, parameter, public bctype_neuman
subroutine, public localmeshbase_final(this, is_generated)
Finalize an object to manage a local computational mesh.
integer, parameter, public bctype_periodic
integer, parameter, public bctype_dirchlet
subroutine, public localmeshbase_init(this, lcdomid, refelem, ndim, myrank)
Setup an object to manage a local computational mesh.
integer, parameter, public bctype_undefbc
Derived type representing an arbitrary finite element.
Derived type to manage a local computational domain (base type)