Commit f7aa88ba authored by andy's avatar andy
Browse files

ENH: Added non-const access to pc

parent 1e6eb893
......@@ -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()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment