Chombo + EB + MF  3.2
PlaneIF.H
Go to the documentation of this file.
1 #ifdef CH_LANG_CC
2 /*
3  * _______ __
4  * / ___/ / ___ __ _ / / ___
5  * / /__/ _ \/ _ \/ V \/ _ \/ _ \
6  * \___/_//_/\___/_/_/_/_.__/\___/
7  * Please refer to Copyright.txt, in Chombo's root directory.
8  */
9 #endif
10 
11 #ifndef _PLANEIF_H_
12 #define _PLANEIF_H_
13 
14 #include "MayDay.H"
15 #include "RealVect.H"
16 
17 #include "HyperPlaneIF.H"
18 
19 #include "NamespaceHeader.H"
20 
21 ///
22 /**
23  This implicit function specifies a plane.
24  */
25 class PlaneIF: public HyperPlaneIF
26 {
27 public:
28  ///
29  /**
30  Constructor specifying plane normal (a_normal), a point on the plance
31  (a_point), and whether the domain is the same side as the normal
32  (a_inside).
33  */
34  PlaneIF(const RealVect& a_normal,
35  const RealVect& a_point,
36  const bool& a_inside);
37 
38  /// Destructor
39  virtual ~PlaneIF()
40  {
41  }
42 
43 protected:
44 
45 private:
46  PlaneIF();
47 
48 };
49 
50 #include "NamespaceFooter.H"
51 #endif
Definition: PlaneIF.H:25
virtual ~PlaneIF()
Destructor.
Definition: PlaneIF.H:39
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
Definition: HyperPlaneIF.H:25