fe_compute_data.h
Go to the documentation of this file.
1 // The libMesh Finite Element Library.
2 // Copyright (C) 2002-2018 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner
3 
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either
7 // version 2.1 of the License, or (at your option) any later version.
8 
9 // This library is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 // Lesser General Public License for more details.
13 
14 // You should have received a copy of the GNU Lesser General Public
15 // License along with this library; if not, write to the Free Software
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 
18 
19 #ifndef LIBMESH_FE_COMPUTE_DATA_H
20 #define LIBMESH_FE_COMPUTE_DATA_H
21 
22 // Local includes
23 #include "libmesh/libmesh.h"
24 
25 // C++ includes
26 #include <vector>
27 
28 namespace libMesh
29 {
30 
31 // Forward declarations
32 class EquationSystems;
33 class Point;
34 
51 {
52 public:
58  const Point & pin) :
59  equation_systems(es),
60  p(pin)
61  {
62  this->clear();
63  }
64 
70 
74  const Point & p;
75 
79  std::vector<Number> shape;
80 
81 
82 #ifdef LIBMESH_ENABLE_INFINITE_ELEMENTS
83 
87 
92 
99 #endif
100 
104  void clear ();
105 
110  void init ();
111 };
112 
113 
114 } // namespace libMesh
115 
116 #endif // LIBMESH_FE_COMPUTE_DATA_H
FEComputeData(const EquationSystems &es, const Point &pin)
Manages multiples systems of equations.
const EquationSystems & equation_systems
Helper class used with FEInterface::compute_data().
std::vector< Number > shape
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
A geometric point in (x,y,z) space.
Definition: point.h:38