NGen
Loading...
Searching...
No Matches
HY_CatchmentAggregate Class Reference

#include <HY_CatchmentAggregate.hpp>

+ Inheritance diagram for HY_CatchmentAggregate:
+ Collaboration diagram for HY_CatchmentAggregate:

Public Member Functions

 HY_CatchmentAggregate ()
 
virtual ~HY_CatchmentAggregate ()
 
const Nexusesget_outflow_nexuses ()
 
long get_layer ()
 get the hydrofabric layer of this catchment
 
void set_layer (long lyr)
 set the layer of this catchment
 

Public Attributes

std::shared_ptr< HY_CatchmentRealizationrealization
 
const long ATMOSPHERIC_LAYER_HIGH = 80
 This is the catchment layer for high air atmospheric models.
 
const long ATMOSPHERIC_Layer_LOW = 60
 This is the catchment layer for low air atmospheric models.
 
const long CANOPY_LAYER = 40
 This is the catchment layer for canopy layer models.
 
const long SNOW_LAYER = 20
 This is the catchment layer for surface snow models.
 
const long SURFACE_LAYER = 0
 This is the catchment layer for surface water models

 
const long GROUND_WATER_SHALLOW_LAYER = -20
 This is the catchment layer for shallow groundwater models.
 
const long GROUND_WATER_DEEP_LAYER = -40
 This is the catchment layer for deep groundwater models.
 

Private Types

using Nexus = std::string
 
using Nexuses = std::vector< Nexus >
 
using Catchment = std::string
 
using Catchments = std::vector< Catchment >
 

Private Attributes

std::string id
 
Nexuses inflows
 
Nexuses outflows
 
Catchments contained_catchments
 
Catchment containing_catchment
 
Catchment conjoint_catchment
 
Catchment upper_catchment
 
Catchment lower_catchment
 
long layer
 

Member Typedef Documentation

◆ Catchment

using HY_Catchment::Catchment = std::string
privateinherited

◆ Catchments

using HY_Catchment::Catchments = std::vector< Catchment >
privateinherited

◆ Nexus

using HY_Catchment::Nexus = std::string
privateinherited

◆ Nexuses

using HY_Catchment::Nexuses = std::vector< Nexus >
privateinherited

Constructor & Destructor Documentation

◆ HY_CatchmentAggregate()

HY_CatchmentAggregate::HY_CatchmentAggregate ( )

◆ ~HY_CatchmentAggregate()

HY_CatchmentAggregate::~HY_CatchmentAggregate ( )
virtual

Member Function Documentation

◆ get_layer()

long HY_Catchment::get_layer ( )
inlineinherited

get the hydrofabric layer of this catchment

The hydrofabric is divided into multiple layers which are intended to be processed in decreasing numeric order. The current defined layers are: 80 – Atmospheric Models (high) 60 – Atmospeheric Models (low) 40 – Canopy Models 20 – Snow melt models 0 – Surface water processes -20 – Ground Water (Shallow) -40 – Ground Water (Deep)

References HY_Catchment::layer.

◆ get_outflow_nexuses()

const Nexuses & HY_Catchment::get_outflow_nexuses ( )
inlineinherited

◆ set_layer()

void HY_Catchment::set_layer ( long lyr)
inlineinherited

set the layer of this catchment

This function changes the layer of a catchment. It should only be used if the type of model being used in the catchment changes.

References HY_Catchment::layer.

Member Data Documentation

◆ ATMOSPHERIC_LAYER_HIGH

const long HY_Catchment::ATMOSPHERIC_LAYER_HIGH = 80
inherited

This is the catchment layer for high air atmospheric models.

◆ ATMOSPHERIC_Layer_LOW

const long HY_Catchment::ATMOSPHERIC_Layer_LOW = 60
inherited

This is the catchment layer for low air atmospheric models.

◆ CANOPY_LAYER

const long HY_Catchment::CANOPY_LAYER = 40
inherited

This is the catchment layer for canopy layer models.

◆ conjoint_catchment

Catchment HY_Catchment::conjoint_catchment
privateinherited

◆ contained_catchments

Catchments HY_Catchment::contained_catchments
privateinherited

◆ containing_catchment

Catchment HY_Catchment::containing_catchment
privateinherited

◆ GROUND_WATER_DEEP_LAYER

const long HY_Catchment::GROUND_WATER_DEEP_LAYER = -40
inherited

This is the catchment layer for deep groundwater models.

◆ GROUND_WATER_SHALLOW_LAYER

const long HY_Catchment::GROUND_WATER_SHALLOW_LAYER = -20
inherited

This is the catchment layer for shallow groundwater models.

◆ id

std::string HY_Catchment::id
privateinherited

◆ inflows

Nexuses HY_Catchment::inflows
privateinherited

◆ layer

long HY_Catchment::layer
privateinherited

◆ lower_catchment

Catchment HY_Catchment::lower_catchment
privateinherited

◆ outflows

Nexuses HY_Catchment::outflows
privateinherited

◆ realization

std::shared_ptr<HY_CatchmentRealization> HY_Catchment::realization
inherited

◆ SNOW_LAYER

const long HY_Catchment::SNOW_LAYER = 20
inherited

This is the catchment layer for surface snow models.

◆ SURFACE_LAYER

const long HY_Catchment::SURFACE_LAYER = 0
inherited

This is the catchment layer for surface water models

◆ upper_catchment

Catchment HY_Catchment::upper_catchment
privateinherited

The documentation for this class was generated from the following files: