OpenFOAM
10
The OpenFOAM Foundation
DispersionModel.C
Go to the documentation of this file.
1
/*---------------------------------------------------------------------------*\
2
========= |
3
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4
\\ / O peration | Website: https://openfoam.org
5
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
6
\\/ M anipulation |
7
-------------------------------------------------------------------------------
8
License
9
This file is part of OpenFOAM.
10
11
OpenFOAM is free software: you can redistribute it and/or modify it
12
under the terms of the GNU General Public License as published by
13
the Free Software Foundation, either version 3 of the License, or
14
(at your option) any later version.
15
16
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19
for more details.
20
21
You should have received a copy of the GNU General Public License
22
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23
24
\*---------------------------------------------------------------------------*/
25
26
#include "
DispersionModel.H
"
27
28
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
29
30
template
<
class
CloudType>
31
Foam::DispersionModel<CloudType>::DispersionModel
(
CloudType
& owner)
32
:
33
CloudSubModelBase
<
CloudType
>(owner)
34
{}
35
36
37
template
<
class
CloudType>
38
Foam::DispersionModel<CloudType>::DispersionModel
39
(
40
const
dictionary
& dict,
41
CloudType
& owner,
42
const
word
& type
43
)
44
:
45
CloudSubModelBase<CloudType>
(owner,
dict
, typeName,
type
)
46
{}
47
48
49
template
<
class
CloudType>
50
Foam::DispersionModel<CloudType>::DispersionModel
51
(
52
const
DispersionModel<CloudType>
& dm
53
)
54
:
55
CloudSubModelBase<CloudType>
(dm)
56
{}
57
58
59
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
60
61
template
<
class
CloudType>
62
Foam::DispersionModel<CloudType>::~DispersionModel
()
63
{}
64
65
66
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
67
68
#include "
DispersionModelNew.C
"
69
70
// ************************************************************************* //
dict
dictionary dict
Definition:
searchingEngine.H:14
Foam::dictionary
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition:
dictionary.H:156
DispersionModelNew.C
Foam::CloudSubModelBase
Base class for cloud sub-models.
Definition:
CloudSubModelBase.H:49
Foam::DispersionModel::~DispersionModel
virtual ~DispersionModel()
Destructor.
Definition:
DispersionModel.C:62
Foam::word
A class for handling words, derived from string.
Definition:
word.H:59
DispersionModel.H
Foam::DispersionModel
Definition:
MomentumCloud.H:80
Foam::type
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
Definition:
POSIX.C:488
Foam::DispersionModel::DispersionModel
DispersionModel(CloudType &owner)
Construct null from owner.
Definition:
DispersionModel.C:31
Foam::DSMCCloud
Templated base class for dsmc cloud.
Definition:
DSMCCloud.H:75
src
lagrangian
parcel
submodels
Momentum
DispersionModel
DispersionModel
DispersionModel.C
Generated by
1.8.13