Closed donovan97 closed 3 years ago
Tests have been run, all required tests pass.
Looking good. Would it be possible to provide references to some of the papers you might have used for the POD basis? For example, whenever some code closely related to a formula of a paper, mention paper and formula number.
Done in the most recent commit.
Pull request to add reduced-order methods POD-Galerkin and POD-Petrov Galerkin, with test on Burger's Rewienski.
The changes are the following:
PODGalerkinODESolver
andPODPetrovGalerkinODESolver
classes, derived fromODESolverBase
.DGBase
and can create anImplicitODESolver
or anExplicitODESolver
. One factory takes aDGBase
andPOD
and can create aPODGalerkinODESolver
andPODPetrovGalerkinODESolver
. The other two factories are identical except they also take aODESolverEnum
allowing the user to specify exactly which solver is requested (instead of choosing value specified in the parameter).POD
is changed to aTrilinosWrapper::SparseMatrix
to interface with the ODE solver classes.ReducedOrder
test which first runs 3 snapshots. This is done within the Cmake file, by calling theBurgersRewienskiSnapshot
test. TheReducedOrder
test uses the snapshots to generate a POD basis. All basis functions are used to ensure that the reduced order solution matches the full order solution exactly. If solutions do not match, test fails.