36 #ifndef EVALUATION_LAPLACIAN_J_HPP 37 #define EVALUATION_LAPLACIAN_J_HPP 39 #include <lifev/core/LifeV.hpp> 41 #include <lifev/eta/fem/ETCurrentFE.hpp> 42 #include <lifev/eta/fem/ETCurrentFlag.hpp> 43 #include <lifev/core/fem/QuadratureRule.hpp> 45 #include <lifev/core/array/VectorSmall.hpp> 47 #include <lifev/eta/expression/ExpressionLaplacianJ.hpp> 53 namespace ExpressionAssembly
65 template <
UInt fieldDim,
UInt spaceDim>
98 EvaluationLaplacianJ() {}
104 explicit EvaluationLaplacianJ (
const ExpressionLaplacianJ& ) {}
107 ~EvaluationLaplacianJ() {}
119 static void display (std::ostream& out = std::cout)
121 out <<
"laplacian(phi_i[3])[" << spaceDim <<
"]";
131 template<
typename CFEType >
132 void setGlobalCFE (
const CFEType* ) {}
135 template<
typename CFEType >
136 void setTestCFE (
const CFEType* )
140 template<
typename CFEType >
141 void setSolutionCFE (
const CFEType* solutionCFE)
143 ASSERT (solutionCFE != 0,
"Nul pointer to the testCFE cannot be set");
144 M_valuesPtr = & (solutionCFE->M_laplacian);
157 const return_Type& value_qij (
const UInt& q,
const UInt& ,
const UInt& j)
const 159 return (*M_valuesPtr) [q][j];
172 template<
UInt fieldDim,
UInt spaceDim>
175 template<
UInt fieldDim,
UInt spaceDim>
178 template<
UInt fieldDim,
UInt spaceDim>
190 template <
UInt spaceDim>
223 EvaluationLaplacianJ() {}
229 explicit EvaluationLaplacianJ (
const ExpressionLaplacianJ& ) {}
232 ~EvaluationLaplacianJ() {}
244 static void display (std::ostream& out = std::cout)
246 out <<
"dphi_i[" << spaceDim <<
"]";
256 template<
typename CFEType >
257 void setGlobalCFE (
const CFEType* ) {}
260 template<
typename CFEType >
261 void setTestCFE (
const CFEType* testCFE)
263 ASSERT (testCFE != 0,
"Nul pointer to the testCFE cannot be set");
264 M_valuesPtr = & (testCFE->M_laplacian);
268 template<
typename CFEType >
269 void setSolutionCFE (
const CFEType* ) {}
281 const return_Type& value_qij (
const UInt& q,
const UInt& ,
const UInt& j)
const 283 return (*M_valuesPtr) [q][j];
296 template<
UInt spaceDim>
299 template<
UInt spaceDim>
302 template<
UInt spaceDim>
friend class ExpressionAssembly::EvaluationLaplacianJ
Friend to allow direct access to the raw data.
uint32_type flag_Type
bit-flag with up to 32 different flags
void updateInverseJacobian(const UInt &iQuadPt)
double Real
Generic real data.
QuadratureRule - The basis class for storing and accessing quadrature rules.
uint32_type UInt
generic unsigned integer (used mainly for addressing)