LifeV
ElectroStimulus.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  @file
28  @brief Base class for applying cardiac stimulus
29 
30  @date 11-2013
31  @author Toni Lassila <toni.lassila@epfl.ch>
32 
33  @last update 11-2013
34  */
35 
36 
37 #ifndef ELECTROSTIMULUS_HPP_
38 #define ELECTROSTIMULUS_HPP_
39 
40 #include <lifev/core/array/VectorEpetra.hpp>
41 #include <Teuchos_RCP.hpp>
42 #include <Teuchos_ParameterList.hpp>
43 #include "Teuchos_XMLParameterListHelpers.hpp"
44 namespace LifeV
45 {
46 
47 class ElectroStimulus
48 {
49 
50 public:
51 
52  //! @name Type definitions
53  //@{
54  typedef VectorEpetra vector_Type;
55  typedef std::shared_ptr<VectorEpetra> vectorPtr_Type;
56  typedef Teuchos::ParameterList list_Type;
57 
58  //@}
59 
60  //! @name Constructors & Destructor
61  //@{
62 
63  //!Empty Constructor
64  /*!
65  */
66  ElectroStimulus();
67 
68  //! Destructor
69  virtual ~ElectroStimulus() {};
70 
71  //@}
72 
73  //! @name Get Methods
74  //@{
75 
76  //@}
77 
78  //! @name Set Methods
79  //@{
80 
81 
82  //@}
83 
84  //! @name Copy Methods
85  //@{
86 
87  //@}
88 
89  //! @name Methods
90  //@{
91  inline virtual Real appliedCurrent ( const Real& t, const Real& x, const Real& y, const Real& z, const ID& i )
92  {
93  return 0.0;
94  }
95 
96  virtual void setParameters (list_Type& list)
97  {
98 
99  }
100 
101  virtual void showMe ()
102  {
103 
104  }
105 
106  //@}
107 
108 private:
109 
110 };
111 
112 
113 } // namespace LifeV
114 
115 #endif /* ELECTROSTIMULUS_HPP_ */
VectorEpetra - The Epetra Vector format Wrapper.
void updateInverseJacobian(const UInt &iQuadPt)
uint32_type ID
IDs.
Definition: LifeV.hpp:194
double Real
Generic real data.
Definition: LifeV.hpp:175