MERGE: Changed format of surface writers

This commit is contained in:
Hrvoje Jasak 2018-05-15 16:39:40 +01:00
parent b8a103a354
commit 549ba4fab8
3 changed files with 9 additions and 9 deletions

View file

@ -201,8 +201,7 @@ void immersedBoundaryFvPatchField<Type>::write(Ostream& os) const
// and write the whola patch together
// Write immersed boundary data as a vtk file
autoPtr<surfaceWriter<Type> > writerPtr =
surfaceWriter<Type>::New("vtk");
autoPtr<surfaceWriter> writerPtr = surfaceWriter::New("vtk");
// Get the intersected patch
const standAlonePatch& ts = ibPatch_.ibPolyPatch().ibPatch();
@ -215,7 +214,8 @@ void immersedBoundaryFvPatchField<Type>::write(Ostream& os) const
ts,
this->dimensionedInternalField().name(),
*this,
surfaceWriterBase::FACE_DATA
false, // FACE_DATA
false // verbose
);
}
}

View file

@ -284,8 +284,7 @@ void mixedIbFvPatchField<Type>::write(Ostream& os) const
// and write the whola patch together
// Write immersed boundary data as a vtk file
autoPtr<surfaceWriter<Type> > writerPtr =
surfaceWriter<Type>::New("vtk");
autoPtr<surfaceWriter> writerPtr = surfaceWriter::New("vtk");
// Get the intersected patch
const standAlonePatch& ts = ibPatch_.ibPolyPatch().ibPatch();
@ -298,7 +297,8 @@ void mixedIbFvPatchField<Type>::write(Ostream& os) const
ts,
this->dimensionedInternalField().name(),
*this,
surfaceWriterBase::FACE_DATA
false, // FACE_DATA
false // verbose
);
}
}

View file

@ -214,8 +214,7 @@ void Foam::movingImmersedBoundaryVelocityFvPatchVectorField::write
// and write the whola patch together
// Write immersed boundary data as a vtk file
autoPtr<surfaceWriter<vector> > writerPtr =
surfaceWriter<vector>::New("vtk");
autoPtr<surfaceWriter> writerPtr = surfaceWriter::New("vtk");
// Get the intersected patch
const standAlonePatch& ts = ibPatch_.ibPolyPatch().ibPatch();
@ -228,7 +227,8 @@ void Foam::movingImmersedBoundaryVelocityFvPatchVectorField::write
ts,
this->dimensionedInternalField().name(),
*this,
surfaceWriterBase::FACE_DATA
false, // FACE_DATA
false // verbose
);
}
}