#include <SurfaceLayer.hpp>
|
| | SurfaceLayer (const LayerDescription &desc, const std::vector< std::string > &p_u, const Simulation_Time &s_t, feature_type &f, geojson::GeoJSON cd, long idx, const std::shared_ptr< utils::NexusOutputsMgr > &nexus_outputs_mgr) |
| |
| void | update_models (boost::span< double > catchment_outflows, std::unordered_map< std::string, int > &catchment_indexes, boost::span< double > nexus_downstream_flows, std::unordered_map< std::string, int > &nexus_indexes, int current_step) override |
| | Run one simulation timestep for each model in this layer.
|
| |
| time_t | next_timestep_epoch_time () |
| | Return the next timestep that will be processed by this layer in epoch time units.
|
| |
| time_t | current_timestep_epoch_time () |
| | Return the last timestep that was processed by this layer in epoch time units.
|
| |
| int | get_id () const |
| | Return the numeric id of this layer.
|
| |
| const std::string & | get_name () const |
| | Return the name of this layer.
|
| |
| const double | get_time_step () const |
| | Return this time_step interval used for this layer.
|
| |
| const std::string & | get_time_step_units () const |
| | Return the units for the time_step value of this layer.
|
| |
◆ feature_type
◆ SurfaceLayer()
◆ current_timestep_epoch_time()
| time_t ngen::Layer::current_timestep_epoch_time |
( |
| ) |
|
|
inlineinherited |
◆ get_id()
| int ngen::Layer::get_id |
( |
| ) |
const |
|
inlineinherited |
◆ get_name()
| const std::string & ngen::Layer::get_name |
( |
| ) |
const |
|
inlineinherited |
◆ get_time_step()
| const double ngen::Layer::get_time_step |
( |
| ) |
const |
|
inlineinherited |
◆ get_time_step_units()
| const std::string & ngen::Layer::get_time_step_units |
( |
| ) |
const |
|
inlineinherited |
◆ next_timestep_epoch_time()
| time_t ngen::Layer::next_timestep_epoch_time |
( |
| ) |
|
|
inlineinherited |
◆ update_models()
| void ngen::SurfaceLayer::update_models |
( |
boost::span< double > | catchment_outflows, |
|
|
std::unordered_map< std::string, int > & | catchment_indexes, |
|
|
boost::span< double > | nexus_downstream_flows, |
|
|
std::unordered_map< std::string, int > & | nexus_indexes, |
|
|
int | current_step ) |
|
overridevirtual |
Run one simulation timestep for each model in this layer.
Reimplemented from ngen::Layer.
References utils::NexusOutputsMgr::commit_writes(), ngen::Layer::features, HY_HydroNexus::get_contributing_catchments(), Simulation_Time::get_current_epoch_time(), HY_HydroNexus::get_downstream_flow(), HY_HydroNexus::get_receiving_catchments(), Simulation_Time::get_timestamp(), hy_features::HY_Features::nexus_at(), nexus_outputs_mgr, hy_features::HY_Features::nexuses(), ngen::Layer::output_time_index, utils::NexusOutputsMgr::receive_data_entry(), ngen::Layer::simulation_time, and ngen::Layer::update_models().
◆ catchment_data
◆ description
◆ features
◆ nexus_outputs_mgr
◆ output_time_index
| long ngen::Layer::output_time_index |
|
protectedinherited |
◆ processing_units
| const std::vector<std::string> ngen::Layer::processing_units |
|
protectedinherited |
◆ simulation_time
The documentation for this class was generated from the following files: