#include <laplace_exact_solution.h>
Definition at line 56 of file laplace_exact_solution.h.
◆ LaplaceExactGradient()
| LaplaceExactGradient::LaplaceExactGradient |
( |
| ) |
|
|
default |
◆ ~LaplaceExactGradient()
| LaplaceExactGradient::~LaplaceExactGradient |
( |
| ) |
|
|
default |
◆ operator()()
Definition at line 62 of file laplace_exact_solution.h.
66 {
68
69 switch(component)
70 {
71 case 0:
73 cos(hp*x)*(hp)*cos(hp*y)*cos(hp*z),
74 cos(hp*x)*sin(hp*y)*(-hp)*sin(hp*z));
75
76 case 1:
78 sin(hp*x)*(-hp)*sin(hp*y)*cos(hp*z),
79 sin(hp*x)*cos(hp*y)*(-hp)*sin(hp*z));
80
81 case 2:
83 sin(hp*x)*(-hp)*sin(hp*y)*sin(hp*z),
84 sin(hp*x)*cos(hp*y)*(hp)*cos(hp*z));
85
86 default:
87 libmesh_error_msg("Invalid component = " << component);
88 }
89 }
RealVectorValue RealGradient
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
References libMesh::pi, and libMesh::Real.
The documentation for this class was generated from the following file: