periodic_boundary.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 #ifndef LIBMESH_PERIODIC_BOUNDARY_H
20 #define LIBMESH_PERIODIC_BOUNDARY_H
21 
22 // Local Includes -----------------------------------
23 #include "libmesh/libmesh_config.h"
24 
25 #ifdef LIBMESH_ENABLE_PERIODIC
26 
27 // Local Includes -----------------------------------
29 #include "libmesh/vector_value.h" // RealVectorValue
30 
31 namespace libMesh {
32 
33  // Forward Declarations
34  class Elem;
35  class MeshBase;
36 
41  {
42  public:
47 
51  virtual ~PeriodicBoundary() {}
52 
57 
61  PeriodicBoundary(const RealVectorValue& vector);
62 
68  virtual Point get_corresponding_pos(const Point& pt) const;
69 
76 
77  protected:
78  // One of these days we'll support rotated boundaries
79  // RealTensor rotation_matrix;
80 
81  // The vector which is added to points in myboundary
82  // to produce corresponding points in pairedboundary
84  };
85 
86 } // namespace libmesh
87 
88 #endif // LIBMESH_ENABLE_PERIODIC
89 
90 #endif // LIBMESH_PERIODIC_BOUNDARY_H

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

Hosted By:
SourceForge.net Logo