Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
4fa5f74f
Commit
4fa5f74f
authored
May 19, 2009
by
Andrew Heather
Browse files
using null constructor for none option
parent
c4ac52e6
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/lagrangian/intermediate/submodels/Kinematic/DispersionModel/DispersionModel/DispersionModel.C
View file @
4fa5f74f
...
...
@@ -30,6 +30,14 @@ Description
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
template
<
class
CloudType
>
Foam
::
DispersionModel
<
CloudType
>::
DispersionModel
(
CloudType
&
owner
)
:
dict_
(
dictionary
::
null
),
owner_
(
owner
)
{}
template
<
class
CloudType
>
Foam
::
DispersionModel
<
CloudType
>::
DispersionModel
(
...
...
src/lagrangian/intermediate/submodels/Kinematic/DispersionModel/DispersionModel/DispersionModel.H
View file @
4fa5f74f
...
...
@@ -81,6 +81,9 @@ public:
// Constructors
//- Construct null from owner
DispersionModel
(
CloudType
&
owner
);
//- Construct from components
DispersionModel
(
...
...
src/lagrangian/intermediate/submodels/Kinematic/DispersionModel/NoDispersion/NoDispersion.C
View file @
4fa5f74f
...
...
@@ -33,11 +33,11 @@ Description
template
<
class
CloudType
>
Foam
::
NoDispersion
<
CloudType
>::
NoDispersion
(
const
dictionary
&
dict
,
const
dictionary
&
,
CloudType
&
owner
)
:
DispersionModel
<
CloudType
>
(
dict
,
owner
)
DispersionModel
<
CloudType
>
(
owner
)
{}
...
...
src/lagrangian/intermediate/submodels/Kinematic/DispersionModel/NoDispersion/NoDispersion.H
View file @
4fa5f74f
...
...
@@ -26,7 +26,7 @@ Class
Foam::NoDispersion
Description
No turbulent dispersion of the parcels
Place holder for 'none' option
\*---------------------------------------------------------------------------*/
...
...
@@ -41,7 +41,7 @@ namespace Foam
{
/*---------------------------------------------------------------------------*\
Class NoDispersion Declaration
Class NoDispersion Declaration
\*---------------------------------------------------------------------------*/
template
<
class
CloudType
>
...
...
@@ -52,7 +52,7 @@ class NoDispersion
public:
//- Runtime type information
TypeName
(
"
NoDispersi
on"
);
TypeName
(
"
n
on
e
"
);
// Constructors
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment