LifeV
ExpressionMeas.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 Expression for the measure of the element
30 
31  @author Samuel Quinodoz <samuel.quinodoz@epfl.ch>
32  @date 03 Jan 2012
33  */
34 
35 #ifndef EXPRESSION_MEAS_HPP
36 #define EXPRESSION_MEAS_HPP
37 
38 #include <lifev/core/LifeV.hpp>
39 
40 #include <lifev/eta/expression/ExpressionBase.hpp>
41 
42 #include <iostream>
43 
44 namespace LifeV
45 {
46 
47 namespace ExpressionAssembly
48 {
49 
50 //! ExpressionMeas - Expression for the measure of the element
51 /*!
52  @author Samuel Quinodoz
53  */
54 class ExpressionMeas : public ExpressionBase< ExpressionMeas >
55 {
56 public:
57 
58  //! @name Public Types
59  //@{
60 
61  typedef ExpressionBase<ExpressionMeas> base_Type;
62 
63  //@}
64 
65 
66  //! @name Constructor & Destructor
67  //@{
68 
69  //! Empty Constructor
70  ExpressionMeas();
71 
72  //! Copy constructor
73  ExpressionMeas ( const ExpressionMeas& );
74 
75  //! Destructor
76  ~ExpressionMeas();
77 
78  //@}
79 
80 
81  //! @name Methods
82  //@{
83 
84  //! Display method
85  static void display (std::ostream& out = std::cout);
86 
87  //@}
88 };
89 
90 //! Instance to be used in the expressions
91 const ExpressionMeas meas_K;
92 
93 } // Namespace ExpressionAssembly
94 
95 } // Namespace LifeV
96 
97 #endif /* EXPRESSION_MEAS_HPP */
void updateInverseJacobian(const UInt &iQuadPt)
class ExpressionBase Base class (static polymorphism, CRTP sense) for all the expressions used in ass...