LocstreamRegridder Derived Type

type, public :: LocstreamRegridder


Inherits

type~~locstreamregridder~~InheritsGraph type~locstreamregridder LocstreamRegridder ESMF_Grid ESMF_Grid type~locstreamregridder->ESMF_Grid grid ESMF_LocStream ESMF_LocStream type~locstreamregridder->ESMF_LocStream locstream ESMF_RouteHandle ESMF_RouteHandle type~locstreamregridder->ESMF_RouteHandle route_handle

Inherited by

type~~locstreamregridder~~InheritedByGraph type~locstreamregridder LocstreamRegridder type~historytrajectory HistoryTrajectory type~historytrajectory->type~locstreamregridder regridder type~stationsampler StationSampler type~stationsampler->type~locstreamregridder regridder type~historycollection~2 HistoryCollection type~historycollection~2->type~historytrajectory trajectory type~historycollection~2->type~stationsampler station_sampler type~historycollectionvectoriterator~2 HistoryCollectionVectorIterator type~historycollectionvectoriterator~2->type~historycollection~2 elements type~historycollectionvectorriterator~2 HistoryCollectionVectorRIterator type~historycollectionvectorriterator~2->type~historycollection~2 elements type~historycollectionvector~2 HistoryCollectionVector type~historycollectionvector~2->type~historycollection~2 elements

Components

Type Visibility Attributes Name Initial
type(ESMF_Grid), public :: grid
type(ESMF_LocStream), public :: locstream
type(ESMF_RouteHandle), public :: route_handle

Constructor

public interface LocstreamRegridder

  • private function new_LocstreamRegridder(grid, locstream, unusable, regrid_method, rc) result(regridder)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_Grid), intent(inout) :: grid
    type(ESMF_LocStream), intent(inout) :: locstream
    class(KeywordEnforcer), intent(in), optional :: unusable
    type(ESMF_RegridMethod_Flag), intent(in), optional :: regrid_method
    integer, intent(out), optional :: rc

    Return Value type(LocstreamRegridder)


Type-Bound Procedures

procedure, public :: destroy => destroy_route_handle

  • private subroutine destroy_route_handle(this, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(LocstreamRegridder) :: this
    integer, intent(out), optional :: rc

generic, public :: regrid => regrid_2d_real32

  • private subroutine regrid_2d_real32(this, q_in, q_out, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(LocstreamRegridder), intent(inout) :: this
    real(kind=REAL32), intent(in) :: q_in(:,:)
    real(kind=REAL32), intent(out) :: q_out(:)
    integer, intent(out), optional :: rc

generic, public :: regrid => regrid_3d_real32

  • private subroutine regrid_3d_real32(this, q_in, q_out, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(LocstreamRegridder), intent(inout) :: this
    real(kind=REAL32), intent(in) :: q_in(:,:,:)
    real(kind=REAL32), intent(out) :: q_out(:,:)
    integer, intent(out), optional :: rc

procedure, public :: regrid_2d_real32

  • private subroutine regrid_2d_real32(this, q_in, q_out, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(LocstreamRegridder), intent(inout) :: this
    real(kind=REAL32), intent(in) :: q_in(:,:)
    real(kind=REAL32), intent(out) :: q_out(:)
    integer, intent(out), optional :: rc

procedure, public :: regrid_3d_real32

  • private subroutine regrid_3d_real32(this, q_in, q_out, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(LocstreamRegridder), intent(inout) :: this
    real(kind=REAL32), intent(in) :: q_in(:,:,:)
    real(kind=REAL32), intent(out) :: q_out(:,:)
    integer, intent(out), optional :: rc

Source Code

   type :: LocstreamRegridder
       type(ESMF_RouteHandle) :: route_handle
       type(ESMF_Grid) :: grid
       type(ESMF_Locstream) :: locstream
       contains
          procedure :: regrid_2d_real32
          procedure :: regrid_3d_real32
          generic :: regrid => regrid_2d_real32
          generic :: regrid => regrid_3d_real32
          procedure :: destroy => destroy_route_handle
   end type LocstreamRegridder