[P]arallel [Hi]gh-order [Li]brary for [P]DEs
Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
|
Manufactured solution function factory. More...
#include <manufactured_solution.h>
Static Public Member Functions | |
static std::shared_ptr< ManufacturedSolutionFunction< dim, real > > | create_ManufacturedSolution (Parameters::AllParameters const *const param, int nstate) |
Construct Manufactured solution object from global parameter file. | |
static std::shared_ptr< ManufacturedSolutionFunction< dim, real > > | create_ManufacturedSolution (ManufacturedSolutionEnum solution_type, int nstate) |
Construct Manufactured solution object from enumerator list. | |
Private Types | |
using | ManufacturedSolutionEnum = Parameters::ManufacturedSolutionParam::ManufacturedSolutionType |
Enumeration of all manufactured solution types defined in the Parameters class. | |
Manufactured solution function factory.
Based on input from Parameters file, generates a standard form of manufactured solution function with suitable value, gradient and hessian functions for the chosen distribution type.
Functions are selected from enumerator list in Parameters::ManufacturedSolutionParam::ManufacturedSolutionType
Some Manufactured solutions included additional scaling constants that can also be can also be controlled from the parameter file
Definition at line 723 of file manufactured_solution.h.