planeWall.hpp
Go to the documentation of this file.
1 /*------------------------------- phasicFlow ---------------------------------
2  O C enter of
3  O O E ngineering and
4  O O M ultiscale modeling of
5  OOOOOOO F luid flow
6 ------------------------------------------------------------------------------
7  Copyright (C): www.cemf.ir
8  email: hamid.r.norouzi AT gmail.com
9 ------------------------------------------------------------------------------
10 Licence:
11  This file is part of phasicFlow code. It is a free software for simulating
12  granular and multiphase flows. You can redistribute it and/or modify it under
13  the terms of GNU General Public License v3 or any other later versions.
14 
15  phasicFlow is distributed to help others in their research in the field of
16  granular and multiphase flows, but WITHOUT ANY WARRANTY; without even the
17  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 
19 -----------------------------------------------------------------------------*/
20 
21 
22 #ifndef __planeWall_hpp__
23 #define __planeWall_hpp__
24 
25 
26 #include "Wall.hpp"
27 #include "types.hpp"
28 
29 namespace pFlow
30 {
31 
32 class planeWall
33 :
34  public Wall
35 {
36 protected:
37 
38  bool readPlaneWall(const dictionary& dict);
39 
40  bool addWall4(
41  const realx3& p1,
42  const realx3& p2,
43  const realx3& p3,
44  const realx3& p4);
45 
46  bool checkFlatness(
47  const realx3& p1,
48  const realx3& p2,
49  const realx3& p3,
50  const realx3& p4);
51 
52  bool addPlaneWall(
53  const realx3& p1,
54  const realx3& p2,
55  const realx3& p3,
56  const realx3& p4,
57  int32 numDiv12 = 1,
58  int32 numDiv23 = 1);
59 
60 public:
61 
62  TypeInfo("planeWall");
63 
64  planeWall();
65 
66  planeWall(const dictionary& dict);
67 
68  planeWall(
69  const realx3& p1,
70  const realx3& p2,
71  const realx3& p3,
72  const realx3& p4,
73  int32 numDiv12 = 1,
74  int32 numDiv23 = 1);
75 
76  add_vCtor
77  (
78  Wall,
79  planeWall,
81  );
82 
83 
84 };
85 
86 } // pFlow
87 
88 
89 #endif
pFlow::planeWall::add_vCtor
add_vCtor(Wall, planeWall, dictionary)
pFlow::planeWall::readPlaneWall
bool readPlaneWall(const dictionary &dict)
Definition: planeWall.cpp:26
pFlow::planeWall
Definition: planeWall.hpp:32
Wall.hpp
types.hpp
pFlow
Definition: demComponent.hpp:28
pFlow::planeWall::addWall4
bool addWall4(const realx3 &p1, const realx3 &p2, const realx3 &p3, const realx3 &p4)
Definition: planeWall.cpp:58
pFlow::int32
int int32
Definition: builtinTypes.hpp:53
pFlow::planeWall::addPlaneWall
bool addPlaneWall(const realx3 &p1, const realx3 &p2, const realx3 &p3, const realx3 &p4, int32 numDiv12=1, int32 numDiv23=1)
Definition: planeWall.cpp:84
pFlow::planeWall::planeWall
planeWall()
Definition: planeWall.cpp:133
pFlow::planeWall::checkFlatness
bool checkFlatness(const realx3 &p1, const realx3 &p2, const realx3 &p3, const realx3 &p4)
Definition: planeWall.cpp:73
pFlow::planeWall::TypeInfo
TypeInfo("planeWall")
pFlow::triple< real >
pFlow::Wall
Definition: Wall.hpp:41
pFlow::dictionary
Definition: dictionary.hpp:38