PhasicFlow
v0.1
www.cemf.ir
PeakableRegion.cpp
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
template
<
typename
RegionType>
23
pFlow::PeakableRegion<RegionType>::PeakableRegion
24
(
25
const
word
& type,
26
const
dictionary
& dict
27
)
28
:
29
peakableRegion
(type, dict),
30
region_(dict)
31
{
32
33
}
34
35
template
<
typename
RegionType>
36
bool
pFlow::PeakableRegion<RegionType>::isInside
37
(
38
const
realx3
& point
39
)
const
40
{
41
return
region_.isInside(point);
42
}
43
44
45
template
<
typename
RegionType>
46
pFlow::realx3
pFlow::PeakableRegion<RegionType>::peek
()
const
47
{
48
return
region_.peek();
49
}
50
51
template
<
typename
RegionType>
52
bool
pFlow::PeakableRegion<RegionType>::read
(
const
dictionary
& dict)
53
{
54
return
region_.read(dict);
55
}
56
57
template
<
typename
RegionType>
58
bool
pFlow::PeakableRegion<RegionType>::write
(
dictionary
& dict)
const
59
{
60
return
region_.write(dict);
61
}
62
63
pFlow::PeakableRegion::read
virtual bool read(const dictionary &dict) override
Definition:
PeakableRegion.cpp:52
pFlow::word
std::string word
Definition:
builtinTypes.hpp:63
pFlow::PeakableRegion::PeakableRegion
PeakableRegion(const word &type, const dictionary &dict)
Definition:
PeakableRegion.cpp:24
pFlow::PeakableRegion::isInside
virtual bool isInside(const realx3 &point) const override
Definition:
PeakableRegion.cpp:37
pFlow::triple< real >
pFlow::PeakableRegion::write
virtual bool write(dictionary &dict) const override
Definition:
PeakableRegion.cpp:58
pFlow::PeakableRegion::peek
virtual realx3 peek() const override
Definition:
PeakableRegion.cpp:46
pFlow::peakableRegion
Definition:
peakableRegion.hpp:35
pFlow::dictionary
Definition:
dictionary.hpp:38
src
phasicFlow
structuredData
peakableRegion
PeakableRegion
PeakableRegion.cpp
Generated by
1.8.17