REMORA
Regional Modeling of Oceans Refined Adaptively
Loading...
Searching...
No Matches
REMORABiology::Fennel Namespace Reference

Classes

struct  Components
 

Functions

Components components (FennelParameters const &parameters, int base) noexcept
 Map the Fennel tracers onto cons components starting at base.
 
int num_tracers (FennelParameters const &parameters) noexcept
 

Variables

static constexpr int NumBaseTracers = 7
 
static constexpr int NumCarbonTracers = 4
 

Function Documentation

◆ components()

Components REMORABiology::Fennel::components ( FennelParameters const parameters,
int  base 
)
inlinenoexcept

Map the Fennel tracers onto cons components starting at base.

base is REMORA::bio_comp_start(), which is Tracer_comp plus the number of passive (dye) scalars. Passing it explicitly keeps biology working when a run carries dye as well, since the biology block then no longer starts at Tracer_comp.

Definition at line 255 of file REMORA_Biology.H.

Referenced by REMORA::advance_biology().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ num_tracers()

int REMORABiology::Fennel::num_tracers ( FennelParameters const parameters)
inlinenoexcept

Definition at line 278 of file REMORA_Biology.H.

Here is the call graph for this function:

Variable Documentation

◆ NumBaseTracers

constexpr int REMORABiology::Fennel::NumBaseTracers = 7
staticconstexpr

Definition at line 227 of file REMORA_Biology.H.

Referenced by num_tracers().

◆ NumCarbonTracers

constexpr int REMORABiology::Fennel::NumCarbonTracers = 4
staticconstexpr

Definition at line 228 of file REMORA_Biology.H.

Referenced by num_tracers().