CCPP SciDoc v7.0.0  v7.0.0
Common Community Physics Package Developed at DTC
 
Loading...
Searching...
No Matches
mo_fluxes Module Reference

Data Types

interface  are_desired_abstract
 
interface  reduce_abstract
 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. More...
 
type  ty_fluxes
 Abstract base class: reduce() function accepts spectral flux profiles, computes desired outputs are_desired() returns a logical. More...
 
type  ty_fluxes_broadband
 Class implementing broadband integration for the complete flux profile. Data components are pointers so results can be written directly into memory. More...
 

Functions/Subroutines

character(len=128) function reduce_broadband (this, gpt_flux_up, gpt_flux_dn, spectral_disc, top_at_1, gpt_flux_dn_dir)
 Broadband fluxes – simply sum over the spectral dimension and report the whole profile.
 
logical function are_desired_broadband (this)
 Are any fluxes desired from this set of g-point fluxes? We can tell because memory will be allocated for output.
 

Detailed Description

Compute output quantities from spectrally-resolved flux profiles

This module contains an abstract class and a broadband implmentation that sums over all spectral points The abstract base class defines the routines that extenstions must implement: reduce() and are_desired() The intent is for users to extend it as required, using mo_flxues_broadband as an example