PolyFEM
Loading...
Searching...
No Matches
InputLoader.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
polyfem/io/ResourceIO.hpp
>
4
5
namespace
polyfem::io
6
{
7
class
LoadedInput
8
{
9
public
:
10
json
config
;
11
std::unique_ptr<const ResourceIO>
resources
;
12
};
13
14
LoadedInput
load_json_input
(
const
std::filesystem::path &path);
15
LoadedInput
load_yaml_input
(
const
std::filesystem::path &path);
16
LoadedInput
load_hdf5_input
(
const
std::filesystem::path &path);
17
}
// namespace polyfem::io
ResourceIO.hpp
polyfem::io::LoadedInput
Definition
InputLoader.hpp:8
polyfem::io::LoadedInput::config
json config
Definition
InputLoader.hpp:10
polyfem::io::LoadedInput::resources
std::unique_ptr< const ResourceIO > resources
Definition
InputLoader.hpp:11
polyfem::io
Definition
Checkpoint.cpp:21
polyfem::io::load_json_input
LoadedInput load_json_input(const std::filesystem::path &path)
polyfem::io::load_hdf5_input
LoadedInput load_hdf5_input(const std::filesystem::path &path)
polyfem::io::load_yaml_input
LoadedInput load_yaml_input(const std::filesystem::path &path)
polyfem::json
nlohmann::json json
Definition
Common.hpp:9
src
polyfem
io
InputLoader.hpp
Generated by
1.9.8