Skip to content

Commit

Permalink
Firm up MeshPointsSelector
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilMiller committed Sep 17, 2024
1 parent b190797 commit ebaa00d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions include/forcing/GenericDataProvider.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#include "DataProvider.hpp"
#include "DataProviderSelectors.hpp"
#include "MeshPointsSelectors.hpp"

namespace data_access
{
using GenericDataProvider = DataProvider<double, CatchmentAggrDataSelector>;
using MeshPointsDataProvider = DataProvider<double, MeshPointsSelector>;
}

#endif
2 changes: 1 addition & 1 deletion include/forcing/MeshPointsSelectors.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ static AllPoints all_points;
struct MeshPointsSelector
{
std::string variable_name;
std::chrono::time_point<std::chrono::steady_clock> init_time;
std::chrono::time_point<std::chrono::system_clock> init_time;
std::chrono::seconds duration;
std::string output_units;
boost::variant<AllPoints, std::vector<int>> points;
Expand Down

0 comments on commit ebaa00d

Please sign in to comment.