www.cemf.ir
cylinderRegion.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 __cylinderRegion_hpp__
23
#define __cylinderRegion_hpp__
24
25
#include "
cylinder.hpp
"
26
#include "
uniformRandomReal.hpp
"
27
28
namespace
pFlow
29
{
30
31
class
cylinderRegion
32
{
33
protected
:
34
cylinder
cylinder_
;
35
36
mutable
uniformRandomReal
random_
;
37
public
:
38
39
// - type info
40
TypeInfoNV
(
"cylinderRegion"
);
41
42
cylinderRegion
(
const
dictionary
& dict);
43
44
~cylinderRegion
() =
default
;
45
47
bool
isInside
(
const
realx3
& p)
const
;
48
49
realx3
peek
()
const
;
50
51
53
bool
read
(
const
dictionary
& dict);
54
55
bool
write
(
dictionary
& dict)
const
;
56
57
58
};
59
60
}
61
62
#endif
pFlow::cylinderRegion::peek
realx3 peek() const
Definition:
cylinderRegion.cpp:43
pFlow::cylinderRegion
Definition:
cylinderRegion.hpp:31
pFlow::cylinderRegion::~cylinderRegion
~cylinderRegion()=default
pFlow::cylinderRegion::random_
uniformRandomReal random_
Definition:
cylinderRegion.hpp:36
pFlow::cylinderRegion::cylinderRegion
cylinderRegion(const dictionary &dict)
Definition:
cylinderRegion.cpp:25
pFlow::cylinderRegion::TypeInfoNV
TypeInfoNV("cylinderRegion")
pFlow
Definition:
demGeometry.hpp:27
pFlow::uniformRandomReal
Definition:
uniformRandomReal.hpp:32
pFlow::cylinder
Definition:
cylinder.hpp:32
uniformRandomReal.hpp
pFlow::cylinderRegion::cylinder_
cylinder cylinder_
Definition:
cylinderRegion.hpp:34
pFlow::cylinderRegion::isInside
bool isInside(const realx3 &p) const
Definition:
cylinderRegion.cpp:36
pFlow::cylinderRegion::read
bool read(const dictionary &dict)
Definition:
cylinderRegion.cpp:60
cylinder.hpp
pFlow::triple< real >
pFlow::cylinderRegion::write
bool write(dictionary &dict) const
Definition:
cylinderRegion.cpp:68
pFlow::dictionary
Dictionary holds a set of data entries or sub-dictionaries that are enclosed in a curely braces or ar...
Definition:
dictionary.hpp:67
src
phasicFlow
structuredData
peakableRegion
old
cylinderRegion
cylinderRegion.hpp
Generated by
1.8.17