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

#include <manufactured_solution.h>

Inheritance diagram for PHiLiP::ManufacturedSolutionExample< dim, real >:
Collaboration diagram for PHiLiP::ManufacturedSolutionExample< dim, real >:

Public Member Functions

 ManufacturedSolutionExample (const unsigned int nstate=1)
 Constructor.
 
real value (const dealii::Point< dim, real > &point, const unsigned int istate=0) const override
 Value.
 
dealii::Tensor< 1, dim, real > gradient (const dealii::Point< dim, real > &point, const unsigned int istate=0) const override
 Gradient.
 
dealii::SymmetricTensor< 2, dim, real > hessian (const dealii::Point< dim, real > &point, const unsigned int istate=0) const override
 Hessian.
 
- Public Member Functions inherited from PHiLiP::ManufacturedSolutionFunction< dim, real >
 ManufacturedSolutionFunction (const unsigned int nstate=1)
 Constructor that initializes base_values, amplitudes, frequencies. More...
 
dealii::Tensor< 1, dim, real > gradient_fd (const dealii::Point< dim, real > &point, const unsigned int istate=0) const
 Uses finite-difference to evaluate the gradient.
 
dealii::SymmetricTensor< 2, dim, real > hessian_fd (const dealii::Point< dim, real > &point, const unsigned int istate=0) const
 Uses finite-difference to evaluate the hessian.
 
std::vector< real > stdvector_values (const dealii::Point< dim, real > &point) const
 Same as Function::values() except it returns it into a std::vector format.
 
void vector_gradient (const dealii::Point< dim, real > &p, std::vector< dealii::Tensor< 1, dim, real > > &gradients) const
 See dealii::Function<dim,real>::vector_gradient.
 

Additional Inherited Members

- Public Attributes inherited from PHiLiP::ManufacturedSolutionFunction< dim, real >
const unsigned int nstate
 
- Protected Attributes inherited from PHiLiP::ManufacturedSolutionFunction< dim, real >
std::vector< double > base_values
 
std::vector< double > amplitudes
 
std::vector< dealii::Tensor< 1, dim, real > > frequencies
 

Detailed Description

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

Sum of example manufactured solutions (i.e. those used in group lab presentation on implementing Manufactured Solutions).

Definition at line 511 of file manufactured_solution.h.


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