Test_LatLon_GridFactory Module


Uses

  • module~~test_latlon_gridfactory~~UsesGraph module~test_latlon_gridfactory Test_LatLon_GridFactory ESMF ESMF module~test_latlon_gridfactory->ESMF module~esmf_testcase_mod ESMF_TestCase_mod module~test_latlon_gridfactory->module~esmf_testcase_mod module~esmf_testmethod_mod ESMF_TestMethod_mod module~test_latlon_gridfactory->module~esmf_testmethod_mod module~esmf_testparameter_mod ESMF_TestParameter_mod module~test_latlon_gridfactory->module~esmf_testparameter_mod module~mapl_constants MAPL_Constants module~test_latlon_gridfactory->module~mapl_constants module~mapl_latlongridfactorymod MAPL_LatLonGridFactoryMod module~test_latlon_gridfactory->module~mapl_latlongridfactorymod module~mapl_minmaxmod MAPL_MinMaxMod module~test_latlon_gridfactory->module~mapl_minmaxmod pfunit pfunit module~test_latlon_gridfactory->pfunit module~esmf_testcase_mod->ESMF module~esmf_testcase_mod->module~esmf_testparameter_mod module~esmf_testcase_mod->pfunit pf_exceptionlist pf_exceptionlist module~esmf_testcase_mod->pf_exceptionlist module~esmf_testmethod_mod->ESMF module~esmf_testmethod_mod->module~esmf_testcase_mod module~esmf_testmethod_mod->module~esmf_testparameter_mod pFUnit pFUnit module~esmf_testmethod_mod->pFUnit module~esmf_testparameter_mod->pfunit iso_fortran_env iso_fortran_env module~mapl_constants->iso_fortran_env module~mapl_internalconstantsmod MAPL_InternalConstantsMod module~mapl_constants->module~mapl_internalconstantsmod module~mapl_mathconstantsmod MAPL_MathConstantsMod module~mapl_constants->module~mapl_mathconstantsmod module~mapl_physicalconstantsmod MAPL_PhysicalConstantsMod module~mapl_constants->module~mapl_physicalconstantsmod module~mapl_latlongridfactorymod->ESMF module~mapl_latlongridfactorymod->module~mapl_constants module~mapl_latlongridfactorymod->module~mapl_minmaxmod module~mapl_latlongridfactorymod->iso_fortran_env module~mapl_abstractgridfactorymod MAPL_AbstractGridFactoryMod module~mapl_latlongridfactorymod->module~mapl_abstractgridfactorymod module~mapl_commsmod MAPL_CommsMod module~mapl_latlongridfactorymod->module~mapl_commsmod module~mapl_errorhandlingmod MAPL_ErrorHandlingMod module~mapl_latlongridfactorymod->module~mapl_errorhandlingmod module~mapl_keywordenforcermod MAPL_KeywordEnforcerMod module~mapl_latlongridfactorymod->module~mapl_keywordenforcermod module~pfio pFIO module~mapl_latlongridfactorymod->module~pfio module~mapl_minmaxmod->iso_fortran_env

Variables

Type Visibility Attributes Name Initial
character(len=*), public, parameter :: resource_file = 'Test_LatLonGridFactory.rc'

Interfaces

public interface GridCase

  • public function GridCase_global(nx, ny, im_world, jm_world, dateline, pole, default_decomposition, ims, jms, lons, lats) result(param)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: nx
    integer, intent(in) :: ny
    integer, intent(in) :: im_world
    integer, intent(in) :: jm_world
    character(len=2), intent(in) :: dateline
    character(len=2), intent(in) :: pole
    logical, intent(in) :: default_decomposition
    integer, intent(in) :: ims(:)
    integer, intent(in) :: jms(:)
    real, intent(in) :: lons(:)
    real, intent(in) :: lats(:)

    Return Value type(GridCase)

  • public function GridCase_local(nx, ny, im_world, jm_world, lon_range, lat_range, default_decomposition, ims, jms, lons, lats) result(param)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: nx
    integer, intent(in) :: ny
    integer, intent(in) :: im_world
    integer, intent(in) :: jm_world
    type(RealMinMax), intent(in) :: lon_range
    type(RealMinMax), intent(in) :: lat_range
    logical, intent(in) :: default_decomposition
    integer, intent(in) :: ims(:)
    integer, intent(in) :: jms(:)
    real, intent(in) :: lons(:)
    real, intent(in) :: lats(:)

    Return Value type(GridCase)

public interface Test_LatLonGridFactory


Derived Types

type, public, extends(ESMF_TestParameter) ::  GridCase

Components

Type Visibility Attributes Name Initial
character(len=2), public :: dateline
character(len=2), public :: pole
integer, public :: im_world
integer, public, allocatable :: ims(:)
integer, public :: jm_world
integer, public, allocatable :: jms(:)
integer, public :: numPETsRequested
integer, public :: nx
integer, public :: ny
logical, public :: default_decomposition = .false.
real, public, allocatable :: lats(:)
real, public, allocatable :: lons(:)
type(RealMinMax), public :: lat_range
type(RealMinMax), public :: lon_range

Constructor

public function GridCase_global (nx, ny, im_world, jm_world, dateline, pole, default_decomposition, ims, jms, lons, lats)
public function GridCase_local (nx, ny, im_world, jm_world, lon_range, lat_range, default_decomposition, ims, jms, lons, lats)

Type-Bound Procedures

procedure, public :: getNumPetsRequested => getNumPETsRequested
procedure, public :: setNumPetsRequested => setNumPETsRequested
procedure, public :: toString
procedure, public :: toStringActual

type, public, extends(ESMF_TestCase) ::  Test_LatLonGridFactory

Components

Type Visibility Attributes Name Initial
integer, public :: numThreads
integer, public :: val = 3
type(ESMF_Grid), public :: grid
type(ESMF_GridComp), public, pointer :: gc => null()
type(InternalState), public, pointer :: wrapped
type(LatLonGridFactory), public :: factory

Constructor

public function newTest_LatLonGridFactory (testParameter)

Type-Bound Procedures

procedure, public :: barrier
procedure, public :: clearInternalState
procedure, public :: getLocalPET
procedure, public :: getNumPETsRequested
procedure, public :: getPetCount
procedure, public :: getVM
procedure, public :: runBare
procedure, public :: setInternalState
procedure, public :: setUp
procedure, public :: tearDown

Functions

public function toString(this) result(string)

Arguments

Type IntentOptional Attributes Name
class(GridCase), intent(in) :: this

Return Value character(len=:), allocatable

public function GridCase_global(nx, ny, im_world, jm_world, dateline, pole, default_decomposition, ims, jms, lons, lats) result(param)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: nx
integer, intent(in) :: ny
integer, intent(in) :: im_world
integer, intent(in) :: jm_world
character(len=2), intent(in) :: dateline
character(len=2), intent(in) :: pole
logical, intent(in) :: default_decomposition
integer, intent(in) :: ims(:)
integer, intent(in) :: jms(:)
real, intent(in) :: lons(:)
real, intent(in) :: lats(:)

Return Value type(GridCase)

public function GridCase_local(nx, ny, im_world, jm_world, lon_range, lat_range, default_decomposition, ims, jms, lons, lats) result(param)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: nx
integer, intent(in) :: ny
integer, intent(in) :: im_world
integer, intent(in) :: jm_world
type(RealMinMax), intent(in) :: lon_range
type(RealMinMax), intent(in) :: lat_range
logical, intent(in) :: default_decomposition
integer, intent(in) :: ims(:)
integer, intent(in) :: jms(:)
real, intent(in) :: lons(:)
real, intent(in) :: lats(:)

Return Value type(GridCase)

public function getParameters() result(params)

Arguments

None

Return Value type(GridCase), allocatable, (:)

public function newTest_LatLonGridFactory(testParameter) result(aTest)

Arguments

Type IntentOptional Attributes Name
class(GridCase), intent(in) :: testParameter

Return Value type(Test_LatLonGridFactory)


Subroutines

public subroutine setUp(this)

Arguments

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

public subroutine tearDown(this)

Arguments

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

public subroutine test_centers(this)

Arguments

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

public subroutine test_shape(this)

Arguments

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