volPointInterpolation, pointMesh now MeshObject

This commit is contained in:
mattijs
2008-10-21 15:02:04 +01:00
parent cdb0a8a8d5
commit 99e8bf7516
81 changed files with 371 additions and 518 deletions

View File

@ -52,7 +52,6 @@ meshToMesh::meshToMesh
fromMesh_(meshFrom),
toMesh_(meshTo),
patchMap_(patchMap),
fromPointMesh_(meshFrom),
cellAddressing_(toMesh_.nCells()),
boundaryAddressing_(toMesh_.boundaryMesh().size()),
inverseDistanceWeightsPtr_(NULL)
@ -123,7 +122,6 @@ meshToMesh::meshToMesh
:
fromMesh_(meshFrom),
toMesh_(meshTo),
fromPointMesh_(meshFrom),
cellAddressing_(toMesh_.nCells()),
boundaryAddressing_(toMesh_.boundaryMesh().size()),
inverseDistanceWeightsPtr_(NULL)

View File

@ -40,7 +40,6 @@ SourceFiles
#define meshtoMesh_H
#include "fvMesh.H"
#include "pointMesh.H"
#include "HashTable.H"
#include "fvPatchMapper.H"
#include "scalarList.H"
@ -81,9 +80,6 @@ class meshToMesh
//- toMesh patch labels which cut the from-mesh
HashTable<label> cuttingPatches_;
//- Point mesh used for interpolation
pointMesh fromPointMesh_;
//- Cell addressing
labelList cellAddressing_;

View File

@ -26,7 +26,6 @@ License
#include "meshToMesh.H"
#include "volFields.H"
#include "volPointInterpolation.H"
#include "interpolationCellPoint.H"
#include "SubField.H"
#include "mixedFvPatchField.H"
@ -102,13 +101,7 @@ void meshToMesh::interpolateField
) const
{
// Cell-Point interpolation
volPointInterpolation vpi(fromMesh_, fromPointMesh_);
interpolationCellPoint<Type> interpolator
(
vpi,
fromVf
);
interpolationCellPoint<Type> interpolator(fromVf);
forAll (toF, celli)
{