OpenFOAM logo
Open Source CFD Toolkit

meshToMesh Class Reference

Collaboration diagram for meshToMesh:

Collaboration graph
[legend]
List of all members.

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

Member Enumeration Documentation

enum order
 

Enumeration specifying required accuracy.

Enumeration values:
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.

tmp<GeometricField<Type, fvPatchField, volMesh> > interpolate (  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.

void interpolate (  GeometricField< Type, fvPatchField, volMesh > &  ,
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 interpolateField (  Field< Type > &  ,
const GeometricField< Type, fvPatchField, volMesh > &  ,
const labelList &  adr,
const vectorField &  centres
)  const
 

Interpolate field using cell-point interpolation.

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

Interpolate field using inverse-distance weights.

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

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

Interpolate internal volume field.

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

Map field.

const fvMesh& toMesh (   )  const [inline]
 

Definition at line 226 of file meshToMesh.H.

References Foam::interpolate(), Foam::labelList, Foam::scalarListList, and Foam::vectorField.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org