Skip to content

Commit

Permalink
Remove presetting available forcings
Browse files Browse the repository at this point in the history
  • Loading branch information
stcui007 committed Sep 5, 2023
1 parent 24bb61b commit e557654
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions include/forcing/NullForcingProvider.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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<std::string> available_forcings;

int forcing_vector_index;
Expand Down

0 comments on commit e557654

Please sign in to comment.