Skip to content
Snippets Groups Projects
Commit f7aa88ba authored by andy's avatar andy
Browse files

ENH: Added non-const access to pc

parent 1e6eb893
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment