MAPL_ExtDataPrimaryExportVectorMod Module

$ public :: foreach

$ ! ======================= $ ! insert $ ! ======================= $ subroutine vector_insert_size_kind( & $ & this, index, value, unused, rc) $ class(PrimaryExportVector), target, intent(inout) :: this $ $ integer(kind=GFTL_SIZE_KIND), intent(in) :: index $ $ type(PrimaryExport), intent(in) :: value $ type (KeywordEnforcer), optional, intent(in) :: unused $ integer, optional, intent(out) :: rc $ $ type(PrimaryExport) :: temp $ integer(kind=GFTL_SIZE_KIND) :: i, n $ $ if (.false.) print*,shape(unused) $ $ n = this%vsize $ if (index==n+1) then $ call this%push_back(value) $ ! Workaround for NAG -6221 - temp needs some status $ temp=value $ return $ endif $ call this%grow_to(this%vsize+1) $ temp=this%elements(n)%item $ call this%resize(n+1, temp, rc=rc) $ $ do i = n, index, -1 $ this%elements(index)%item=this%elements(index-1)%item $ end do $ $ this%elements(index)%item=value $ $ return $ end subroutine vector_insert_size_kind $ $ $ subroutine vector_insert_default(this, index, value) $ class(PrimaryExportVector), intent(inout) :: this $ integer, intent(in) :: index $ type(PrimaryExport), intent(in) :: value $ $ call this%insert(int(index,kind=GFTL_SIZE_KIND), value) $ end subroutine vector_insert_default


Uses

  • module~~mapl_extdataprimaryexportvectormod~~UsesGraph module~mapl_extdataprimaryexportvectormod MAPL_ExtDataPrimaryExportVectorMod module~mapl_extdatatypedef MAPL_ExtDataTypeDef module~mapl_extdataprimaryexportvectormod->module~mapl_extdatatypedef ESMF ESMF module~mapl_extdatatypedef->ESMF module~mapl_extdataabstractfilehandler MAPL_ExtdataAbstractFileHandler module~mapl_extdatatypedef->module~mapl_extdataabstractfilehandler module~mapl_extdatabracket MAPL_ExtDataBracket module~mapl_extdatatypedef->module~mapl_extdatabracket module~mapl_extdatamask MAPL_ExtDataMask module~mapl_extdatatypedef->module~mapl_extdatamask module~mapl_extdatapointerupdate MAPL_ExtDataPointerUpdate module~mapl_extdatatypedef->module~mapl_extdatapointerupdate module~mapl_filemetadatautilsmod MAPL_FileMetadataUtilsMod module~mapl_extdatatypedef->module~mapl_filemetadatautilsmod module~mapl_griddedioitemmod MAPL_GriddedIOitemMod module~mapl_extdatatypedef->module~mapl_griddedioitemmod module~mapl_newarthparsermod MAPL_NewArthParserMod module~mapl_extdatatypedef->module~mapl_newarthparsermod module~mapl_extdataabstractfilehandler->ESMF module~mapl_extdataabstractfilehandler->module~mapl_extdatabracket module~mapl_extdataabstractfilehandler->module~mapl_filemetadatautilsmod module~mapl_collectionvectormod MAPL_CollectionVectorMod module~mapl_extdataabstractfilehandler->module~mapl_collectionvectormod module~mapl_datacollectionmanagermod MAPL_DataCollectionManagerMod module~mapl_extdataabstractfilehandler->module~mapl_datacollectionmanagermod module~mapl_datacollectionmod MAPL_DataCollectionMod module~mapl_extdataabstractfilehandler->module~mapl_datacollectionmod module~mapl_exceptionhandling MAPL_ExceptionHandling module~mapl_extdataabstractfilehandler->module~mapl_exceptionhandling module~mapl_extdataconstants MAPL_ExtDataConstants module~mapl_extdataabstractfilehandler->module~mapl_extdataconstants module~mapl_extdatafilestream MAPL_ExtDataFileStream module~mapl_extdataabstractfilehandler->module~mapl_extdatafilestream module~mapl_extdatafilestreammap MAPL_ExtDataFileStreamMap module~mapl_extdataabstractfilehandler->module~mapl_extdatafilestreammap module~mapl_keywordenforcermod MAPL_KeywordEnforcerMod module~mapl_extdataabstractfilehandler->module~mapl_keywordenforcermod module~mapl_stringtemplate MAPL_StringTemplate module~mapl_extdataabstractfilehandler->module~mapl_stringtemplate module~mapl_timestringconversion MAPL_TimeStringConversion module~mapl_extdataabstractfilehandler->module~mapl_timestringconversion module~mapl_extdatabracket->ESMF module~mapl_basemod MAPL_BaseMod module~mapl_extdatabracket->module~mapl_basemod module~mapl_commsmod MAPL_CommsMod module~mapl_extdatabracket->module~mapl_commsmod module~mapl_extdatabracket->module~mapl_exceptionhandling module~mapl_extdatabracket->module~mapl_extdataconstants module~mapl_extdatanode MAPL_ExtDataNode module~mapl_extdatabracket->module~mapl_extdatanode module~mapl_fieldutils MAPL_FieldUtils module~mapl_extdatabracket->module~mapl_fieldutils module~mapl_extdatabracket->module~mapl_keywordenforcermod module~mapl_extdatamask->ESMF module~mapl_extdatamask->module~mapl_newarthparsermod gFTL_StringVector gFTL_StringVector module~mapl_extdatamask->gFTL_StringVector module~esmfl_mod ESMFL_MOD module~mapl_extdatamask->module~esmfl_mod module~mapl_extdatamask->module~mapl_basemod module~mapl_constants MAPL_Constants module~mapl_extdatamask->module~mapl_constants module~mapl_extdatamask->module~mapl_exceptionhandling module~mapl_extdatamask->module~mapl_keywordenforcermod module~mapl_extdatapointerupdate->ESMF module~mapl_extdatapointerupdate->module~mapl_commsmod module~mapl_extdatapointerupdate->module~mapl_exceptionhandling module~mapl_extdatapointerupdate->module~mapl_keywordenforcermod module~mapl_extdatapointerupdate->module~mapl_timestringconversion module~mapl_filemetadatautilsmod->ESMF iso_fortran_env iso_fortran_env module~mapl_filemetadatautilsmod->iso_fortran_env module~mapl_abstractgridfactorymod MAPL_AbstractGridFactoryMod module~mapl_filemetadatautilsmod->module~mapl_abstractgridfactorymod module~mapl_filemetadatautilsmod->module~mapl_exceptionhandling module~mapl_gridmanagermod MAPL_GridManagerMod module~mapl_filemetadatautilsmod->module~mapl_gridmanagermod module~pfio pFIO module~mapl_filemetadatautilsmod->module~pfio module~mapl_griddedioitemmod->ESMF iso_c_binding iso_c_binding module~mapl_griddedioitemmod->iso_c_binding module~mapl_newarthparsermod->ESMF module~mapl_newarthparsermod->gFTL_StringVector module~mapl_newarthparsermod->module~mapl_basemod module~mapl_newarthparsermod->module~mapl_commsmod module~mapl_newarthparsermod->module~mapl_exceptionhandling module~mapl_newarthparsermod->module~mapl_fieldutils

Used by

  • module~~mapl_extdataprimaryexportvectormod~~UsedByGraph module~mapl_extdataprimaryexportvectormod MAPL_ExtDataPrimaryExportVectorMod module~mapl_extdatagridcomp2g MAPL_ExtDataGridComp2G module~mapl_extdatagridcomp2g->module~mapl_extdataprimaryexportvectormod module~extdata_drivergridcompmod ExtData_DriverGridCompMod module~extdata_drivergridcompmod->module~mapl_extdatagridcomp2g module~mapl_capgridcompmod MAPL_CapGridCompMod module~mapl_capgridcompmod->module~mapl_extdatagridcomp2g module~extdatadrivermod ExtDataDriverMod module~extdatadrivermod->module~extdata_drivergridcompmod module~mapl_capmod MAPL_CapMod module~mapl_capmod->module~mapl_capgridcompmod program~comp_testing_driver comp_testing_driver program~comp_testing_driver->module~mapl_capgridcompmod program~extdata_driver ExtData_Driver program~extdata_driver->module~extdata_drivergridcompmod program~extdata_driver->module~extdatadrivermod module~mapl_gridcompsmod MAPL_GridCompsMod module~mapl_gridcompsmod->module~mapl_capmod module~mapl_nuopcwrappermod MAPL_NUOPCWrapperMod module~mapl_nuopcwrappermod->module~mapl_capmod

Variables

Type Visibility Attributes Name Initial
integer, public, parameter :: BAD_ALLOC = 2
integer, public, parameter :: GFTL_SIZE_KIND = selected_int_kind(18)
integer, public, parameter :: ILLEGAL_INPUT = 3
integer, public, parameter :: LENGTH_ERROR = 4
integer, public, parameter :: OUT_OF_RANGE = 1
integer, public, parameter :: SUCCESS = 0
integer, public, parameter :: TYPE_HAS_NO_DEFAULT_VALUE = 5
type(NO_TYPE_), public, parameter :: NO_TYPE__ = NO_TYPE_()

Interfaces

public interface PrimaryExportVector

  • private function vector_new_vector_empty() result(v)

    Arguments

    None

    Return Value type(PrimaryExportVector)

  • private function vector_new_vector_fill_size_kind(n, value) result(v)

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=GFTL_SIZE_KIND), intent(in) :: n
    type(PrimaryExport), intent(in), optional :: value

    Return Value type(PrimaryExportVector)

  • private function vector_new_vector_fill_default(n, value) result(v)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: n
    type(PrimaryExport), intent(in), optional :: value

    Return Value type(PrimaryExportVector)

  • private function vector_new_vector_range(first, last) result(v)

    Arguments

    Type IntentOptional Attributes Name
    type(PrimaryExportVectorIterator), intent(in) :: first
    type(PrimaryExportVectorIterator), intent(in) :: last

    Return Value type(PrimaryExportVector)

  • private function vector_new_vector_copy(x) result(v)

    Arguments

    Type IntentOptional Attributes Name
    type(PrimaryExportVector) :: x

    Return Value type(PrimaryExportVector)

  • private function vector_new_vector_initializer_list(il) result(v)

    Arguments

    Type IntentOptional Attributes Name
    type(PrimaryExport), intent(in), dimension(:) :: il

    Return Value type(PrimaryExportVector)

public interface advance

  • private subroutine vector_iter_advance_size_kind(it, n)

    Arguments

    Type IntentOptional Attributes Name
    type(PrimaryExportVectorIterator), intent(inout) :: it
    integer(kind=selected_int_kind(18)), intent(in) :: n
  • private subroutine vector_iter_advance_default(it, n)

    Arguments

    Type IntentOptional Attributes Name
    type(PrimaryExportVectorIterator), intent(inout) :: it
    integer, intent(in) :: n

public interface begin

public interface distance

public interface end

public interface find

  • private function vector_find_basic(do_not_use, unused) result(j)

    Arguments

    Type IntentOptional Attributes Name
    type(PrimaryExportVectorIterator), intent(in) :: do_not_use
    type(KeywordEnforcer), intent(in) :: unused

    Return Value type(vector_keywordenforcer)

public interface find_if

public interface find_if_not

public interface ftn_begin

public interface ftn_end

public interface next

public interface operator(+)

public interface operator(-)

public interface operator(/=)

public interface operator(==)

public interface prev

public interface swap

  • private subroutine vector_swap(this, x)

    Arguments

    Type IntentOptional Attributes Name
    class(PrimaryExportVector), intent(inout), target :: this
    type(PrimaryExportVector), intent(inout), target :: x

Derived Types

type, public ::  KeywordEnforcer

type, public ::  NO_TYPE_

type, public ::  PrimaryExportVector

Constructor

private function vector_new_vector_empty ()
private function vector_new_vector_fill_size_kind (n, value)
private function vector_new_vector_fill_default (n, value)
private function vector_new_vector_range (first, last)
private function vector_new_vector_copy (x)
private function vector_new_vector_initializer_list (il)

Type-Bound Procedures

generic, public :: assignment(=) => copy_from_array
generic, public :: at => at_default
generic, public :: at => of_default
generic, public :: at => at_size_kind
generic, public :: at => of_size_kind
procedure, public :: at_default => vector_at_default
procedure, public :: at_size_kind => vector_at_size_kind
procedure, public :: back => vector_back
procedure, public :: begin => vector_begin
procedure, public :: capacity => vector_capacity
procedure, public :: clear => vector_clear
procedure, public :: copy_from_array => vector_copy_from_array
procedure, public :: data => vector_data
procedure, public :: empty => vector_empty
procedure, public :: end => vector_end
generic, public :: erase => erase_one
generic, public :: erase => erase_range
procedure, public :: erase_one => vector_erase_one
procedure, public :: erase_range => vector_erase_range
procedure, public :: front => vector_front
procedure, public :: ftn_begin => vector_ftn_begin
procedure, public :: ftn_end => vector_ftn_end
generic, public :: insert => vector_insert_one
generic, public :: insert => vector_insert_count_size_kind
generic, public :: insert => vector_insert_count_default
generic, public :: insert => vector_insert_range
generic, public :: insert => vector_insert_list
procedure, public, nopass :: max_size => vector_max_size
generic, public :: of => of_default
generic, public :: of => of_size_kind
procedure, public :: of_default => vector_of_default
procedure, public :: of_size_kind => vector_of_size_kind
procedure, public :: pop_back => vector_pop_back
procedure, public :: push_back => vector_push_back
procedure, public :: rbegin => vector_rbegin
procedure, public :: rend => vector_rend
generic, public :: reserve => reserve_default
generic, public :: reserve => reserve_size_kind
procedure, public :: reserve_default => vector_reserve_default
procedure, public :: reserve_size_kind => vector_reserve_size_kind
procedure, public :: reset => vector_reset
generic, public :: resize => resize_default
generic, public :: resize => resize_size_kind
procedure, public :: resize_default => vector_resize_default
procedure, public :: resize_size_kind => vector_resize_size_kind
generic, public :: set => set_default
generic, public :: set => set_size_kind
procedure, public :: set_default => vector_set_default
procedure, public :: set_size_kind => vector_set_size_kind
procedure, public :: shrink_to_fit => vector_shrink_to_fit
procedure, public :: size => vector_size
procedure, public :: swap => vector_swap
procedure, public :: vector_insert_count_default
procedure, public :: vector_insert_count_size_kind
procedure, public :: vector_insert_list
procedure, public :: vector_insert_one
procedure, public :: vector_insert_range
generic, public :: write(formatted) => write_formatted
procedure, public :: write_formatted => vector_write_formatted

type, public ::  PrimaryExportVectorIterator

Type-Bound Procedures

generic, public :: add => vector_iter_add_n_default
generic, public :: add => vector_iter_add_n_size_kind
procedure, public :: next => vector_iter_next
generic, public :: of => vector_iter_of
generic, public :: of => vector_iter_of_offset_default
generic, public :: of => vector_iter_of_offset_size_kind
procedure, public :: prev => vector_iter_prev

$ procedure :: back_inserter => vector_back_inserter $ procedure :: front_inserter => vector_front_inserter $ procedure :: inserter => vector_inserter $ procedure :: make_move_iterator => vector_make_move_iterator

Read more…
generic, public :: sub => vector_iter_sub_n_default
generic, public :: sub => vector_iter_sub_n_size_kind
procedure, public :: vector_iter_add_n_default
procedure, public :: vector_iter_add_n_size_kind
procedure, public :: vector_iter_of
procedure, public :: vector_iter_of_offset_default
procedure, public :: vector_iter_of_offset_size_kind
procedure, public :: vector_iter_sub_n_default
procedure, public :: vector_iter_sub_n_size_kind

type, public ::  VectorRIterator

$ procedure :: back_inserter => vector_back_inserter $ procedure :: front_inserter => vector_front_inserter $ procedure :: inserter => vector_inserter $ procedure :: make_move_iterator => vector_make_move_iterator

Type-Bound Procedures

generic, public :: add => vector_riter_add_n_default
generic, public :: add => vector_riter_add_n_size_kind
procedure, public :: next => vector_riter_next
generic, public :: of => vector_riter_of
generic, public :: of => vector_riter_of_offset_size_kind
generic, public :: of => vector_riter_of_offset_default
procedure, public :: prev => vector_riter_prev
generic, public :: sub => vector_riter_sub_n_default
generic, public :: sub => vector_riter_sub_n_size_kind
procedure, public :: vector_riter_add_n_default
procedure, public :: vector_riter_add_n_size_kind
procedure, public :: vector_riter_of
procedure, public :: vector_riter_of_offset_default
procedure, public :: vector_riter_of_offset_size_kind
procedure, public :: vector_riter_sub_n_default
procedure, public :: vector_riter_sub_n_size_kind