[P]arallel [Hi]gh-order [Li]brary for [P]DEs  Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
PHiLiP::ManufacturedSolutionFactory< dim, real > Class Template Reference

Manufactured solution function factory. More...

#include <manufactured_solution.h>

Collaboration diagram for PHiLiP::ManufacturedSolutionFactory< dim, real >:

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.
 

Detailed Description

template<int dim, typename real>
class PHiLiP::ManufacturedSolutionFactory< dim, real >

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.


The documentation for this class was generated from the following files: