| [P]arallel [Hi]gh-order [Li]brary for [P]DEs
    Latest
    Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods | 
Shocked 1D solution for 1 state variable. More...
| Public Member Functions | |
| Shocked1D1State (const unsigned int nstate=1) | |
| Constructor that initializes base_values, amplitudes, frequencies.  More... | |
| virtual real | value (const dealii::Point< dim, real > &point, const unsigned int) const override | 
| Manufactured solution exact value.  More... | |
| virtual dealii::Tensor< 1, dim, real > | gradient (const dealii::Point< dim, real > &point, const unsigned int) const override | 
| Gradient of the exact manufactured solution.  More... | |
| virtual dealii::SymmetricTensor< 2, dim, real > | hessian (const dealii::Point< dim, real > &point, const unsigned int) const override | 
| Hessian of the exact manufactured solution.  More... | |
|  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 | 
Shocked 1D solution for 1 state variable.
This class also provides derivatives necessary to evaluate source terms.
Definition at line 40 of file shock_1d.cpp.
| 
 | inlineexplicit | 
Constructor that initializes base_values, amplitudes, frequencies.
Calls the Function(const unsigned int n_components) constructor in deal.II This sets the public attribute n_components = nstate, which can then be accessed by all the other functions
Definition at line 53 of file shock_1d.cpp.
| 
 | inlineoverridevirtual | 
Gradient of the exact manufactured solution.
\( \nabla u = 1 \)
Implements PHiLiP::ManufacturedSolutionFunction< dim, real >.
Definition at line 77 of file shock_1d.cpp.
| 
 | inlineoverridevirtual | 
Hessian of the exact manufactured solution.
\( \nabla^2 u = 0 \)
Implements PHiLiP::ManufacturedSolutionFunction< dim, real >.
Definition at line 92 of file shock_1d.cpp.
| 
 | inlineoverridevirtual | 
Manufactured solution exact value.
\( u = x \) when \( x < 0.5 \) \( u = x-1 \) when \( x < 0.5 \)
Implements PHiLiP::ManufacturedSolutionFunction< dim, real >.
Definition at line 62 of file shock_1d.cpp.