|
[P]arallel [Hi]gh-order [Li]brary for [P]DEs
Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
|
Class for Online Proper Orthogonal Decomposition basis. This class takes snapshots on the fly and computes a POD basis for use in adaptive sampling. More...
#include <pod_basis_online.h>
Public Member Functions | |
| OnlinePOD (std::shared_ptr< dealii::TrilinosWrappers::SparseMatrix > _system_matrix) | |
| Constructor. | |
| std::shared_ptr< dealii::TrilinosWrappers::SparseMatrix > | getPODBasis () override |
| Function to get POD basis for all derived classes. | |
| dealii::LinearAlgebra::ReadWriteVector< double > | getReferenceState () override |
| Function to get POD reference state. | |
| MatrixXd | getSnapshotMatrix () override |
| Function to get snapshot matrix used to build POD basis. | |
| void | addSnapshot (dealii::LinearAlgebra::distributed::Vector< double > snapshot) |
| Add snapshot. | |
| void | computeBasis () |
| Compute new POD basis from snapshots. | |
Public Member Functions inherited from PHiLiP::ProperOrthogonalDecomposition::PODBase< dim > | |
| virtual | ~PODBase ()=default |
| Virtual destructor. | |
Public Attributes | |
| std::shared_ptr< dealii::TrilinosWrappers::SparseMatrix > | basis |
| POD basis. | |
| dealii::LinearAlgebra::ReadWriteVector< double > | referenceState |
| Reference state. | |
| std::shared_ptr< dealii::TrilinosWrappers::SparseMatrix > | system_matrix |
| For sparsity pattern of system matrix. | |
| dealii::LAPACKFullMatrix< double > | dealiiSnapshotMatrix |
| LAPACK matrix of snapshots for nice printing. | |
| MatrixXd | snapshotMatrix |
| Matrix containing snapshots. | |
| const MPI_Comm | mpi_communicator |
| MPI communicator. | |
| const int | mpi_rank |
| MPI rank. | |
| dealii::ConditionalOStream | pcout |
| ConditionalOStream. More... | |
Class for Online Proper Orthogonal Decomposition basis. This class takes snapshots on the fly and computes a POD basis for use in adaptive sampling.
Definition at line 24 of file pod_basis_online.h.
| dealii::ConditionalOStream PHiLiP::ProperOrthogonalDecomposition::OnlinePOD< dim >::pcout |
ConditionalOStream.
Used as std::cout, but only prints if mpi_rank == 0
Definition at line 66 of file pod_basis_online.h.