MPS-Basic
Loading...
Searching...
No Matches
interface.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "../particles.hpp"
4
5#include <filesystem>
6
7namespace fs = std::filesystem;
8
9namespace ParticlesLoader {
10class Interface {
11public:
18 virtual std::pair<double, Particles> load(const fs::path& path, double defaultDensity) = 0;
19 virtual ~Interface() = default;
20};
21} // namespace ParticlesLoader
virtual ~Interface()=default
virtual std::pair< double, Particles > load(const fs::path &path, double defaultDensity)=0
Load particles.