CFIOCollection Derived Type

type, public :: CFIOCollection


Inherits

type~~cfiocollection~~InheritsGraph type~cfiocollection CFIOCollection ESMF_Grid ESMF_Grid type~cfiocollection->ESMF_Grid src_grid StringIntegerMap StringIntegerMap type~cfiocollection->StringIntegerMap file_ids type~esmf_cfio ESMF_CFIO type~cfiocollection->type~esmf_cfio formatter type~esmf_cfioptrvector ESMF_CFIOPtrVector type~cfiocollection->type~esmf_cfioptrvector formatters type~filemetadata FileMetadata type~cfiocollection->type~filemetadata file type~pfio_vector PFIO_Vector type~cfiocollection->type~pfio_vector files type~cnode cNode type~esmf_cfio->type~cnode cList type~esmf_cfiogrid ESMF_CFIOGrid type~esmf_cfio->type~esmf_cfiogrid grids type~esmf_cfiovarinfo ESMF_CFIOVarInfo type~esmf_cfio->type~esmf_cfiovarinfo varObjs type~inode iNode type~esmf_cfio->type~inode iList type~rnode rNode type~esmf_cfio->type~rnode rList type~v_wrapper~10 v_Wrapper type~esmf_cfioptrvector->type~v_wrapper~10 elements type~filemetadata->StringIntegerMap dimensions StringVector StringVector type~filemetadata->StringVector order type~stringvariablemap StringVariableMap type~filemetadata->type~stringvariablemap variables type~variable Variable type~filemetadata->type~variable global_var type~pfio_vector->type~filemetadata elements type~cnode->type~cnode next type~esmf_cfiovarinfo->type~cnode cList type~esmf_cfiovarinfo->type~esmf_cfiogrid grid type~esmf_cfiovarinfo->type~inode iList type~esmf_cfiovarinfo->type~rnode rList type~inode->type~inode next type~rnode->type~rnode next type~set2~13 set2 type~stringvariablemap->type~set2~13 tree type~v_wrapper~10->type~esmf_cfio item type~variable->StringVector dimensions type~stringattributemap StringAttributeMap type~variable->type~stringattributemap attributes type~unlimitedentity UnlimitedEntity type~variable->type~unlimitedentity const_value type~ivector~12 iVector type~set2~13->type~ivector~12 parents, lefts, rights, heights type~tvector~12 tVector type~set2~13->type~tvector~12 items type~set2~11 set2 type~stringattributemap->type~set2~11 tree

Inherited by

type~~cfiocollection~~InheritedByGraph type~cfiocollection CFIOCollection type~cfiocollectionvector CFIOCollectionVector type~cfiocollectionvector->type~cfiocollection elements type~cfiocollectionvectoriterator CFIOCollectionVectorIterator type~cfiocollectionvectoriterator->type~cfiocollection elements type~cfiocollectionvectorriterator CFIOCollectionVectorRIterator type~cfiocollectionvectorriterator->type~cfiocollection elements

Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: template
integer, public :: scollection_id = -1
type(ESMF_Grid), public, allocatable :: src_grid
type(ESMF_CFIO), public, pointer :: formatter => null()
type(ESMF_CFIOPtrVector), public :: formatters
type(FileMetadata), public, pointer :: file => null()
type(PFIO_Vector), public :: files
type(StringIntegerMap), public :: file_ids

Constructor

public interface CFIOCollection

  • public function new_CFIOCollection(template) result(collection)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: template

    Return Value type(CFIOCollection)


Type-Bound Procedures

procedure, public :: find

  • private function find(this, file_name, rc) result(formatter)

    Arguments

    Type IntentOptional Attributes Name
    class(CFIOCollection), intent(inout), target :: this
    character(len=*), intent(in) :: file_name
    integer, intent(out), optional :: rc

    Return Value type(ESMF_CFIO), pointer

procedure, public :: unfind

  • private subroutine unfind(this)

    Arguments

    Type IntentOptional Attributes Name
    class(CFIOCollection), intent(inout) :: this

Source Code

  type :: CFIOCollection
     type (ESMF_Grid), allocatable :: src_grid ! filled in on first use
     character(len=:), allocatable :: template
     type (ESMF_CFIOPtrVector) :: formatters
     type (PFIO_Vector) :: files
     type (StringIntegerMap) :: file_ids
     integer :: scollection_id = -1
     type (ESMF_CFIO), pointer :: formatter => null()
     type (FileMetadata), pointer :: file => null()
  contains
    procedure :: find
    procedure :: unfind
  end type CFIOCollection