ty_fluxes Derived Type

type, public, abstract :: ty_fluxes

Abstract base class: reduce() function accepts spectral flux profiles, computes desired outputs are_desired() returns a logical


Inherited by

type~~ty_fluxes~~InheritedByGraph type~ty_fluxes ty_fluxes type~ty_fluxes_broadband ty_fluxes_broadband type~ty_fluxes_broadband->type~ty_fluxes

Contents


Type-Bound Procedures

procedure(are_desired_abstract), public, deferred :: are_desired

  • function are_desired_abstract(this)Prototype

    Arguments

    TypeIntentOptionalAttributesName
    class(ty_fluxes), intent(in) :: this

    Return Value logical

procedure(reduce_abstract), public, deferred :: reduce

  • function reduce_abstract(this, gpt_flux_up, gpt_flux_dn, spectral_disc, top_at_1, gpt_flux_dn_dir) result(error_msg)Prototype

    This routine takes the fully resolved calculation (detailed in spectral and vertical dimensions) and computes desired outputs. Output values will normally be data components of the derived type.

    Arguments

    TypeIntentOptionalAttributesName
    class(ty_fluxes), intent(inout) :: this
    real(kind=wp), intent(in), dimension(:,:,:):: gpt_flux_up
    real(kind=wp), intent(in), dimension(:,:,:):: gpt_flux_dn
    class(ty_optical_props), intent(in) :: spectral_disc
    logical, intent(in) :: top_at_1
    real(kind=wp), intent(in), optional dimension(:,:,:):: gpt_flux_dn_dir

    Return Value character(len=128)