www.cemf.ir
setFieldList.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 __setFieldList_hpp__
23
#define __setFieldList_hpp__
24
25
#include "
List.hpp
"
26
#include "
setFieldEntry.hpp
"
27
#include "
dictionary.hpp
"
28
29
namespace
pFlow
30
{
31
32
class
setFieldList
33
:
34
public
List
<setFieldEntry>
35
{
36
protected
:
37
38
// setFields dictionary
39
dictionary
dict_
;
40
41
bool
readSetFieldList
(
const
dictionary
& dict);
42
43
bool
writeSetFieldList
(
dictionary
& dict)
const
;
44
45
public
:
46
47
setFieldList
(
const
dictionary
& dict);
48
49
setFieldList
(
const
setFieldList
&) =
default
;
50
51
setFieldList
(
setFieldList
&&) =
default
;
52
53
54
setFieldList
&
operator=
(
const
setFieldList
&) =
default
;
55
56
setFieldList
&
operator=
(
setFieldList
&&) =
default
;
57
58
auto
clone
()
const
59
{
60
return
makeUnique<setFieldList>(*
this
);
61
}
62
63
setFieldList
*
clonePtr
()
const
64
{
65
return
new
setFieldList
(*
this
);
66
}
67
68
~setFieldList
() =
default
;
69
70
bool
read
(
const
dictionary
& dict);
71
72
bool
write
(
dictionary
& dict)
const
;
73
74
};
75
76
}
77
78
79
80
#endif //__setFieldList_hpp__
pFlow::List
Definition:
List.hpp:39
pFlow::setFieldList::clonePtr
setFieldList * clonePtr() const
Definition:
setFieldList.hpp:63
pFlow::setFieldList::writeSetFieldList
bool writeSetFieldList(dictionary &dict) const
Definition:
setFieldList.cpp:38
pFlow::setFieldList::setFieldList
setFieldList(const dictionary &dict)
Definition:
setFieldList.cpp:47
setFieldEntry.hpp
List.hpp
pFlow::setFieldList::write
bool write(dictionary &dict) const
Definition:
setFieldList.cpp:70
pFlow::setFieldList::~setFieldList
~setFieldList()=default
pFlow::setFieldList::clone
auto clone() const
Definition:
setFieldList.hpp:58
pFlow::setFieldList::read
bool read(const dictionary &dict)
Definition:
setFieldList.cpp:61
pFlow
Definition:
demGeometry.hpp:27
pFlow::setFieldList::readSetFieldList
bool readSetFieldList(const dictionary &dict)
Definition:
setFieldList.cpp:24
pFlow::setFieldList::dict_
dictionary dict_
Definition:
setFieldList.hpp:39
pFlow::setFieldList
Definition:
setFieldList.hpp:32
dictionary.hpp
pFlow::setFieldList::operator=
setFieldList & operator=(const setFieldList &)=default
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
setFieldList
setFieldList.hpp
Generated by
1.8.17