LifeV
ExpressionMeasBDCurrentFE.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_MEASBDCURRENTFE_HPP
36 #define EXPRESSION_MEASBDCURRENTFE_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 //! ExpressionMeasBDCurrentFE - Expression for the measure of the element
51 /*!
52  @author Samuel Quinodoz
53  */
54 class ExpressionMeasBDCurrentFE : public ExpressionBase< ExpressionMeasBDCurrentFE >
55 {
56 public:
57 
58  //! @name Public Types
59  //@{
60 
61  typedef ExpressionBase<ExpressionMeasBDCurrentFE> base_Type;
62 
63  //@}
64 
65 
66  //! @name Constructor & Destructor
67  //@{
68 
69  //! Empty Constructor
70  ExpressionMeasBDCurrentFE()
71  : base_Type() {}
72 
73  //! Copy constructor
74  ExpressionMeasBDCurrentFE ( const ExpressionMeasBDCurrentFE& /*expression*/)
75  : base_Type() {}
76 
77  //! Destructor
78  ~ExpressionMeasBDCurrentFE(){}
79 
80  //@}
81 
82 
83  //! @name Methods
84  //@{
85 
86  //! Display method
87  static void display (std::ostream& out = std::cout)
88  {
89  out << "meas_K";
90  }
91 
92 
93  //@}
94 
95  //! @name Get Methods
96  //@{
97 
98  //@}
99 
100 
101 private:
102  //! @name Private Methods
103  //@{
104 
105 
106  //@}
107 
108 };
109 
110 const ExpressionMeasBDCurrentFE meas_BDk;
111 
112 } // Namespace ExpressionAssembly
113 
114 } // Namespace LifeV
115 
116 #endif /* EXPRESSION_MEAS_HPP */
void updateInverseJacobian(const UInt &iQuadPt)
class ExpressionBase Base class (static polymorphism, CRTP sense) for all the expressions used in ass...