m_GeneralGrid Module



Interfaces

public interface init

  • private subroutine init_(GGrid, CoordChars, CoordSortOrder, descend, WeightChars, OtherChars, IndexChars, lsize)

    Arguments

    Type IntentOptional Attributes Name
    type(GeneralGrid), intent(out) :: GGrid
    character(len=*), intent(in) :: CoordChars
    character(len=*), intent(in), optional :: CoordSortOrder
    logical, optional, dimension(:), pointer :: descend
    character(len=*), intent(in), optional :: WeightChars
    character(len=*), intent(in), optional :: OtherChars
    character(len=*), intent(in), optional :: IndexChars
    integer, intent(in), optional :: lsize
  • private subroutine initl_(GGrid, CoordList, CoordSortOrder, descend, WeightList, OtherList, IndexList, lsize)

    Arguments

    Type IntentOptional Attributes Name
    type(GeneralGrid), intent(out) :: GGrid
    type(List), intent(in) :: CoordList
    type(List), intent(in), optional :: CoordSortOrder
    logical, optional, dimension(:), pointer :: descend
    type(List), intent(in), optional :: WeightList
    type(List), intent(in), optional :: OtherList
    type(List), intent(in), optional :: IndexList
    integer, intent(in), optional :: lsize
  • private subroutine initgg_(oGGrid, iGGrid, lsize)

    Arguments

    Type IntentOptional Attributes Name
    type(GeneralGrid), intent(out) :: oGGrid
    type(GeneralGrid), intent(in) :: iGGrid
    integer, intent(in), optional :: lsize

public interface initCartesian

  • private subroutine initCartesianSP_(GGrid, CoordChars, CoordSortOrder, descend, WeightChars, OtherChars, IndexChars, Dims, AxisData)

    Arguments

    Type IntentOptional Attributes Name
    type(GeneralGrid), intent(out) :: GGrid
    character(len=*), intent(in) :: CoordChars
    character(len=*), intent(in), optional :: CoordSortOrder
    logical, optional, dimension(:), pointer :: descend
    character(len=*), intent(in), optional :: WeightChars
    character(len=*), intent(in), optional :: OtherChars
    character(len=*), intent(in), optional :: IndexChars
    integer, dimension(:), pointer :: Dims
    real(kind=SP), dimension(:,:), pointer :: AxisData
  • private subroutine initCartesianDP_(GGrid, CoordChars, CoordSortOrder, descend, WeightChars, OtherChars, IndexChars, Dims, AxisData)

    Arguments

    Type IntentOptional Attributes Name
    type(GeneralGrid), intent(out) :: GGrid
    character(len=*), intent(in) :: CoordChars
    character(len=*), intent(in), optional :: CoordSortOrder
    logical, optional, dimension(:), pointer :: descend
    character(len=*), intent(in), optional :: WeightChars
    character(len=*), intent(in), optional :: OtherChars
    character(len=*), intent(in), optional :: IndexChars
    integer, dimension(:), pointer :: Dims
    real(kind=DP), dimension(:,:), pointer :: AxisData

public interface initUnstructured

  • private subroutine initUnstructuredSP_(GGrid, CoordChars, CoordSortOrder, descend, WeightChars, OtherChars, IndexChars, nDims, nPoints, PointData)

    Arguments

    Type IntentOptional Attributes Name
    type(GeneralGrid), intent(out) :: GGrid
    character(len=*), intent(in) :: CoordChars
    character(len=*), intent(in), optional :: CoordSortOrder
    logical, optional, dimension(:), pointer :: descend
    character(len=*), intent(in), optional :: WeightChars
    character(len=*), intent(in), optional :: OtherChars
    character(len=*), intent(in), optional :: IndexChars
    integer, intent(in) :: nDims
    integer, intent(in) :: nPoints
    real(kind=SP), dimension(:), pointer :: PointData
  • private subroutine initUnstructuredDP_(GGrid, CoordChars, CoordSortOrder, descend, WeightChars, OtherChars, IndexChars, nDims, nPoints, PointData)

    Arguments

    Type IntentOptional Attributes Name
    type(GeneralGrid), intent(out) :: GGrid
    character(len=*), intent(in) :: CoordChars
    character(len=*), intent(in), optional :: CoordSortOrder
    logical, optional, dimension(:), pointer :: descend
    character(len=*), intent(in), optional :: WeightChars
    character(len=*), intent(in), optional :: OtherChars
    character(len=*), intent(in), optional :: IndexChars
    integer, intent(in) :: nDims
    integer, intent(in) :: nPoints
    real(kind=DP), dimension(:), pointer :: PointData

public interface clean

  • private subroutine clean_(GGrid, stat)

    Arguments

    Type IntentOptional Attributes Name
    type(GeneralGrid), intent(inout) :: GGrid
    integer, intent(out), optional :: stat

public interface zero

  • private subroutine zero_(GGrid, zeroReals, zeroInts)

    Arguments

    Type IntentOptional Attributes Name
    type(GeneralGrid), intent(inout) :: GGrid
    logical, intent(in), optional :: zeroReals
    logical, intent(in), optional :: zeroInts

public interface dims

  • private function dims_(GGrid)

    Arguments

    Type IntentOptional Attributes Name
    type(GeneralGrid), intent(in) :: GGrid

    Return Value integer

public interface indexIA

  • private function indexIA_(GGrid, item, perrWith, dieWith)

    Arguments

    Type IntentOptional Attributes Name
    type(GeneralGrid), intent(in) :: GGrid
    character(len=*), intent(in) :: item
    character(len=*), intent(in), optional :: perrWith
    character(len=*), intent(in), optional :: dieWith

    Return Value integer

public interface indexRA

  • private function indexRA_(GGrid, item, perrWith, dieWith)

    Arguments

    Type IntentOptional Attributes Name
    type(GeneralGrid), intent(in) :: GGrid
    character(len=*), intent(in) :: item
    character(len=*), intent(in), optional :: perrWith
    character(len=*), intent(in), optional :: dieWith

    Return Value integer

public interface lsize

  • private function lsize_(GGrid)

    Arguments

    Type IntentOptional Attributes Name
    type(GeneralGrid), intent(in) :: GGrid

    Return Value integer

public interface exportIAttr

  • private subroutine exportIAttr_(GGrid, AttrTag, outVect, lsize)

    Arguments

    Type IntentOptional Attributes Name
    type(GeneralGrid), intent(in) :: GGrid
    character(len=*), intent(in) :: AttrTag
    integer, dimension(:), pointer :: outVect
    integer, intent(out), optional :: lsize

public interface exportRAttr

  • private subroutine exportRAttrSP_(GGrid, AttrTag, outVect, lsize)

    Arguments

    Type IntentOptional Attributes Name
    type(GeneralGrid), intent(in) :: GGrid
    character(len=*), intent(in) :: AttrTag
    real(kind=SP), dimension(:), pointer :: outVect
    integer, intent(out), optional :: lsize
  • private subroutine exportRAttrDP_(GGrid, AttrTag, outVect, lsize)

    Arguments

    Type IntentOptional Attributes Name
    type(GeneralGrid), intent(in) :: GGrid
    character(len=*), intent(in) :: AttrTag
    real(kind=DP), dimension(:), pointer :: outVect
    integer, intent(out), optional :: lsize

public interface importIAttr

  • private subroutine importIAttr_(GGrid, AttrTag, inVect, lsize)

    Arguments

    Type IntentOptional Attributes Name
    type(GeneralGrid), intent(inout) :: GGrid
    character(len=*), intent(in) :: AttrTag
    integer, dimension(:), pointer :: inVect
    integer, intent(in) :: lsize

public interface importRAttr

  • private subroutine importRAttrSP_(GGrid, AttrTag, inVect, lsize)

    Arguments

    Type IntentOptional Attributes Name
    type(GeneralGrid), intent(inout) :: GGrid
    character(len=*), intent(in) :: AttrTag
    real(kind=SP), dimension(:), pointer :: inVect
    integer, intent(in) :: lsize
  • private subroutine importRAttrDP_(GGrid, AttrTag, inVect, lsize)

    Arguments

    Type IntentOptional Attributes Name
    type(GeneralGrid), intent(inout) :: GGrid
    character(len=*), intent(in) :: AttrTag
    real(kind=DP), dimension(:), pointer :: inVect
    integer, intent(in) :: lsize

public interface Sort

  • private subroutine Sort_(GGrid, key_list, perm, descend)

    Arguments

    Type IntentOptional Attributes Name
    type(GeneralGrid), intent(in) :: GGrid
    type(List), intent(in) :: key_list
    integer, dimension(:), pointer :: perm
    logical, intent(in), optional, dimension(:) :: descend

public interface Permute

  • private subroutine Permute_(GGrid, perm)

    Arguments

    Type IntentOptional Attributes Name
    type(GeneralGrid), intent(inout) :: GGrid
    integer, intent(in), dimension(:) :: perm

public interface SortPermute

  • private subroutine SortPermute_(GGrid)

    Arguments

    Type IntentOptional Attributes Name
    type(GeneralGrid), intent(inout) :: GGrid

Derived Types

type, public ::  GeneralGrid

Components

Type Visibility Attributes Name Initial
type(List), public :: coordinate_list
type(List), public :: coordinate_sort_order
logical, public, dimension(:), pointer :: descend
type(List), public :: weight_list
type(List), public :: other_list
type(List), public :: index_list
type(AttrVect), public :: data