Molecular Dynamics Simulation
1.0
src
io
input
FileInputHandler.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <optional>
4
#include <set>
5
6
#include "
io/input/InputFormats.h
"
7
#include "
io/input/chkpt/ChkptPointFileReader.h
"
8
#include "
io/input/xml/XMLFileReader.h
"
9
#include "
simulation/SimulationParams.h
"
10
17
class
FileInputHandler
{
18
public
:
33
static
std::tuple<std::vector<Particle>, std::optional<SimulationParams>>
readFile
(
const
std::filesystem::path& input_file_path,
34
bool
fresh =
false
,
bool
allow_recursion =
true
);
35
};
ChkptPointFileReader.h
InputFormats.h
SimulationParams.h
XMLFileReader.h
FileInputHandler
Wrapper class to abstract the reading of input files.
Definition:
FileInputHandler.h:17
FileInputHandler::readFile
static std::tuple< std::vector< Particle >, std::optional< SimulationParams > > readFile(const std::filesystem::path &input_file_path, bool fresh=false, bool allow_recursion=true)
Reads the input file and stores the particles in the given ParticleContainer. Other simulation parame...
Definition:
FileInputHandler.cpp:8
Generated by
1.9.1