ENH: pointMesh: use MeshObject form

This commit is contained in:
mattijs
2012-08-31 12:57:17 +01:00
parent 603b05c563
commit c1ef233e5d
9 changed files with 44 additions and 62 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -195,7 +195,7 @@ void Foam::vtkPV3Foam::convertPointFields
}
// Construct interpolation on the raw mesh
pointMesh pMesh(mesh);
const pointMesh& pMesh = pointMesh::New(mesh);
convertPointFields<scalar>

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -1133,7 +1133,7 @@ void user_read_one_grid_function
// Set fieldvalues
//
pointMesh pMesh(mesh);
const pointMesh& pMesh = pointMesh::New(mesh);
volPointInterpolation pInterp(mesh, pMesh);