Mesh3D_t Derived Type

type, public, extends(SEMMesh) :: Mesh3D_t


Inherits

type~~mesh3d_t~~InheritsGraph type~mesh3d_t Mesh3D_t type~semmesh SEMMesh type~mesh3d_t->type~semmesh type~domaindecomposition DomainDecomposition type~semmesh->type~domaindecomposition decomp type~domaindecomposition_t DomainDecomposition_t type~domaindecomposition->type~domaindecomposition_t

Inherited by

type~~mesh3d_t~~InheritedByGraph type~mesh3d_t Mesh3D_t type~mesh3d Mesh3D type~mesh3d->type~mesh3d_t type~mesh3d~2 Mesh3D type~mesh3d~2->type~mesh3d_t type~dgmodel3d_t DGModel3D_t type~dgmodel3d_t->type~mesh3d mesh type~dgmodel3d DGModel3D type~dgmodel3d->type~dgmodel3d_t type~dgmodel3d~2 DGModel3D type~dgmodel3d~2->type~dgmodel3d_t type~nulldgmodel3d_t NullDGModel3D_t type~nulldgmodel3d_t->type~dgmodel3d type~advection_diffusion_3d_t advection_diffusion_3d_t type~advection_diffusion_3d_t->type~dgmodel3d type~nulldgmodel3d NullDGModel3D type~nulldgmodel3d->type~nulldgmodel3d_t type~advection_diffusion_3d advection_diffusion_3d type~advection_diffusion_3d->type~advection_diffusion_3d_t type~nulldgmodel3d~2 NullDGModel3D type~nulldgmodel3d~2->type~nulldgmodel3d_t type~advection_diffusion_3d~2 advection_diffusion_3d type~advection_diffusion_3d~2->type~advection_diffusion_3d_t

Contents

Source Code


Components

TypeVisibilityAttributesNameInitial
character(len=255), public, allocatable:: BCNames(:)
integer, public, pointer, dimension(:,:):: BCType
integer, public, pointer, dimension(:,:):: CGNSCornerMap
integer, public, pointer, dimension(:,:):: CGNSSideMap
type(DomainDecomposition), public :: decomp
integer, public, pointer, dimension(:,:):: elemInfo
integer, public, pointer, dimension(:,:,:,:):: globalNodeIDs
integer, public :: nBCs
integer, public :: nCornerNodes
integer, public :: nElem
integer, public :: nGeo
integer, public :: nGlobalElem
integer, public :: nNodes
integer, public :: nSides
integer, public :: nUniqueNodes
integer, public :: nUniqueSides
real(kind=prec), public, pointer, dimension(:,:,:,:,:):: nodeCoords
integer, public :: quadrature
integer, public, pointer, dimension(:,:,:):: sideInfo
integer, public, pointer, dimension(:,:):: sideMap

Type-Bound Procedures

procedure, public :: Free => Free_Mesh3D_t

  • public subroutine Free_Mesh3D_t(this)

    Arguments

    TypeIntentOptionalAttributesName
    class(Mesh3D_t), intent(inout) :: this

procedure, public :: Init => Init_Mesh3D_t

  • public subroutine Init_Mesh3D_t(this, nGeo, nElem, nSides, nNodes, nBCs)

    Arguments

    TypeIntentOptionalAttributesName
    class(Mesh3D_t), intent(inout) :: this
    integer, intent(in) :: nGeo
    integer, intent(in) :: nElem
    integer, intent(in) :: nSides
    integer, intent(in) :: nNodes
    integer, intent(in) :: nBCs

procedure, public :: Read_HOPr => Read_HOPr_Mesh3D_t

  • public subroutine Read_HOPr_Mesh3D_t(this, meshFile)

    Arguments

    TypeIntentOptionalAttributesName
    class(Mesh3D_t), intent(out) :: this
    character, intent(in) :: meshFile

procedure, public :: RecalculateFlip => RecalculateFlip_Mesh3D_t

procedure, public :: ResetBoundaryConditionType => ResetBoundaryConditionType_Mesh3D_t

  • public subroutine ResetBoundaryConditionType_Mesh3D_t(this, bcid)

    This method can be used to reset all of the boundary elements boundary condition type to the desired value.

    Read more…

    Arguments

    TypeIntentOptionalAttributesName
    class(Mesh3D_t), intent(inout) :: this
    integer, intent(in) :: bcid

generic, public :: StructuredMesh => UniformStructuredMesh_Mesh3D_t

  • public subroutine UniformStructuredMesh_Mesh3D_t(this, nxPerTile, nyPerTile, nzPerTile, nTileX, nTileY, nTileZ, dx, dy, dz, bcids)

    Create a structured mesh and store it in SELF's unstructured mesh format. The mesh is created in tiles of size (tnx,tny,tnz). Tiling is used to determine the element ordering.

    Read more…

    Arguments

    TypeIntentOptionalAttributesName
    class(Mesh3D_t), intent(out) :: this
    integer, intent(in) :: nxPerTile
    integer, intent(in) :: nyPerTile
    integer, intent(in) :: nzPerTile
    integer, intent(in) :: nTileX
    integer, intent(in) :: nTileY
    integer, intent(in) :: nTileZ
    real(kind=prec), intent(in) :: dx
    real(kind=prec), intent(in) :: dy
    real(kind=prec), intent(in) :: dz
    integer, intent(in) :: bcids(1:6)

procedure, private :: UniformStructuredMesh_Mesh3D_t

  • public subroutine UniformStructuredMesh_Mesh3D_t(this, nxPerTile, nyPerTile, nzPerTile, nTileX, nTileY, nTileZ, dx, dy, dz, bcids)

    Create a structured mesh and store it in SELF's unstructured mesh format. The mesh is created in tiles of size (tnx,tny,tnz). Tiling is used to determine the element ordering.

    Read more…

    Arguments

    TypeIntentOptionalAttributesName
    class(Mesh3D_t), intent(out) :: this
    integer, intent(in) :: nxPerTile
    integer, intent(in) :: nyPerTile
    integer, intent(in) :: nzPerTile
    integer, intent(in) :: nTileX
    integer, intent(in) :: nTileY
    integer, intent(in) :: nTileZ
    real(kind=prec), intent(in) :: dx
    real(kind=prec), intent(in) :: dy
    real(kind=prec), intent(in) :: dz
    integer, intent(in) :: bcids(1:6)

procedure, public :: UpdateDevice => UpdateDevice_Mesh3D_t

procedure, public :: Write_Mesh => Write_Mesh3D_t

  • public subroutine Write_Mesh3D_t(this, meshFile)

    Arguments

    TypeIntentOptionalAttributesName
    class(Mesh3D_t), intent(inout) :: this
    character, intent(in) :: meshFile

Source Code

  type,extends(SEMMesh) :: Mesh3D_t
    integer,pointer,dimension(:,:,:) :: sideInfo
    real(prec),pointer,dimension(:,:,:,:,:) :: nodeCoords
    integer,pointer,dimension(:,:) :: elemInfo
    integer,pointer,dimension(:,:,:,:) :: globalNodeIDs
    integer,pointer,dimension(:,:) :: CGNSCornerMap
    integer,pointer,dimension(:,:) :: sideMap
    integer,pointer,dimension(:,:) :: CGNSSideMap
    integer,pointer,dimension(:,:) :: BCType
    character(LEN=255),allocatable :: BCNames(:)

  contains

    procedure,public :: Init => Init_Mesh3D_t
    procedure,public :: Free => Free_Mesh3D_t
    procedure,public :: UpdateDevice => UpdateDevice_Mesh3D_t

    generic,public :: StructuredMesh => UniformStructuredMesh_Mesh3D_t
    procedure,private :: UniformStructuredMesh_Mesh3D_t

    procedure,public :: Read_HOPr => Read_HOPr_Mesh3D_t

    procedure,public :: ResetBoundaryConditionType => ResetBoundaryConditionType_Mesh3D_t

    procedure,public :: Write_Mesh => Write_Mesh3D_t

    procedure,public :: RecalculateFlip => RecalculateFlip_Mesh3D_t

  endtype Mesh3D_t