psim
1.0
Generalized 2D phonon transport using a Monte Carlo method
inputManager.h
Go to the documentation of this file.
1
#ifndef PSIM_INPUTMANAGER_H
2
#define PSIM_INPUTMANAGER_H
3
4
#include <filesystem>
// for path
5
#include <optional>
// for optional
6
7
8
class
Model
;
9
10
class
InputManager
{
11
public
:
12
InputManager
() =
delete
;
13
/***
14
* @param filepath - Filepath to the JSON file containing the simulation settings
15
* @return A model object that is prepared to be simulated or nullopt if there is an error generating the model
16
*/
17
[[nodiscard]]
static
std::optional<Model>
deserialize
(
const
std::filesystem::path& filepath);
18
};
19
20
21
#endif
// PSIM_INPUTMANAGER_H
InputManager
Definition:
inputManager.h:10
InputManager::deserialize
static std::optional< Model > deserialize(const std::filesystem::path &filepath)
Definition:
inputManager.cpp:22
InputManager::InputManager
InputManager()=delete
Model
Definition:
model.h:29
psim
include
psim
inputManager.h
Generated by
1.9.1