#include <NgenSimulation.hpp>
|
| | NgenSimulation (Simulation_Time const &sim_time, std::vector< std::shared_ptr< ngen::Layer > > layers, std::unordered_map< std::string, int > catchment_indexes, std::unordered_map< std::string, int > nexus_indexes, int mpi_rank, int mpi_num_procs) |
| |
| | NgenSimulation ()=delete |
| |
| | ~NgenSimulation () |
| |
| void | run_catchments () |
| | Run the catchment formulations for the full configured duration of the simulation.
|
| |
| void | run_routing (std::string const &t_route_config_file_with_path) |
| | Run t-route on nexus outflow values written to files during run_catchments() for the full configured duration of the simulation.
|
| |
| void | run_routing_bmi (hy_features_t &features, std::string const &t_route_config_file_with_path) |
| | Run t-route via BMI on the stored nexus outflow values for the full configured duration of the simulation.
|
| |
| int | get_nexus_index (std::string const &nexus_id) const |
| |
| double | get_nexus_outflow (int nexus_index, int timestep_index) const |
| |
| size_t | get_num_output_times () const |
| |
◆ hy_features_t
◆ NgenSimulation() [1/2]
| NgenSimulation::NgenSimulation |
( |
Simulation_Time const & | sim_time, |
|
|
std::vector< std::shared_ptr< ngen::Layer > > | layers, |
|
|
std::unordered_map< std::string, int > | catchment_indexes, |
|
|
std::unordered_map< std::string, int > | nexus_indexes, |
|
|
int | mpi_rank, |
|
|
int | mpi_num_procs ) |
◆ NgenSimulation() [2/2]
| NgenSimulation::NgenSimulation |
( |
| ) |
|
|
delete |
◆ ~NgenSimulation()
| NgenSimulation::~NgenSimulation |
( |
| ) |
|
|
default |
◆ advance_models_one_output_step()
| void NgenSimulation::advance_models_one_output_step |
( |
| ) |
|
|
private |
◆ get_nexus_index()
| int NgenSimulation::get_nexus_index |
( |
std::string const & | nexus_id | ) |
const |
◆ get_nexus_outflow()
| double NgenSimulation::get_nexus_outflow |
( |
int | nexus_index, |
|
|
int | timestep_index ) const |
◆ get_num_output_times()
| size_t NgenSimulation::get_num_output_times |
( |
| ) |
const |
◆ run_catchments()
| void NgenSimulation::run_catchments |
( |
| ) |
|
◆ run_routing()
| void NgenSimulation::run_routing |
( |
std::string const & | t_route_config_file_with_path | ) |
|
◆ run_routing_bmi()
◆ serialize()
template<class Archive >
| void NgenSimulation::serialize |
( |
Archive & | ar | ) |
|
|
private |
◆ catchment_indexes_
| std::unordered_map<std::string, int> NgenSimulation::catchment_indexes_ |
|
private |
◆ catchment_outflows_
| std::vector<double> NgenSimulation::catchment_outflows_ |
|
private |
◆ layers_
| std::vector<std::shared_ptr<ngen::Layer> > NgenSimulation::layers_ |
|
private |
◆ mpi_num_procs_
| int NgenSimulation::mpi_num_procs_ |
|
private |
◆ mpi_rank_
| int NgenSimulation::mpi_rank_ |
|
private |
◆ nexus_downstream_flows_
| std::vector<double> NgenSimulation::nexus_downstream_flows_ |
|
private |
◆ nexus_indexes_
| std::unordered_map<std::string, int> NgenSimulation::nexus_indexes_ |
|
private |
◆ sim_time_
◆ simulation_step_
| int NgenSimulation::simulation_step_ |
|
private |
The documentation for this class was generated from the following files: