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

#include <HY_FlowPath.hpp>

+ Inheritance diagram for HY_FlowPath:
+ Collaboration diagram for HY_FlowPath:

Public Types

typedef bg::model::d2::point_xy< double > point_t
 
typedef bg::model::linestring< point_tlinestring_t
 

Public Member Functions

 HY_FlowPath ()
 
virtual ~HY_FlowPath ()
 
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::shared_ptr< linestring_tflow_path
 

Member Typedef Documentation

◆ linestring_t

bg::model::linestring<point_t> HY_FlowPath::linestring_t

◆ point_t

bg::model::d2::point_xy<double> HY_FlowPath::point_t

Constructor & Destructor Documentation

◆ HY_FlowPath()

HY_FlowPath::HY_FlowPath ( )

◆ ~HY_FlowPath()

HY_FlowPath::~HY_FlowPath ( )
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_path

std::shared_ptr<linestring_t> HY_FlowPath::flow_path
private

◆ id_number

unsigned long HY_CatchmentRealization::id_number
protectedinherited

◆ realized_catchment

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

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