NGen
Loading...
Searching...
No Matches
HY_HydroNetwork Class Referenceabstract

#include <HY_HydroNetwork.hpp>

+ Inheritance diagram for HY_HydroNetwork:
+ Collaboration diagram for HY_HydroNetwork:

Public Member Functions

 HY_HydroNetwork ()
 
virtual ~HY_HydroNetwork ()
 
virtual double get_response (time_step_t t_index, time_step_t t_delta)=0
 Execute the backing model formulation for the given time step, where it is of the specified size, and return the response output.
 

Protected Member Functions

virtual std::string get_catchment_id () const =0
 
virtual void set_catchment_id (std::string cat_id)=0
 

Protected Attributes

std::shared_ptr< HY_Catchmentrealized_catchment
 
unsigned long id_number
 

Private Attributes

std::vector< std::shared_ptr< HY_FlowPath > > flow_paths
 
std::vector< std::shared_ptr< HY_CatchmentArea > > sub_network
 
std::vector< std::shared_ptr< HY_CatchementDivide > > network_divides
 
std::vector< std::shared_ptr< HY_HydroNexus > > internal_nexuses
 

Constructor & Destructor Documentation

◆ HY_HydroNetwork()

HY_HydroNetwork::HY_HydroNetwork ( )

◆ ~HY_HydroNetwork()

HY_HydroNetwork::~HY_HydroNetwork ( )
virtual

Member Function Documentation

◆ get_catchment_id()

virtual std::string HY_CatchmentRealization::get_catchment_id ( ) const
protectedpure virtualinherited

◆ get_response()

virtual double HY_CatchmentRealization::get_response ( time_step_t t_index,
time_step_t t_delta )
pure virtualinherited

Execute the backing model formulation for the given time step, where it is of the specified size, and return the response output.

Any inputs and additional parameters must be made available as instance members.

Types should clearly document the details of their particular response output.

Parameters
t_indexThe index of the time step for which to run model calculations.
d_delta_sThe duration, in seconds, of the time step for which to run model calculations.
Returns
The response output of the model for this time step.

Implemented in realization::Bmi_Module_Formulation, realization::Bmi_Multi_Formulation, and realization::Catchment_Formulation.

◆ set_catchment_id()

virtual void HY_CatchmentRealization::set_catchment_id ( std::string cat_id)
protectedpure virtualinherited

Member Data Documentation

◆ flow_paths

std::vector< std::shared_ptr<HY_FlowPath> > HY_HydroNetwork::flow_paths
private

◆ id_number

unsigned long HY_CatchmentRealization::id_number
protectedinherited

◆ internal_nexuses

std::vector< std::shared_ptr<HY_HydroNexus> > HY_HydroNetwork::internal_nexuses
private

◆ network_divides

std::vector< std::shared_ptr<HY_CatchementDivide> > HY_HydroNetwork::network_divides
private

◆ realized_catchment

std::shared_ptr<HY_Catchment> HY_CatchmentRealization::realized_catchment
protectedinherited

◆ sub_network

std::vector< std::shared_ptr<HY_CatchmentArea> > HY_HydroNetwork::sub_network
private

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