PhysicsBasedAnimationToolkit 0.0.10
Cross-platform C++20 library of algorithms and data structures commonly used in computer graphics research on physically-based simulation.
Loading...
Searching...
No Matches
Hierarchy.h
1#ifndef PBAT_SIM_VBD_MULTIGRID_HIERARCHY_H
2#define PBAT_SIM_VBD_MULTIGRID_HIERARCHY_H
3
4#include "Level.h"
5#include "pbat/sim/vbd/Data.h"
6#include "pbat/sim/vbd/Mesh.h"
7
8#include <vector>
9
10namespace pbat {
11namespace sim {
12namespace vbd {
13namespace multigrid {
14
15struct Hierarchy
16{
17 Hierarchy(
18 Data data,
19 std::vector<VolumeMesh> cages,
20 IndexVectorX const& cycle = {},
21 IndexVectorX const& siters = {});
22
24 std::vector<Level> levels;
29};
30
31} // namespace multigrid
32} // namespace vbd
33} // namespace sim
34} // namespace pbat
35
36#endif // PBAT_SIM_VBD_MULTIGRID_HIERARCHY_H
PBAT's Vertex Block Descent (VBD) anka2024vbd API.
Definition AndersonIntegrator.cpp:10
PBAT simulation algorithms.
The main namespace of the library.
Definition Aliases.h:15
Eigen::Vector< Index, Eigen::Dynamic > IndexVectorX
Dynamic-size index vector type.
Definition Aliases.h:49
VBD simulation configuration.
Definition Data.h:15
std::vector< Level > levels
Coarse levels.
Definition Hierarchy.h:24
Data data
Root level.
Definition Hierarchy.h:23
IndexVectorX siters
|#cages+1| max smoother iterations at each level, starting from the root
Definition Hierarchy.h:28
IndexVectorX cycle
Definition Hierarchy.h:25