fem_physics.h
Go to the documentation of this file.
1 
2 // The libMesh Finite Element Library.
3 // Copyright (C) 2002-2014 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner
4 
5 // This library is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU Lesser General Public
7 // License as published by the Free Software Foundation; either
8 // version 2.1 of the License, or (at your option) any later version.
9 
10 // This library is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 // Lesser General Public License for more details.
14 
15 // You should have received a copy of the GNU Lesser General Public
16 // License along with this library; if not, write to the Free Software
17 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 
19 
20 
21 #ifndef LIBMESH_FEM_PHYSICS_H
22 #define LIBMESH_FEM_PHYSICS_H
23 
24 // Local Includes
25 #include "libmesh/libmesh.h" // for libMesh::invalid_uint
26 #include "libmesh/diff_physics.h"
27 
28 // C++ includes
29 
30 namespace libMesh
31 {
32 
45 // ------------------------------------------------------------
46 // Finite Element Method Physics class definition
47 
48 class FEMPhysics : public virtual DifferentiablePhysics
49 {
50 public:
51 
57  {}
58 
62  virtual ~FEMPhysics () {}
63 
78  virtual bool eulerian_residual (bool request_jacobian,
79  DiffContext &context);
80 
81 
93  virtual bool mass_residual (bool request_jacobian,
94  DiffContext &);
95 };
96 
97 
98 
99 } // namespace libMesh
100 
101 
102 #endif // LIBMESH_FEM_PHYSICS_H

Site Created By: libMesh Developers
Last modified: February 07 2014 16:57:05 UTC

Hosted By:
SourceForge.net Logo