MPPICCloudI.H
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) 2013-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 // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
27 
28 template<class CloudType>
29 inline const Foam::MPPICCloud<CloudType>&
31 {
32  return cloudCopyPtr_();
33 }
34 
35 
36 template<class CloudType>
39 {
40  return packingModel_();
41 }
42 
43 
44 template<class CloudType>
47 {
48  return packingModel_();
49 }
50 
51 
52 template<class CloudType>
55 {
56  return dampingModel_();
57 }
58 
59 
60 template<class CloudType>
63 {
64  return dampingModel_();
65 }
66 
67 
68 template<class CloudType>
71 {
72  return isotropyModel_();
73 }
74 
75 
76 template<class CloudType>
79 {
80  return isotropyModel_();
81 }
82 
83 
84 // ************************************************************************* //
Base class for packing models.
Definition: MPPICCloud.H:53
const IsotropyModel< MPPICCloud< CloudType > > & isotropyModel() const
Return condt access to the isotropy model.
Definition: MPPICCloudI.H:70
const MPPICCloud & cloudCopy() const
Return a reference to the cloud copy.
Definition: MPPICCloudI.H:30
Adds MPPIC modelling to clouds.
Definition: MPPICCloud.H:74
const PackingModel< MPPICCloud< CloudType > > & packingModel() const
Return const access to the packing model.
Definition: MPPICCloudI.H:38
const DampingModel< MPPICCloud< CloudType > > & dampingModel() const
Return condt access to the damping model.
Definition: MPPICCloudI.H:54
Base class for collisional return-to-isotropy models.
Definition: MPPICCloud.H:59
Base class for collisional damping models.
Definition: MPPICCloud.H:56