|
[P]arallel [Hi]gh-order [Li]brary for [P]DEs
Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
|
POD adaptive sampling. More...
#include <pod_adaptive_sampling.h>
Public Member Functions | |
| AdaptiveSampling (const PHiLiP::Parameters::AllParameters *const parameters_input, const dealii::ParameterHandler ¶meter_handler_input) | |
| Constructor. | |
| ~AdaptiveSampling () | |
| Destructor. | |
| int | run_sampling () const override |
| Run Sampling Procedure. | |
| bool | placeROMLocations (const MatrixXd &rom_points) const |
| Placement of ROMs. | |
| void | trueErrorROM (const MatrixXd &rom_points) const |
| Compute true/actual error at all ROM points (error in functional between FOM and ROM solution) | |
| double | solveSnapshotROMandFOM (const RowVectorXd ¶meter) const |
| Solve FOM and ROM, return error in functional between the models. | |
| void | solveFunctionalROM (const RowVectorXd ¶meter) const |
| Solve ROM and track functional. | |
| void | updateNearestExistingROMs (const RowVectorXd ¶meter) const |
| Updates nearest ROM points to snapshot if error discrepancy is above tolerance. | |
| std::unique_ptr< ProperOrthogonalDecomposition::ROMSolution< dim, nstate > > | solveSnapshotROM (const RowVectorXd ¶meter) const |
| Solve reduced-order solution. | |
Public Member Functions inherited from PHiLiP::AdaptiveSamplingBase< dim, nstate > | |
| AdaptiveSamplingBase (const PHiLiP::Parameters::AllParameters *const parameters_input, const dealii::ParameterHandler ¶meter_handler_input) | |
| Default constructor that will set the constants. | |
| virtual | ~AdaptiveSamplingBase ()=default |
| Virtual destructor. | |
| virtual void | outputIterationData (std::string iteration) const |
| Output for each iteration. | |
| RowVectorXd | readROMFunctionalPoint () const |
| Find point to solve for functional from param file. | |
| void | placeInitialSnapshots () const |
| Placement of initial snapshots. | |
| virtual RowVectorXd | getMaxErrorROM () const |
| Compute RBF and find max error. | |
| dealii::LinearAlgebra::distributed::Vector< double > | solveSnapshotFOM (const RowVectorXd ¶meter) const |
| Solve full-order snapshot. | |
| Parameters::AllParameters | reinit_params (const RowVectorXd ¶meter) const |
| Reinitialize parameters. | |
| void | configureInitialParameterSpace () const |
| Set up parameter space depending on test case. | |
Public Attributes | |
| std::vector< double > | rom_functional |
| Functional value predicted by the rom at each sammpling iteration at parameter location specified in the inputs. | |
Public Attributes inherited from PHiLiP::AdaptiveSamplingBase< dim, nstate > | |
| const Parameters::AllParameters *const | all_parameters |
| Pointer to all parameters. | |
| const dealii::ParameterHandler & | parameter_handler |
| Parameter handler for storing the .prm file being ran. | |
| MatrixXd | snapshot_parameters |
| Matrix of snapshot parameters. | |
| std::vector< std::unique_ptr< ProperOrthogonalDecomposition::ROMTestLocation< dim, nstate > > > | rom_locations |
| Vector of parameter-ROMTestLocation pairs. | |
| std::vector< dealii::LinearAlgebra::distributed::Vector< double > > | fom_locations |
| Vector of parameter-ROMTestLocation pairs. | |
| double | max_error |
| Maximum error. | |
| std::shared_ptr< ProperOrthogonalDecomposition::OnlinePOD< dim > > | current_pod |
| Most up to date POD basis. | |
| std::shared_ptr< ProperOrthogonalDecomposition::NearestNeighbors > | nearest_neighbors |
| Nearest neighbors of snapshots. | |
| const MPI_Comm | mpi_communicator |
| MPI communicator. | |
| const int | mpi_rank |
| MPI rank. | |
| dealii::ConditionalOStream | pcout |
| ConditionalOStream. More... | |
POD adaptive sampling.
Definition at line 25 of file pod_adaptive_sampling.h.