elements_t Derived Type

type, public :: elements_t


Inherits

type~~elements_t~~InheritsGraph type~elements_t elements_t type~coord_t coord_t type~elements_t->type~coord_t norm, NeighCenter, centTOface, centTOfaceN, center

Inherited by

type~~elements_t~~InheritedByGraph type~elements_t elements_t type~mesh2d_prop_t mesh2D_prop_t type~mesh2d_prop_t->type~elements_t elem type~mesh2d_t mesh2D_t type~mesh2d_t->type~mesh2d_prop_t M2D_Prop

Components

Type Visibility Attributes Name Initial
integer, public :: nod(3)

Node indices defining a given element

integer, public :: Neigh(3)

Neighbor indices of a given element (3rd element = zero if only 2 neighbors)

real(kind=dp), public :: face(3)

Lengths of the 3 faces of the element (consistent with the sorting of neighbors)

real(kind=dp), public :: Delta(3)

Distance normal to the face from the cell center (consistent with the sorting of neighbors)

real(kind=dp), public :: DeltaNeigh(3)

Distance normal to the face from the cell center of the associated neighbor (consistent with the sorting of neighbors)

type(coord_t), public :: norm(3)

Unit outgoing normales at the level of the 3 faces (consistent with the sorting of neighbors)

type(coord_t), public :: NeighCenter(3)

Coordinates of the center of each neighbor cell (consistent with the sorting of neighbors)

type(coord_t), public :: centTOface(3)

Vector from the center of the element to the face center (consistent with the sorting of neighbors)

type(coord_t), public :: centTOfaceN(3)

Vector from the center of the neighbor to the face center (consistent with the sorting of neighbors)

character(len=50), public :: PhysN(3)

Physical group associated to each of the 2 or 3 neighbors (domain) OR 1 boundary (consistent with the sorting of neighbors)

character(len=50), public :: PhysE

Physical group associated to the element (as a domain)

integer, public :: PhysIdxE

Physical group index associated to the element (as a domain)

type(coord_t), public :: center

Coordinates of the center of the cell

integer, public :: NbNeigh

Number of neighbors for a given element

real(kind=dp), public :: surface

Surface of a given element


Source Code

    type elements_t
      integer :: nod(3)                !! Node indices defining a given element
      integer :: Neigh(3)              !! Neighbor indices of a given element (3rd element = zero if only 2 neighbors)
      real(kind=dp) :: face(3)         !! Lengths of the 3 faces of the element (consistent with the sorting of neighbors)
      real(kind=dp) :: Delta(3)        !! Distance normal to the face from the cell center (consistent with the sorting of neighbors)
      real(kind=dp) :: DeltaNeigh(3)   !! Distance normal to the face from the cell center of the associated neighbor (consistent with the sorting of neighbors)
      type(coord_t) :: norm(3)         !! Unit outgoing normales at the level of the 3 faces (consistent with the sorting of neighbors)
      type(coord_t) :: NeighCenter(3)  !! Coordinates of the center of each neighbor cell (consistent with the sorting of neighbors)
      type(coord_t) :: centTOface(3)   !! Vector from the center of the element to the face center (consistent with the sorting of neighbors)
      type(coord_t) :: centTOfaceN(3)  !! Vector from the center of the neighbor to the face center (consistent with the sorting of neighbors)
      character(len=50) :: PhysN(3)    !! Physical group associated to each of the 2 or 3 neighbors (domain) OR 1 boundary (consistent with the sorting of neighbors)
      character(len=50) :: PhysE                  !! Physical group associated to the element (as a domain)
      integer :: PhysIdxE                         !! Physical group index associated to the element (as a domain)
      type(coord_t) :: center                     !! Coordinates of the center of the cell
      integer :: NbNeigh                          !! Number of neighbors for a given element
      real(kind=dp) :: surface                    !! Surface of a given element
    end type elements_t