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
7
namespace
fs = std::filesystem;
8
9
namespace
ParticlesLoader
{
10
class
Interface
{
11
public
:
18
virtual
std::pair<double, Particles>
load
(
const
fs::path& path,
double
defaultDensity) = 0;
19
virtual
~Interface
() =
default
;
20
};
21
}
// namespace ParticlesLoader
ParticlesLoader::Interface
Definition
interface.hpp:10
ParticlesLoader::Interface::~Interface
virtual ~Interface()=default
ParticlesLoader::Interface::load
virtual std::pair< double, Particles > load(const fs::path &path, double defaultDensity)=0
Load particles.
ParticlesLoader
Definition
csv.hpp:5
particles.hpp
src
particles_loader
interface.hpp
Generated by
1.12.0