Bug fix: making copy on object registry lookup
This commit is contained in:
parent
7a44fb806b
commit
101b52d260
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ void Foam::dsmcFields::write()
|
||||||
iDofMeanName
|
iDofMeanName
|
||||||
);
|
);
|
||||||
|
|
||||||
volVectorField fDMean = obr_.lookupObject<volVectorField>
|
const volVectorField& fDMean = obr_.lookupObject<volVectorField>
|
||||||
(
|
(
|
||||||
fDMeanName
|
fDMeanName
|
||||||
);
|
);
|
||||||
|
|
Reference in a new issue