27 #ifndef ANALYTICALSOLUTION_H_ 28 #define ANALYTICALSOLUTION_H_ 30 #include <lifev/core/LifeV.hpp> 57 Real e = std::exp (-d*d*t*nu);
62 return -a * e * ( std::exp (a * x) * std::sin (a * y + d * z) + std::exp (a * z) * std::cos (a * x + d * y) );
64 return -a * e * ( std::exp (a * y) * std::sin (a * z + d * x) + std::exp (a * x) * std::cos (a * y + d * z) );
66 return -a * e * ( std::exp (a * z) * std::sin (a * x + d * y) + std::exp (a * y) * std::cos (a * z + d * x) );
80 Real e = std::exp (-d* d* t * nu);
88 return -a* e * ( a* std::exp (a* x) * std::sin (a* y + d* z) - a* std::exp (a* z) * std::sin (a* x + d* y) );
90 return -a* e * ( d* std::exp (a* y) * std::cos (a* z + d* x) + a* std::exp (a* x) * std::cos (a* y + d* z) );
92 return -a* e * ( a* std::exp (a* z) * std::cos (a* x + d* y) - d* std::exp (a* y) * std::sin (a* z + d* x) );
100 return -a* e * ( a* std::exp (a* x) * std::cos (a* y + d* z) - d* std::exp (a* z) * std::sin (a* x + d* y) );
102 return -a* e * ( a* std::exp (a* y) * std::sin (a* z + d* x) - a* std::exp (a* x) * std::sin (a* y + d* z) );
104 return -a* e * ( d* std::exp (a* z) * std::cos (a* x + d* y) + a* std::exp (a* y) * std::cos (a* z + d* x) );
112 return -a* e * ( d* std::exp (a* x) * std::cos (a* y + d* z) + a* std::exp (a* z) * std::cos (a* x + d* y) );
114 return -a* e * ( a* std::exp (a* y) * std::cos (a* z + d* x) - d* std::exp (a* x) * std::sin (a* y + d* z) );
116 return -a* e * ( a* std::exp (a* z) * std::sin (a* x + d* y) - a* std::exp (a* y) * std::sin (a* z + d* x) );
static Real u_ex(const Real &t, const Real &x, const Real &y, const Real &z, const UInt &i)
static Real grad_ex(const UInt &icoor, const Real &t, const Real &x, const Real &y, const Real &z, const UInt &i)
Real grad(UInt icoor, const Real &t, const Real &x, const Real &y, const Real &z, const UInt &ic) const
double Real
Generic real data.
Real operator()(const Real &t, const Real &x, const Real &y, const Real &z, const UInt &ic) const
uint32_type UInt
generic unsigned integer (used mainly for addressing)