ESMF_MeshMod Module



Variables

Type Visibility Attributes Name Initial
character(len=*), private, parameter :: version = '$Id$'
integer, public, parameter :: ESMF_MESHELEMTYPE_HEX = 12
integer, public, parameter :: ESMF_MESHELEMTYPE_QUAD = 4
integer, public, parameter :: ESMF_MESHELEMTYPE_TETRA = 10
integer, public, parameter :: ESMF_MESHELEMTYPE_TRI = 3
type(ESMF_MeshLoc), public, parameter :: ESMF_MESHLOC_ELEMENT = ESMF_MeshLoc(1)
type(ESMF_MeshLoc), public, parameter :: ESMF_MESHLOC_NODE = ESMF_MeshLoc(0)
type(ESMF_MeshLoc), private, parameter :: ESMF_MESHLOC_NONE = ESMF_MeshLoc(2)
type(ESMF_MeshStatus_Flag), public, parameter :: ESMF_MESHSTATUS_COMPLETE = ESMF_MeshStatus_Flag(4)
type(ESMF_MeshStatus_Flag), public, parameter :: ESMF_MESHSTATUS_EMPTY = ESMF_MeshStatus_Flag(1)
type(ESMF_MeshStatus_Flag), public, parameter :: ESMF_MESHSTATUS_NODESADDED = ESMF_MeshStatus_Flag(3)
type(ESMF_MeshStatus_Flag), public, parameter :: ESMF_MESHSTATUS_STRUCTCREATED = ESMF_MeshStatus_Flag(2)
type(ESMF_MeshStatus_Flag), public, parameter :: ESMF_MESHSTATUS_UNINIT = ESMF_MeshStatus_Flag(0)

Interfaces

interface

  • private subroutine C_ESMC_MeshSetElemDistGrid(mesh, distgrid, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(*) :: mesh
    type(ESMF_DistGrid) :: distgrid
    integer :: rc

public interface ESMF_MeshCreate

  • private function ESMF_MeshCreate3Part(parametricDim, spatialDim, coordSys, name, rc)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: parametricDim
    integer, intent(in) :: spatialDim
    type(ESMF_CoordSys_Flag), intent(in), optional :: coordSys
    character(len=*), intent(in), optional :: name
    integer, intent(out), optional :: rc

    Return Value type(ESMF_Mesh)

  • private function ESMF_MeshCreate1Part(parametricDim, spatialDim, nodeIds, nodeCoords, nodeOwners, nodeMask, nodalDistgrid, elementIds, elementTypes, elementConn, elementMask, elementArea, elementCoords, elementDistgrid, coordSys, name, rc)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: parametricDim
    integer, intent(in) :: spatialDim
    integer, intent(in) :: nodeIds(:)
    real(kind=ESMF_KIND_R8), intent(in) :: nodeCoords(:)
    integer, intent(in), optional :: nodeOwners(:)
    integer, intent(in), optional :: nodeMask(:)
    type(ESMF_DistGrid), intent(in), optional :: nodalDistgrid
    integer, intent(in) :: elementIds(:)
    integer, intent(in) :: elementTypes(:)
    integer, intent(in) :: elementConn(:)
    integer, intent(in), optional :: elementMask(:)
    real(kind=ESMF_KIND_R8), intent(in), optional :: elementArea(:)
    real(kind=ESMF_KIND_R8), intent(in), optional :: elementCoords(:)
    type(ESMF_DistGrid), intent(in), optional :: elementDistgrid
    type(ESMF_CoordSys_Flag), intent(in), optional :: coordSys
    character(len=*), intent(in), optional :: name
    integer, intent(out), optional :: rc

    Return Value type(ESMF_Mesh)

  • private function ESMF_MeshCreateFromPointer(mesh_pointer, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_Pointer), intent(in) :: mesh_pointer
    integer, intent(out), optional :: rc

    Return Value type(ESMF_Mesh)

  • private function ESMF_MeshCreateFromFile(filename, fileformat, keywordEnforcer, convertToDual, addUserArea, maskFlag, varname, nodalDistgrid, elementDistgrid, coordSys, name, rc)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: filename
    type(ESMF_FileFormat_Flag), intent(in) :: fileformat
    type(ESMF_KeywordEnforcer), optional :: keywordEnforcer
    logical, intent(in), optional :: convertToDual
    logical, intent(in), optional :: addUserArea
    type(ESMF_MeshLoc), intent(in), optional :: maskFlag
    character(len=*), intent(in), optional :: varname
    type(ESMF_DistGrid), intent(in), optional :: nodalDistgrid
    type(ESMF_DistGrid), intent(in), optional :: elementDistgrid
    type(ESMF_CoordSys_Flag), intent(in), optional :: coordSys
    character(len=*), intent(in), optional :: name
    integer, intent(out), optional :: rc

    Return Value type(ESMF_Mesh)

  • private function ESMF_MeshCreateFromDG(distgrid, nodalDistgrid, parametricDim, spatialDim, coordSys, name, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_DistGrid), intent(in) :: distgrid
    type(ESMF_DistGrid), intent(in), optional :: nodalDistgrid
    integer, intent(in), optional :: parametricDim
    integer, intent(in), optional :: spatialDim
    type(ESMF_CoordSys_Flag), intent(in), optional :: coordSys
    character(len=*), intent(in), optional :: name
    integer, intent(out), optional :: rc

    Return Value type(ESMF_Mesh)

  • private function ESMF_MeshCreateFromMeshes(MeshA, MeshB, MeshOp, areaThreshold, name, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_Mesh), intent(in) :: MeshA
    type(ESMF_Mesh), intent(in) :: MeshB
    type(ESMF_MeshOp_Flag), intent(in) :: MeshOp
    real(kind=ESMF_KIND_R8), intent(in), optional :: areaThreshold
    character(len=*), intent(in), optional :: name
    integer, intent(out), optional :: rc

    Return Value type(ESMF_Mesh)

  • private function ESMF_MeshCreateRedist(mesh, keywordEnforcer, nodalDistgrid, elementDistgrid, vm, name, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_Mesh), intent(in) :: mesh
    type(ESMF_KeywordEnforcer), optional :: keywordEnforcer
    type(ESMF_DistGrid), intent(in), optional :: nodalDistgrid
    type(ESMF_DistGrid), intent(in), optional :: elementDistgrid
    type(ESMF_VM), intent(in), optional :: vm
    character(len=*), intent(in), optional :: name
    integer, intent(out), optional :: rc

    Return Value type(ESMF_Mesh)

  • private function ESMF_MeshCreateEasyElemsGen(parametricDim, coordSys, elementIds, elementTypes, elementCornerCoords, elementMask, elementArea, elementCoords, elementDistgrid, rc)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: parametricDim
    type(ESMF_CoordSys_Flag), intent(in), optional :: coordSys
    integer, intent(in), optional :: elementIds(:)
    integer, intent(in) :: elementTypes(:)
    real(kind=ESMF_KIND_R8), intent(in) :: elementCornerCoords(:,:)
    integer, intent(in), optional :: elementMask(:)
    real(kind=ESMF_KIND_R8), intent(in), optional :: elementArea(:)
    real(kind=ESMF_KIND_R8), intent(in), optional :: elementCoords(:,:)
    type(ESMF_DistGrid), intent(in), optional :: elementDistgrid
    integer, intent(out), optional :: rc

    Return Value type(ESMF_Mesh)

  • private function ESMF_MeshCreateEasyElems1Type(parametricDim, coordSys, elementIds, elementType, elementCornerCoords, elementMask, elementArea, elementCoords, elementDistgrid, rc)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: parametricDim
    type(ESMF_CoordSys_Flag), intent(in), optional :: coordSys
    integer, intent(in), optional :: elementIds(:)
    integer, intent(in) :: elementType
    real(kind=ESMF_KIND_R8), intent(in) :: elementCornerCoords(:,:,:)
    integer, intent(in), optional :: elementMask(:)
    real(kind=ESMF_KIND_R8), intent(in), optional :: elementArea(:)
    real(kind=ESMF_KIND_R8), intent(in), optional :: elementCoords(:,:)
    type(ESMF_DistGrid), intent(in), optional :: elementDistgrid
    integer, intent(out), optional :: rc

    Return Value type(ESMF_Mesh)

  • private function ESMF_MeshCreateFromGrid(grid, name, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_Grid), intent(in) :: grid
    character(len=*), intent(in), optional :: name
    integer, intent(out), optional :: rc

    Return Value type(ESMF_Mesh)

private interface assignment (=)

  • private subroutine ESMF_MeshLocToInt(lhsInt, rhsMeshLoc)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(out) :: lhsInt
    type(ESMF_MeshLoc), intent(in) :: rhsMeshLoc
  • private subroutine ESMF_IntToMeshLoc(lhsMeshLoc, rhsInt)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_MeshLoc), intent(out) :: lhsMeshLoc
    integer, intent(in) :: rhsInt

private interface operator (/=)

private interface operator (/=)

private interface operator (==)

  • private impure elemental function ESMF_MeshLocEqual(MeshLoc1, MeshLoc2)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_MeshLoc), intent(in) :: MeshLoc1
    type(ESMF_MeshLoc), intent(in) :: MeshLoc2

    Return Value logical

private interface operator (==)

public interface operator(/=)

  • private impure elemental function ESMF_MeshNE(mesh1, mesh2)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_Mesh), intent(in) :: mesh1
    type(ESMF_Mesh), intent(in) :: mesh2

    Return Value logical

public interface operator(==)

  • private impure elemental function ESMF_MeshEQ(mesh1, mesh2)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_Mesh), intent(in) :: mesh1
    type(ESMF_Mesh), intent(in) :: mesh2

    Return Value logical


Derived Types

type, public, sequence  ::  ESMF_Mesh

Components

Type Visibility Attributes Name Initial
integer(kind=ESMF_KIND_I8), public :: isInit = 76838410
type(ESMF_Pointer), public :: this

type, private, sequence  ::  ESMF_MeshElement

Components

Type Visibility Attributes Name Initial
integer, public :: meshelement

type, public, sequence  ::  ESMF_MeshLoc

Components

Type Visibility Attributes Name Initial
integer, public :: meshloc

type, public, sequence  ::  ESMF_MeshStatus_Flag

Components

Type Visibility Attributes Name Initial
integer, public :: meshstatus

Functions

public function ESMF_MeshGetInit(mesh)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(in), optional :: mesh

Return Value integer(kind=ESMF_KIND_I8)

private impure elemental function ESMF_MeshEQ(mesh1, mesh2)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(in) :: mesh1
type(ESMF_Mesh), intent(in) :: mesh2

Return Value logical

public function ESMF_MeshIsCreated(mesh, keywordEnforcer, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(in) :: mesh
type(ESMF_KeywordEnforcer), optional :: keywordEnforcer
integer, intent(out), optional :: rc

Return Value logical

private impure elemental function ESMF_MeshLocEqual(MeshLoc1, MeshLoc2)

Arguments

Type IntentOptional Attributes Name
type(ESMF_MeshLoc), intent(in) :: MeshLoc1
type(ESMF_MeshLoc), intent(in) :: MeshLoc2

Return Value logical

private function ESMF_MeshLocNotEqual(MeshLoc1, MeshLoc2)

Arguments

Type IntentOptional Attributes Name
type(ESMF_MeshLoc), intent(in) :: MeshLoc1
type(ESMF_MeshLoc), intent(in) :: MeshLoc2

Return Value logical

public function ESMF_MeshMatch(mesh1, mesh2, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(in) :: mesh1
type(ESMF_Mesh), intent(in) :: mesh2
integer, intent(out), optional :: rc

Return Value logical

private impure elemental function ESMF_MeshNE(mesh1, mesh2)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(in) :: mesh1
type(ESMF_Mesh), intent(in) :: mesh2

Return Value logical

private function ESMF_MeshStatusEqual(MeshStatus1, MeshStatus2)

Arguments

Type IntentOptional Attributes Name
type(ESMF_MeshStatus_Flag), intent(in) :: MeshStatus1
type(ESMF_MeshStatus_Flag), intent(in) :: MeshStatus2

Return Value logical

private function ESMF_MeshStatusNotEqual(MeshStatus1, MeshStatus2)

Arguments

Type IntentOptional Attributes Name
type(ESMF_MeshStatus_Flag), intent(in) :: MeshStatus1
type(ESMF_MeshStatus_Flag), intent(in) :: MeshStatus2

Return Value logical

private function ESMF_MeshCreate1Part(parametricDim, spatialDim, nodeIds, nodeCoords, nodeOwners, nodeMask, nodalDistgrid, elementIds, elementTypes, elementConn, elementMask, elementArea, elementCoords, elementDistgrid, coordSys, name, rc)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: parametricDim
integer, intent(in) :: spatialDim
integer, intent(in) :: nodeIds(:)
real(kind=ESMF_KIND_R8), intent(in) :: nodeCoords(:)
integer, intent(in), optional :: nodeOwners(:)
integer, intent(in), optional :: nodeMask(:)
type(ESMF_DistGrid), intent(in), optional :: nodalDistgrid
integer, intent(in) :: elementIds(:)
integer, intent(in) :: elementTypes(:)
integer, intent(in) :: elementConn(:)
integer, intent(in), optional :: elementMask(:)
real(kind=ESMF_KIND_R8), intent(in), optional :: elementArea(:)
real(kind=ESMF_KIND_R8), intent(in), optional :: elementCoords(:)
type(ESMF_DistGrid), intent(in), optional :: elementDistgrid
type(ESMF_CoordSys_Flag), intent(in), optional :: coordSys
character(len=*), intent(in), optional :: name
integer, intent(out), optional :: rc

Return Value type(ESMF_Mesh)

private function ESMF_MeshCreate3Part(parametricDim, spatialDim, coordSys, name, rc)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: parametricDim
integer, intent(in) :: spatialDim
type(ESMF_CoordSys_Flag), intent(in), optional :: coordSys
character(len=*), intent(in), optional :: name
integer, intent(out), optional :: rc

Return Value type(ESMF_Mesh)

public function ESMF_MeshCreateCubedSphere(tileSize, nx, ny, name, rc)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: tileSize
integer, intent(in) :: nx
integer, intent(in) :: ny
character(len=*), intent(in), optional :: name
integer, intent(out), optional :: rc

Return Value type(ESMF_Mesh)

public function ESMF_MeshCreateDual(mesh, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(in) :: mesh
integer, intent(out), optional :: rc

Return Value type(ESMF_Mesh)

private function ESMF_MeshCreateEasyElems1Type(parametricDim, coordSys, elementIds, elementType, elementCornerCoords, elementMask, elementArea, elementCoords, elementDistgrid, rc)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: parametricDim
type(ESMF_CoordSys_Flag), intent(in), optional :: coordSys
integer, intent(in), optional :: elementIds(:)
integer, intent(in) :: elementType
real(kind=ESMF_KIND_R8), intent(in) :: elementCornerCoords(:,:,:)
integer, intent(in), optional :: elementMask(:)
real(kind=ESMF_KIND_R8), intent(in), optional :: elementArea(:)
real(kind=ESMF_KIND_R8), intent(in), optional :: elementCoords(:,:)
type(ESMF_DistGrid), intent(in), optional :: elementDistgrid
integer, intent(out), optional :: rc

Return Value type(ESMF_Mesh)

private function ESMF_MeshCreateEasyElemsGen(parametricDim, coordSys, elementIds, elementTypes, elementCornerCoords, elementMask, elementArea, elementCoords, elementDistgrid, rc)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: parametricDim
type(ESMF_CoordSys_Flag), intent(in), optional :: coordSys
integer, intent(in), optional :: elementIds(:)
integer, intent(in) :: elementTypes(:)
real(kind=ESMF_KIND_R8), intent(in) :: elementCornerCoords(:,:)
integer, intent(in), optional :: elementMask(:)
real(kind=ESMF_KIND_R8), intent(in), optional :: elementArea(:)
real(kind=ESMF_KIND_R8), intent(in), optional :: elementCoords(:,:)
type(ESMF_DistGrid), intent(in), optional :: elementDistgrid
integer, intent(out), optional :: rc

Return Value type(ESMF_Mesh)

private function ESMF_MeshCreateFromDG(distgrid, nodalDistgrid, parametricDim, spatialDim, coordSys, name, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_DistGrid), intent(in) :: distgrid
type(ESMF_DistGrid), intent(in), optional :: nodalDistgrid
integer, intent(in), optional :: parametricDim
integer, intent(in), optional :: spatialDim
type(ESMF_CoordSys_Flag), intent(in), optional :: coordSys
character(len=*), intent(in), optional :: name
integer, intent(out), optional :: rc

Return Value type(ESMF_Mesh)

private function ESMF_MeshCreateFromFile(filename, fileformat, keywordEnforcer, convertToDual, addUserArea, maskFlag, varname, nodalDistgrid, elementDistgrid, coordSys, name, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
type(ESMF_FileFormat_Flag), intent(in) :: fileformat
type(ESMF_KeywordEnforcer), optional :: keywordEnforcer
logical, intent(in), optional :: convertToDual
logical, intent(in), optional :: addUserArea
type(ESMF_MeshLoc), intent(in), optional :: maskFlag
character(len=*), intent(in), optional :: varname
type(ESMF_DistGrid), intent(in), optional :: nodalDistgrid
type(ESMF_DistGrid), intent(in), optional :: elementDistgrid
type(ESMF_CoordSys_Flag), intent(in), optional :: coordSys
character(len=*), intent(in), optional :: name
integer, intent(out), optional :: rc

Return Value type(ESMF_Mesh)

public function ESMF_MeshCreateFromFileOld(filename, fileformat, keywordEnforcer, convertToDual, addUserArea, maskFlag, varname, nodalDistgrid, elementDistgrid, name, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
type(ESMF_FileFormat_Flag), intent(in) :: fileformat
type(ESMF_KeywordEnforcer), optional :: keywordEnforcer
logical, intent(in), optional :: convertToDual
logical, intent(in), optional :: addUserArea
type(ESMF_MeshLoc), intent(in), optional :: maskFlag
character(len=*), intent(in), optional :: varname
type(ESMF_DistGrid), intent(in), optional :: nodalDistgrid
type(ESMF_DistGrid), intent(in), optional :: elementDistgrid
character(len=*), intent(in), optional :: name
integer, intent(out), optional :: rc

Return Value type(ESMF_Mesh)

private function ESMF_MeshCreateFromGrid(grid, name, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Grid), intent(in) :: grid
character(len=*), intent(in), optional :: name
integer, intent(out), optional :: rc

Return Value type(ESMF_Mesh)

public function ESMF_MeshCreateFromIntPtr(mesh_pointer, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Pointer), intent(in) :: mesh_pointer
integer, intent(out), optional :: rc

Return Value type(ESMF_Mesh)

private function ESMF_MeshCreateFromMeshes(MeshA, MeshB, MeshOp, areaThreshold, name, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(in) :: MeshA
type(ESMF_Mesh), intent(in) :: MeshB
type(ESMF_MeshOp_Flag), intent(in) :: MeshOp
real(kind=ESMF_KIND_R8), intent(in), optional :: areaThreshold
character(len=*), intent(in), optional :: name
integer, intent(out), optional :: rc

Return Value type(ESMF_Mesh)

private function ESMF_MeshCreateFromPointer(mesh_pointer, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Pointer), intent(in) :: mesh_pointer
integer, intent(out), optional :: rc

Return Value type(ESMF_Mesh)

private function ESMF_MeshCreateFromScrip(filename, convertToDual, addUSerArea, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
logical, intent(in), optional :: convertToDual
logical, intent(in), optional :: addUSerArea
integer, intent(out), optional :: rc

Return Value type(ESMF_Mesh)

private function ESMF_MeshCreateFromUnstruct(filename, convertToDual, fileformat, meshname, addUserArea, maskFlag, varname, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
logical, intent(in), optional :: convertToDual
type(ESMF_FileFormat_Flag), intent(in), optional :: fileformat
character(len=*), intent(in), optional :: meshname
logical, intent(in), optional :: addUserArea
type(ESMF_MeshLoc), intent(in), optional :: maskFlag
character(len=*), intent(in), optional :: varname
integer, intent(out), optional :: rc

Return Value type(ESMF_Mesh)

private function ESMF_MeshCreateRedist(mesh, keywordEnforcer, nodalDistgrid, elementDistgrid, vm, name, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(in) :: mesh
type(ESMF_KeywordEnforcer), optional :: keywordEnforcer
type(ESMF_DistGrid), intent(in), optional :: nodalDistgrid
type(ESMF_DistGrid), intent(in), optional :: elementDistgrid
type(ESMF_VM), intent(in), optional :: vm
character(len=*), intent(in), optional :: name
integer, intent(out), optional :: rc

Return Value type(ESMF_Mesh)

public function ESMF_MeshDeserialize(buffer, offset, attreconflag, rc)

Arguments

Type IntentOptional Attributes Name
character(len=1), pointer, dimension(:) :: buffer
integer, intent(inout) :: offset
type(ESMF_AttReconcileFlag), intent(in), optional :: attreconflag
integer, intent(out), optional :: rc

Return Value type(ESMF_Mesh)

public function ESMF_MeshEmptyCreate(nodalDistgrid, elementdistgrid, name, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_DistGrid), intent(in), optional :: nodalDistgrid
type(ESMF_DistGrid), intent(in), optional :: elementdistgrid
character(len=*), intent(in), optional :: name
integer, intent(out), optional :: rc

Return Value type(ESMF_Mesh)


Subroutines

private subroutine ESMF_DistGridGetIds(distgrid, Ids, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_DistGrid), intent(in) :: distgrid
integer, intent(out) :: Ids(:)
integer, intent(out), optional :: rc

private subroutine ESMF_DistGridGetNumIds(distgrid, numIds, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_DistGrid), intent(in) :: distgrid
integer, intent(out) :: numIds
integer, intent(out), optional :: rc

private subroutine ESMF_IntToMeshLoc(lhsMeshLoc, rhsInt)

Arguments

Type IntentOptional Attributes Name
type(ESMF_MeshLoc), intent(out) :: lhsMeshLoc
integer, intent(in) :: rhsInt

public subroutine ESMF_MeshAddElements(mesh, elementIds, elementTypes, elementConn, elementMask, elementArea, elementCoords, elementDistgrid, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(inout) :: mesh
integer, intent(in) :: elementIds(:)
integer, intent(in) :: elementTypes(:)
integer, intent(in) :: elementConn(:)
integer, intent(in), optional :: elementMask(:)
real(kind=ESMF_KIND_R8), intent(in), optional :: elementArea(:)
real(kind=ESMF_KIND_R8), intent(in), optional :: elementCoords(:)
type(ESMF_DistGrid), intent(in), optional :: elementDistgrid
integer, intent(out), optional :: rc

public subroutine ESMF_MeshAddNodes(mesh, nodeIds, nodeCoords, nodeOwners, nodeMask, nodalDistgrid, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(inout) :: mesh
integer, intent(in) :: nodeIds(:)
real(kind=ESMF_KIND_R8), intent(in) :: nodeCoords(:)
integer, intent(in), optional :: nodeOwners(:)
integer, intent(in), optional :: nodeMask(:)
type(ESMF_DistGrid), intent(in), optional :: nodalDistgrid
integer, intent(out), optional :: rc

public subroutine ESMF_MeshDestroy(mesh, keywordEnforcer, noGarbage, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(inout) :: mesh
type(ESMF_KeywordEnforcer), optional :: keywordEnforcer
logical, intent(in), optional :: noGarbage
integer, intent(out), optional :: rc

public subroutine ESMF_MeshFindPnt(mesh, unmappedaction, pntDim, pntCount, pntList, petList, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(in) :: mesh
type(ESMF_UnmappedAction_Flag), intent(in), optional :: unmappedaction
integer, intent(in) :: pntDim
integer, intent(in) :: pntCount
real(kind=ESMF_KIND_R8), pointer :: pntList(:)
integer, pointer :: petList(:)
integer, intent(out), optional :: rc

public subroutine ESMF_MeshFreeMemory(mesh, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(inout) :: mesh
integer, intent(out), optional :: rc

public subroutine ESMF_MeshGet(mesh, parametricDim, spatialDim, nodeCount, nodeIds, nodeCoords, nodeOwners, nodeMaskIsPresent, nodeMask, elementCount, elementIds, elementTypes, elementConnCount, elementConn, elementMaskIsPresent, elementMask, elementAreaIsPresent, elementArea, elementCoordsIsPresent, elementCoords, nodalDistgridIsPresent, nodalDistgrid, elementDistgridIsPresent, elementDistgrid, numOwnedNodes, ownedNodeCoords, numOwnedElements, ownedElemCoords, elemMaskArray, elemAreaArray, isMemFreed, coordSys, status, name, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(in) :: mesh
integer, intent(out), optional :: parametricDim
integer, intent(out), optional :: spatialDim
integer, intent(out), optional :: nodeCount
integer, intent(out), optional :: nodeIds(:)
real(kind=ESMF_KIND_R8), intent(out), optional :: nodeCoords(:)
integer, intent(out), optional :: nodeOwners(:)
logical, intent(out), optional :: nodeMaskIsPresent
integer, intent(out), optional :: nodeMask(:)
integer, intent(out), optional :: elementCount
integer, intent(out), optional :: elementIds(:)
integer, intent(out), optional :: elementTypes(:)
integer, intent(out), optional :: elementConnCount
integer, intent(out), optional :: elementConn(:)
logical, intent(out), optional :: elementMaskIsPresent
integer, intent(out), optional :: elementMask(:)
logical, intent(out), optional :: elementAreaIsPresent
real(kind=ESMF_KIND_R8), intent(out), optional :: elementArea(:)
logical, intent(out), optional :: elementCoordsIsPresent
real(kind=ESMF_KIND_R8), intent(out), optional :: elementCoords(:)
logical, intent(out), optional :: nodalDistgridIsPresent
type(ESMF_DistGrid), intent(out), optional :: nodalDistgrid
logical, intent(out), optional :: elementDistgridIsPresent
type(ESMF_DistGrid), intent(out), optional :: elementDistgrid
integer, intent(out), optional :: numOwnedNodes
real(kind=ESMF_KIND_R8), intent(out), optional :: ownedNodeCoords(:)
integer, intent(out), optional :: numOwnedElements
real(kind=ESMF_KIND_R8), intent(out), optional :: ownedElemCoords(:)
type(ESMF_Array), intent(inout), optional :: elemMaskArray
type(ESMF_Array), intent(inout), optional :: elemAreaArray
logical, intent(out), optional :: isMemFreed
type(ESMF_CoordSys_Flag), intent(out), optional :: coordSys
type(ESMF_MeshStatus_Flag), intent(out), optional :: status
character(len=*), intent(out), optional :: name
integer, intent(out), optional :: rc

public subroutine ESMF_MeshGetElemArea(mesh, areaList, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(in) :: mesh
real(kind=ESMF_KIND_R8), pointer :: areaList(:)
integer, intent(out), optional :: rc

public subroutine ESMF_MeshGetElemFrac(mesh, fracList, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(in) :: mesh
real(kind=ESMF_KIND_R8), pointer :: fracList(:)
integer, intent(out), optional :: rc

public subroutine ESMF_MeshGetElemFrac2(mesh, fracList, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(in) :: mesh
real(kind=ESMF_KIND_R8), pointer :: fracList(:)
integer, intent(out), optional :: rc

public subroutine ESMF_MeshGetIntPtr(mesh, internalPtr, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(in) :: mesh
type(ESMF_Pointer), intent(out) :: internalPtr
integer, intent(out), optional :: rc

public subroutine ESMF_MeshGetMOAB(moabOn, rc)

Arguments

Type IntentOptional Attributes Name
logical, intent(out) :: moabOn
integer, intent(out), optional :: rc

private subroutine ESMF_MeshLocToInt(lhsInt, rhsMeshLoc)

Arguments

Type IntentOptional Attributes Name
integer, intent(out) :: lhsInt
type(ESMF_MeshLoc), intent(in) :: rhsMeshLoc

public subroutine ESMF_MeshSerialize(mesh, buffer, length, offset, attreconflag, inquireflag, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(inout) :: mesh
character(len=1), pointer, dimension(:) :: buffer
integer, intent(inout) :: length
integer, intent(inout) :: offset
type(ESMF_AttReconcileFlag), intent(in), optional :: attreconflag
type(ESMF_InquireFlag), intent(in), optional :: inquireflag
integer, intent(out), optional :: rc

public subroutine ESMF_MeshSet(mesh, elementMask, elementArea, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(in) :: mesh
integer, intent(in), optional :: elementMask(:)
real(kind=ESMF_KIND_R8), intent(in), optional :: elementArea(:)
integer, intent(out), optional :: rc

public subroutine ESMF_MeshSetMOAB(moabOn, rc)

Arguments

Type IntentOptional Attributes Name
logical, intent(in) :: moabOn
integer, intent(out), optional :: rc

public subroutine ESMF_MeshTurnOffCellMask(mesh, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(in) :: mesh
integer, intent(out), optional :: rc

public subroutine ESMF_MeshTurnOffNodeMask(mesh, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(in) :: mesh
integer, intent(out), optional :: rc

public subroutine ESMF_MeshTurnOnCellMask(mesh, maskValues, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(in) :: mesh
integer(kind=ESMF_KIND_I4), optional :: maskValues(:)
integer, intent(out), optional :: rc

public subroutine ESMF_MeshTurnOnNodeMask(mesh, maskValues, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(in) :: mesh
integer(kind=ESMF_KIND_I4), optional :: maskValues(:)
integer, intent(out), optional :: rc

public subroutine ESMF_MeshWrite(mesh, filename, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(in) :: mesh
character(len=*), intent(in) :: filename
integer, intent(out), optional :: rc

public subroutine ESMF_MeshWriteVTK(mesh, filename, nodeArray1, nodeArray2, nodeArray3, elemArray1, elemArray2, elemArray3, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(in) :: mesh
character(len=*), intent(in) :: filename
type(ESMF_Array), intent(in), optional :: nodeArray1
type(ESMF_Array), intent(in), optional :: nodeArray2
type(ESMF_Array), intent(in), optional :: nodeArray3
type(ESMF_Array), intent(in), optional :: elemArray1
type(ESMF_Array), intent(in), optional :: elemArray2
type(ESMF_Array), intent(in), optional :: elemArray3
integer, intent(out), optional :: rc

private subroutine sort_int(origlist, newind, unique)

Arguments

Type IntentOptional Attributes Name
integer(kind=ESMF_KIND_I4), intent(in) :: origlist(:)
integer(kind=ESMF_KIND_I4), intent(inout) :: newind(:)
integer(kind=ESMF_KIND_I4), intent(out) :: unique