Skip to content
Snippets Groups Projects
Commit 2ee0b492 authored by Mark Olesen's avatar Mark Olesen
Browse files

Merge commit 'OpenCFD/master' into olesenm

parents dc3ebcfb 4bdd195c
Branches
Tags
No related merge requests found
...@@ -132,7 +132,6 @@ void Foam::vtkPV3Foam::convertPointFields ...@@ -132,7 +132,6 @@ void Foam::vtkPV3Foam::convertPointFields
} }
template<class Type> template<class Type>
void Foam::vtkPV3Foam::convertPointFieldBlock void Foam::vtkPV3Foam::convertPointFieldBlock
( (
...@@ -162,7 +161,6 @@ void Foam::vtkPV3Foam::convertPointFieldBlock ...@@ -162,7 +161,6 @@ void Foam::vtkPV3Foam::convertPointFieldBlock
} }
template<class Type> template<class Type>
void Foam::vtkPV3Foam::convertPointField void Foam::vtkPV3Foam::convertPointField
( (
...@@ -193,7 +191,7 @@ void Foam::vtkPV3Foam::convertPointField ...@@ -193,7 +191,7 @@ void Foam::vtkPV3Foam::convertPointField
pointData->SetNumberOfTuples(nPoints + addPointCellLabels.size()); pointData->SetNumberOfTuples(nPoints + addPointCellLabels.size());
pointData->SetNumberOfComponents(nComp); pointData->SetNumberOfComponents(nComp);
pointData->Allocate(nComp*(nPoints + addPointCellLabels.size())); pointData->Allocate(nComp*(nPoints + addPointCellLabels.size()));
pointData->SetName(ptf.name().c_str()); pointData->SetName(tf.name().c_str());
if (debug) if (debug)
{ {
...@@ -269,6 +267,7 @@ void Foam::vtkPV3Foam::convertPointField ...@@ -269,6 +267,7 @@ void Foam::vtkPV3Foam::convertPointField
pointData->Delete(); pointData->Delete();
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#endif #endif
......
...@@ -35,7 +35,13 @@ License ...@@ -35,7 +35,13 @@ License
namespace Foam namespace Foam
{ {
defineTypeNameAndDebug(sampledIsoSurface, 0); defineTypeNameAndDebug(sampledIsoSurface, 0);
addNamedToRunTimeSelectionTable(sampledSurface, sampledIsoSurface, word, isoSurface); addNamedToRunTimeSelectionTable
(
sampledSurface,
sampledIsoSurface,
word,
isoSurface
);
} }
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // // * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
...@@ -574,8 +580,7 @@ bool Foam::sampledIsoSurface::update() ...@@ -574,8 +580,7 @@ bool Foam::sampledIsoSurface::update()
} }
Foam::tmp<Foam::scalarField> Foam::tmp<Foam::scalarField> Foam::sampledIsoSurface::sample
Foam::sampledIsoSurface::sample
( (
const volScalarField& vField const volScalarField& vField
) const ) const
...@@ -584,8 +589,7 @@ Foam::sampledIsoSurface::sample ...@@ -584,8 +589,7 @@ Foam::sampledIsoSurface::sample
} }
Foam::tmp<Foam::vectorField> Foam::tmp<Foam::vectorField> Foam::sampledIsoSurface::sample
Foam::sampledIsoSurface::sample
( (
const volVectorField& vField const volVectorField& vField
) const ) const
...@@ -594,8 +598,7 @@ Foam::sampledIsoSurface::sample ...@@ -594,8 +598,7 @@ Foam::sampledIsoSurface::sample
} }
Foam::tmp<Foam::sphericalTensorField> Foam::tmp<Foam::sphericalTensorField> Foam::sampledIsoSurface::sample
Foam::sampledIsoSurface::sample
( (
const volSphericalTensorField& vField const volSphericalTensorField& vField
) const ) const
...@@ -604,8 +607,7 @@ Foam::sampledIsoSurface::sample ...@@ -604,8 +607,7 @@ Foam::sampledIsoSurface::sample
} }
Foam::tmp<Foam::symmTensorField> Foam::tmp<Foam::symmTensorField> Foam::sampledIsoSurface::sample
Foam::sampledIsoSurface::sample
( (
const volSymmTensorField& vField const volSymmTensorField& vField
) const ) const
...@@ -614,8 +616,7 @@ Foam::sampledIsoSurface::sample ...@@ -614,8 +616,7 @@ Foam::sampledIsoSurface::sample
} }
Foam::tmp<Foam::tensorField> Foam::tmp<Foam::tensorField> Foam::sampledIsoSurface::sample
Foam::sampledIsoSurface::sample
( (
const volTensorField& vField const volTensorField& vField
) const ) const
...@@ -624,8 +625,7 @@ Foam::sampledIsoSurface::sample ...@@ -624,8 +625,7 @@ Foam::sampledIsoSurface::sample
} }
Foam::tmp<Foam::scalarField> Foam::tmp<Foam::scalarField> Foam::sampledIsoSurface::interpolate
Foam::sampledIsoSurface::interpolate
( (
const interpolation<scalar>& interpolator const interpolation<scalar>& interpolator
) const ) const
...@@ -634,8 +634,7 @@ Foam::sampledIsoSurface::interpolate ...@@ -634,8 +634,7 @@ Foam::sampledIsoSurface::interpolate
} }
Foam::tmp<Foam::vectorField> Foam::tmp<Foam::vectorField> Foam::sampledIsoSurface::interpolate
Foam::sampledIsoSurface::interpolate
( (
const interpolation<vector>& interpolator const interpolation<vector>& interpolator
) const ) const
...@@ -643,8 +642,7 @@ Foam::sampledIsoSurface::interpolate ...@@ -643,8 +642,7 @@ Foam::sampledIsoSurface::interpolate
return interpolateField(interpolator); return interpolateField(interpolator);
} }
Foam::tmp<Foam::sphericalTensorField> Foam::tmp<Foam::sphericalTensorField> Foam::sampledIsoSurface::interpolate
Foam::sampledIsoSurface::interpolate
( (
const interpolation<sphericalTensor>& interpolator const interpolation<sphericalTensor>& interpolator
) const ) const
...@@ -653,8 +651,7 @@ Foam::sampledIsoSurface::interpolate ...@@ -653,8 +651,7 @@ Foam::sampledIsoSurface::interpolate
} }
Foam::tmp<Foam::symmTensorField> Foam::tmp<Foam::symmTensorField> Foam::sampledIsoSurface::interpolate
Foam::sampledIsoSurface::interpolate
( (
const interpolation<symmTensor>& interpolator const interpolation<symmTensor>& interpolator
) const ) const
...@@ -663,8 +660,7 @@ Foam::sampledIsoSurface::interpolate ...@@ -663,8 +660,7 @@ Foam::sampledIsoSurface::interpolate
} }
Foam::tmp<Foam::tensorField> Foam::tmp<Foam::tensorField> Foam::sampledIsoSurface::interpolate
Foam::sampledIsoSurface::interpolate
( (
const interpolation<tensor>& interpolator const interpolation<tensor>& interpolator
) const ) const
......
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