LifeV
laplacianExact.hpp
Go to the documentation of this file.
1 /*
2  * laplacianExact.hpp
3  *
4  * Created on: Jan 19, 2015
5  * Author: dalsanto
6  */
7 
8 #ifndef _LAPLACIANEXACT_HPP_
9 #define _LAPLACIANEXACT_HPP_
10 
11 #include <lifev/core/LifeV.hpp>
12 
13 
14 namespace LifeV
15 {
16 
18 {
19 public:
20  typedef Real return_Type;
21 
22  return_Type operator() ( const VectorSmall<3> spaceCoordinates )
23  {
24 
25  Real x = spaceCoordinates[0];
26  Real y = spaceCoordinates[1];
27  Real z = spaceCoordinates[2];
28 
29  return sin( M_PI * x ) * sin( M_PI * y ) * sin( M_PI * z );
30  }
31 
35 };
36 
37 } // end namespace LifeV
38 
39 
40 
41 
42 #endif /* _LAPLACIANEXACT_HPP_ */
laplacianExact(const laplacianExact &)
#define M_PI
Definition: winmath.h:20
void updateInverseJacobian(const UInt &iQuadPt)
double Real
Generic real data.
Definition: LifeV.hpp:175
return_Type operator()(const VectorSmall< 3 > spaceCoordinates)