libMesh
|
Go to the source code of this file.
Functions | |
Real | exact_solution (const Real x, const Real y, const Real t) |
This is the exact solution that we are trying to obtain. More... | |
Real exact_solution | ( | const Real | x, |
const Real | y, | ||
const Real | t | ||
) |
This is the exact solution that we are trying to obtain.
We will solve
and take a finite difference approximation using this function to get f. This is the well-known "method of manufactured solutions".
Definition at line 36 of file exact_solution.C.
References libMesh::pi, libMesh::Utility::pow(), and libMesh::Real.
Referenced by assemble_cd(), assemble_poisson(), exact_solution_wrapper(), and exact_value().