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~8 v_Wrapper type~esmf_cfioptrvector->type~v_wrapper~8 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~map_set~15 map_Set type~stringvariablemap->type~map_set~15 tree type~v_wrapper~8->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~map_s_basenode~15 map_s_BaseNode type~map_set~15->type~map_s_basenode~15 root type~set2~10 set2 type~stringattributemap->type~set2~10 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 => 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 => find_
    procedure :: unfind
  end type CFIOCollection