Peano
Loading...
Searching...
No Matches
YAMLInput.h
Go to the documentation of this file.
1
// This file is part of the Peano project. For conditions of distribution and
2
// use, please see the copyright notice at www.peano-framework.org
3
#pragma once
4
5
#include "
toolbox/curvi/geometry/Face.h
"
6
#include "
toolbox/curvi/kdTree/Root.h
"
7
8
#include <string>
9
#include <yaml-cpp/yaml.h>
10
11
namespace
toolbox
{
12
namespace
curvi {
13
class
YAMLInput
{
14
public
:
15
YAMLInput
(std::string input_file);
16
17
void
parseDomain
(
double
a_offset[3],
double
a_size[3]);
18
void
parseGrid
(uint a_grid[3], uint ez, uint ey, uint ex);
19
void
parseModes
(uint mode[3]);
20
Root
*
parse
(
double
offset[3],
double
size[3], uint
grid
[3]);
21
22
private
:
23
YAML::Node
config
;
24
};
25
}
// namespace curvi
26
}
// namespace toolbox
Face.h
Root.h
toolbox::curvi::Root
Definition
Root.h:11
toolbox::curvi::YAMLInput
Definition
YAMLInput.h:13
toolbox::curvi::YAMLInput::parse
Root * parse(double offset[3], double size[3], uint grid[3])
toolbox::curvi::YAMLInput::parseGrid
void parseGrid(uint a_grid[3], uint ez, uint ey, uint ex)
toolbox::curvi::YAMLInput::config
YAML::Node config
Definition
YAMLInput.h:23
toolbox::curvi::YAMLInput::parseDomain
void parseDomain(double a_offset[3], double a_size[3])
toolbox::curvi::YAMLInput::parseModes
void parseModes(uint mode[3])
toolbox::curvi::YAMLInput::YAMLInput
YAMLInput(std::string input_file)
grid
Definition
__init__.py:1
toolbox
Definition
InterpolationRestriction.h:10
src
toolbox
curvi
input
YAMLInput.h
Generated on Wed Nov 4 2026 08:20:47 for Peano by
1.9.8