|
[P]arallel [Hi]gh-order [Li]brary for [P]DEs
Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
|
#include <adaptive_sampling_base.h>
Public Member Functions | |
| 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. | |
| virtual int | run_sampling () const =0 |
| Run Sampling Procedure. | |
| 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 | |
| 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... | |
Adaptive sampling base class Can then be built with or without hyperreduction
Definition at line 25 of file adaptive_sampling_base.h.
| dealii::ConditionalOStream PHiLiP::AdaptiveSamplingBase< dim, nstate >::pcout |
ConditionalOStream.
Used as std::cout, but only prints if mpi_rank == 0
Definition at line 64 of file adaptive_sampling_base.h.