Peano
Loading...
Searching...
No Matches
Interface.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/Coordinate.h
"
6
#include "
toolbox/curvi/input/YAMLInput.h
"
7
#include "
toolbox/curvi/interpolation/LagrangeInterpolation.h
"
8
9
namespace
toolbox
{
10
namespace
curvi {
11
class
Interface
{
12
public
:
13
Interface
(std::string file,
double
a_offset[3],
double
a_size[3], uint a_elements[3],
int
a_order);
14
15
~Interface
();
16
17
void
initTree
();
18
19
Root
*
getRoot
();
20
21
double
invertProjection
(
Coordinate
coord,
double
coords[3]);
22
23
Block
getElement
(
double
* nodes,
int
ez,
int
ey,
int
ex);
24
25
private
:
26
int
order
;
27
28
Root
*
root
;
29
30
double
offset
[3];
31
double
size
[3];
32
uint
elements
[3];
33
uint
modes
[3];
34
uint
grid
[3];
35
};
36
}
// namespace curvi
37
}
// namespace toolbox
Coordinate.h
LagrangeInterpolation.h
YAMLInput.h
toolbox::curvi::Block
Definition
Block.h:12
toolbox::curvi::Interface
Definition
Interface.h:11
toolbox::curvi::Interface::getRoot
Root * getRoot()
toolbox::curvi::Interface::elements
uint elements[3]
Definition
Interface.h:32
toolbox::curvi::Interface::modes
uint modes[3]
Definition
Interface.h:33
toolbox::curvi::Interface::order
int order
Definition
Interface.h:26
toolbox::curvi::Interface::getElement
Block getElement(double *nodes, int ez, int ey, int ex)
toolbox::curvi::Interface::root
Root * root
Definition
Interface.h:28
toolbox::curvi::Interface::offset
double offset[3]
Definition
Interface.h:30
toolbox::curvi::Interface::invertProjection
double invertProjection(Coordinate coord, double coords[3])
toolbox::curvi::Interface::Interface
Interface(std::string file, double a_offset[3], double a_size[3], uint a_elements[3], int a_order)
toolbox::curvi::Interface::initTree
void initTree()
toolbox::curvi::Interface::size
double size[3]
Definition
Interface.h:31
toolbox::curvi::Interface::~Interface
~Interface()
toolbox::curvi::Root
Definition
Root.h:11
grid
Definition
__init__.py:1
toolbox::curvi::Coordinate
Coordinate
Definition
Coordinate.h:10
toolbox
Definition
InterpolationRestriction.h:10
src
toolbox
curvi
interface
Interface.h
Generated on Wed Nov 4 2026 21:28:43 for Peano by
1.9.8