cell_t Derived Type

type, public :: cell_t

Hexahedral cell data structure. Contains local geometric properties and node-based connectivity.


Components

Type Visibility Attributes Name Initial
real(kind=rk), public :: center(3) = zero
integer, public :: id = 0
integer, public :: nodes(8) = 0
real(kind=rk), public :: volume = zero

Source Code

   type :: cell_t
      integer :: id = 0            !< Unique global cell index.
      integer :: nodes(8) = 0      !< Indices of the 8 nodes defining the hex (standard Gmsh ordering).
      real(rk) :: center(3) = zero !< Coordinates (x, y, z) of the cell centroid.
      real(rk) :: volume = zero    !< Total cell volume [m^3].
   end type cell_t