LifeV
ExpressionLaplacianJ.hpp
Go to the documentation of this file.
1 //@HEADER
2 /*
3 *******************************************************************************
4 
5  Copyright (C) 2004, 2005, 2007 EPFL, Politecnico di Milano, INRIA
6  Copyright (C) 2010 EPFL, Politecnico di Milano, Emory University
7 
8  This file is part of LifeV.
9 
10  LifeV is free software; you can redistribute it and/or modify
11  it under the terms of the GNU Lesser General Public License as published by
12  the Free Software Foundation, either version 3 of the License, or
13  (at your option) any later version.
14 
15  LifeV is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18  Lesser General Public License for more details.
19 
20  You should have received a copy of the GNU Lesser General Public License
21  along with LifeV. If not, see <http://www.gnu.org/licenses/>.
22 
23 *******************************************************************************
24 */
25 //@HEADER
26 
27 /*!
28  @file
29  @brief File containing the definition of the lapacian(phi_i) expression.
30 
31  @author Davide Forti <davide.forti@epfl.ch>
32 
33  @date 11-2014
34  */
35 
36 #ifndef EXPRESSION_LAPLACIAN_J_HPP
37 #define EXPRESSION_LAPLACIAN_J_HPP
38 
39 #include <lifev/core/LifeV.hpp>
40 
41 #include <lifev/eta/expression/ExpressionBase.hpp>
42 #include <lifev/eta/expression/ExpressionPhiJ.hpp>
43 
44 #include <iostream>
45 
46 namespace LifeV
47 {
48 
49 namespace ExpressionAssembly
50 {
51 
52 //! class ExpressionLaplacianJ Class representing the laplacian of the trial function in an expression
53 /*!
54  @author Davide Forti <davide.forti@epfl.ch>
55 */
56 class ExpressionLaplacianJ : public ExpressionBase<ExpressionLaplacianJ>
57 {
58 public:
59 
60  //! @name Public Types
61  //@{
62 
63  typedef ExpressionBase<ExpressionLaplacianJ> base_Type;
64 
65  //@}
66 
67 
68  //! @name Constructors & Destructor
69  //@{
70 
71  //! Empty constructor
72  ExpressionLaplacianJ();
73 
74  //! Copy constructor
75  ExpressionLaplacianJ (const ExpressionLaplacianJ&);
76 
77  //! Destructor
78  ~ExpressionLaplacianJ();
79 
80  //@}
81 
82  //! @name Methods
83  //@{
84 
85  //! Display method
86  static void display (std::ostream& out = std::cout);
87 
88  //@}
89 };
90 
91 //! Simple function to be used in the construction of an expression
92 /*!
93  @author Davide Forti <davide.forti@epfl.ch>
94 */
95 inline ExpressionLaplacianJ
96 laplacian (const ExpressionPhiJ& )
97 {
98  return ExpressionLaplacianJ();
99 }
100 
101 
102 } // Namespace ExpressionAssembly
103 
104 } // Namespace LifeV
105 #endif
void updateInverseJacobian(const UInt &iQuadPt)
class ExpressionBase Base class (static polymorphism, CRTP sense) for all the expressions used in ass...