mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
foamToTecplot360: Updated to use tmp.ref()
Patch contributed by Bruno Santos Resolves bug-report http://bugs.openfoam.org/view.php?id=2288
This commit is contained in:
@ -93,7 +93,7 @@ Foam::tmp<Field<Type>> Foam::tecplotWriter::getFaceField
|
||||
const polyBoundaryMesh& patches = sfld.mesh().boundaryMesh();
|
||||
|
||||
tmp<Field<Type>> tfld(new Field<Type>(faceLabels.size()));
|
||||
Field<Type>& fld = tfld();
|
||||
Field<Type>& fld = tfld.ref();
|
||||
|
||||
forAll(faceLabels, i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user