#include <reduced_basis.hpp>
◆ ReducedBasis()
| hpfem::solvers::ReducedBasis::ReducedBasis |
( |
Index |
num_dofs, |
|
|
Real |
tolerance = 1e-10 |
|
) |
| |
|
explicit |
- Parameters
-
| num_dofs | size of the full vectors; tolerance drops snapshots whose component orthogonal to the basis is below tolerance times their norm. |
◆ add_snapshot()
| bool hpfem::solvers::ReducedBasis::add_snapshot |
( |
const Vector & |
snapshot | ) |
|
Orthonormalises the snapshot against the basis (modified Gram–Schmidt, twice) and appends it; returns false if it was (numerically) in the span already.
- Exceptions
-
◆ basis()
| const Matrix & hpfem::solvers::ReducedBasis::basis |
( |
| ) |
const |
|
inlinenoexcept |
The orthonormal basis V (num_dofs × size).
◆ lift()
| Vector hpfem::solvers::ReducedBasis::lift |
( |
const Vector & |
reduced | ) |
const |
◆ num_dofs()
| Index hpfem::solvers::ReducedBasis::num_dofs |
( |
| ) |
const |
|
inlinenoexcept |
◆ project() [1/2]
\( V^H A V \) (size × size).
◆ project() [2/2]
| Vector hpfem::solvers::ReducedBasis::project |
( |
const Vector & |
vector | ) |
const |
◆ size()
| Index hpfem::solvers::ReducedBasis::size |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following file: