OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

meshToMesh Class Reference

Collaboration diagram for meshToMesh:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 70 of file meshToMesh.H.


Public Types

enum  order { MAP, INTERPOLATE, CELL_POINT_INTERPOLATE }
 Enumeration specifying required accuracy. More...

Public Member Functions

 ClassName ("meshToMesh")
 meshToMesh (const fvMesh &fromMesh, const fvMesh &toMesh, const HashTable< word > &patchMap, const wordList &cuttingPatchNames)
 Construct from the two meshes, the patch name map for the patches.
 meshToMesh (const fvMesh &fromMesh, const fvMesh &toMesh)
 Construct from the two meshes assuming there is an exact mapping.
 ~meshToMesh ()
const fvMesh & fromMesh () const
const fvMesh & toMesh () const
template<class Type>
void mapField (Field< Type > &, const Field< Type > &, const labelList &adr) const
 Map field.
template<class Type>
void interpolateField (Field< Type > &, const GeometricField< Type, fvPatchField, volMesh > &, const labelList &adr, const scalarListList &weights) const
 Interpolate field using inverse-distance weights.
template<class Type>
void interpolateField (Field< Type > &, const GeometricField< Type, fvPatchField, volMesh > &, const labelList &adr, const vectorField &centres) const
 Interpolate field using cell-point interpolation.
template<class Type>
void interpolateInternalField (Field< Type > &, const GeometricField< Type, fvPatchField, volMesh > &, order=INTERPOLATE) const
 Interpolate internal volume field.
template<class Type>
void interpolateInternalField (Field< Type > &, const tmp< GeometricField< Type, fvPatchField, volMesh > > &, order=INTERPOLATE) const
template<class Type>
void interpolate (GeometricField< Type, fvPatchField, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &, order=INTERPOLATE) const
 Interpolate volume field.
template<class Type>
void interpolate (GeometricField< Type, fvPatchField, volMesh > &, const tmp< GeometricField< Type, fvPatchField, volMesh > > &, order=INTERPOLATE) const
template<class Type>
tmp< GeometricField< Type,
fvPatchField, volMesh > > 
interpolate (const GeometricField< Type, fvPatchField, volMesh > &, order=INTERPOLATE) const
 Interpolate volume field.
template<class Type>
tmp< GeometricField< Type,
fvPatchField, volMesh > > 
interpolate (const tmp< GeometricField< Type, fvPatchField, volMesh > > &, order=INTERPOLATE) const

Classes

class  patchFieldInterpolator
 Patch-field interpolation class. More...

Member Enumeration Documentation

enum order

Enumeration specifying required accuracy.

Enumerator:
MAP 
INTERPOLATE 
CELL_POINT_INTERPOLATE 

Definition at line 135 of file meshToMesh.H.


Constructor & Destructor Documentation

meshToMesh ( const fvMesh &  fromMesh,
const fvMesh &  toMesh,
const HashTable< word > &  patchMap,
const wordList &  cuttingPatchNames 
)

Construct from the two meshes, the patch name map for the patches.

to be interpolated and the names of the toMesh-patches which cut the fromMesh

meshToMesh ( const fvMesh &  fromMesh,
const fvMesh &  toMesh 
)

Construct from the two meshes assuming there is an exact mapping.

between the patches

~meshToMesh (  ) 


Member Function Documentation

ClassName ( "meshToMesh"   ) 

const fvMesh& fromMesh (  )  const [inline]

Definition at line 221 of file meshToMesh.H.

const fvMesh& toMesh (  )  const [inline]

Definition at line 226 of file meshToMesh.H.

void mapField ( Field< Type > &  ,
const Field< Type > &  ,
const labelList &  adr 
) const

Map field.

void interpolateField ( Field< Type > &  ,
const GeometricField< Type, fvPatchField, volMesh > &  ,
const labelList &  adr,
const scalarListList &  weights 
) const

Interpolate field using inverse-distance weights.

void interpolateField ( Field< Type > &  ,
const GeometricField< Type, fvPatchField, volMesh > &  ,
const labelList &  adr,
const vectorField &  centres 
) const

Interpolate field using cell-point interpolation.

void interpolateInternalField ( Field< Type > &  ,
const GeometricField< Type, fvPatchField, volMesh > &  ,
order  = INTERPOLATE 
) const

Interpolate internal volume field.

void interpolateInternalField ( Field< Type > &  ,
const tmp< GeometricField< Type, fvPatchField, volMesh > > &  ,
order  = INTERPOLATE 
) const

void interpolate ( GeometricField< Type, fvPatchField, volMesh > &  ,
const GeometricField< Type, fvPatchField, volMesh > &  ,
order  = INTERPOLATE 
) const

Interpolate volume field.

void interpolate ( GeometricField< Type, fvPatchField, volMesh > &  ,
const tmp< GeometricField< Type, fvPatchField, volMesh > > &  ,
order  = INTERPOLATE 
) const

tmp<GeometricField<Type, fvPatchField, volMesh> > interpolate ( const GeometricField< Type, fvPatchField, volMesh > &  ,
order  = INTERPOLATE 
) const

Interpolate volume field.

tmp<GeometricField<Type, fvPatchField, volMesh> > interpolate ( const tmp< GeometricField< Type, fvPatchField, volMesh > > &  ,
order  = INTERPOLATE 
) const


The documentation for this class was generated from the following file:
  • src/sampling/meshToMeshInterpolation/meshToMesh/meshToMesh.H
Copyright © 2000-2007 OpenCFD Ltd