From e557654171af68bb221e6bb87d9f5a42cc1747ee Mon Sep 17 00:00:00 2001 From: Shengting Cui Date: Tue, 5 Sep 2023 20:34:19 +0000 Subject: [PATCH] Remove presetting available forcings --- include/forcing/NullForcingProvider.hpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/include/forcing/NullForcingProvider.hpp b/include/forcing/NullForcingProvider.hpp index a154a5b2ef..2aedc14040 100644 --- a/include/forcing/NullForcingProvider.hpp +++ b/include/forcing/NullForcingProvider.hpp @@ -34,9 +34,7 @@ class NullForcingProvider : public data_access::GenericDataProvider end_date_time_epoch(forcing_config.simulation_end_t), current_date_time_epoch(forcing_config.simulation_start_t), forcing_vector_index(-1) - { - set_available_forcings(); - } + {} // BEGIN DataProvider interface methods @@ -127,15 +125,6 @@ class NullForcingProvider : public data_access::GenericDataProvider private: - - /** - * @brief set_available_forcings so that Formulation_Manager has a non-empty variable name to access simulation time - */ - void set_available_forcings() - { - available_forcings.push_back("dummy"); - } - std::vector available_forcings; int forcing_vector_index;