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
72066fd6
Commit
72066fd6
authored
Dec 19, 2008
by
Andrew Heather
Browse files
minor clean-up
parent
dda4777e
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloud.C
View file @
72066fd6
...
...
@@ -382,7 +382,7 @@ void Foam::KinematicCloud<ParcelType>::inject
pPtr
->
stepFraction
()
=
(
this
->
db
().
time
().
deltaT
().
value
()
-
dt
)
/
this
->
time
().
deltaT
().
value
();
this
->
injectParcel
(
td
,
pPtr
);
this
->
injectParcel
(
pPtr
);
}
}
...
...
@@ -397,11 +397,7 @@ void Foam::KinematicCloud<ParcelType>::inject
template
<
class
ParcelType
>
template
<
class
TrackingData
>
void
Foam
::
KinematicCloud
<
ParcelType
>::
injectParcel
(
TrackingData
&
td
,
ParcelType
*
p
)
void
Foam
::
KinematicCloud
<
ParcelType
>::
injectParcel
(
ParcelType
*
p
)
{
addParticle
(
p
);
nParcelsAdded_
++
;
...
...
src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloud.H
View file @
72066fd6
...
...
@@ -239,11 +239,7 @@ protected:
//- Inject parcel if it is valid - delete otherwise
template
<
class
TrackingData
>
void
injectParcel
(
TrackingData
&
td
,
ParcelType
*
p
);
void
injectParcel
(
ParcelType
*
p
);
//- Post-injection checks
void
postInjectCheck
();
...
...
src/lagrangian/intermediate/clouds/Templates/ReactingCloud/ReactingCloud.C
View file @
72066fd6
...
...
@@ -295,7 +295,7 @@ void Foam::ReactingCloud<ParcelType>::inject
pPtr
->
stepFraction
()
=
(
this
->
db
().
time
().
deltaT
().
value
()
-
dt
)
/
this
->
db
().
time
().
deltaT
().
value
();
this
->
injectParcel
(
td
,
pPtr
);
this
->
injectParcel
(
pPtr
);
}
}
...
...
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