Skip to content
GitLab
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
f7aa88ba
Commit
f7aa88ba
authored
May 27, 2011
by
andy
Browse files
ENH: Added non-const access to pc
parent
1e6eb893
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/lagrangian/intermediate/parcels/Templates/ReactingParcel/ReactingParcel.H
View file @
f7aa88ba
...
...
@@ -347,6 +347,9 @@ public:
//- Return the owner cell pressure
inline
scalar
pc
()
const
;
//- Return reference to the owner cell pressure
inline
scalar
&
pc
();
// Edit
...
...
src/lagrangian/intermediate/parcels/Templates/ReactingParcel/ReactingParcelI.H
View file @
f7aa88ba
...
...
@@ -237,6 +237,13 @@ inline Foam::scalar Foam::ReactingParcel<ParcelType>::pc() const
}
template
<
class
ParcelType
>
inline
Foam
::
scalar
&
Foam
::
ReactingParcel
<
ParcelType
>::
pc
()
{
return
pc_
;
}
template
<
class
ParcelType
>
inline
Foam
::
scalar
&
Foam
::
ReactingParcel
<
ParcelType
>::
mass0
()
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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