Serial mesh to mesh interpolation class. More...
Public Types | |
| enum | order { MAP , INTERPOLATE , CELL_POINT_INTERPOLATE , CELL_VOLUME_WEIGHT } |
| Enumeration specifying required accuracy. More... | |
Public Member Functions | |
| ClassName ("meshToMesh0") | |
| meshToMesh0 (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. More... | |
| meshToMesh0 (const fvMesh &fromMesh, const fvMesh &toMesh) | |
| Construct from the two meshes assuming there is an exact mapping. More... | |
| ~meshToMesh0 () | |
| Destructor. More... | |
| const fvMesh & | fromMesh () const |
| const fvMesh & | toMesh () const |
| const labelList & | cellAddressing () const |
| From toMesh cells to fromMesh cells. More... | |
| scalar | V () const |
| Overlap volume. More... | |
| template<class Type > | |
| void | mapField (Field< Type > &, const Field< Type > &, const labelList &adr) const |
| Map field. More... | |
| template<class Type > | |
| void | interpolateField (Field< Type > &, const VolField< Type > &, const labelList &adr, const scalarListList &weights) const |
| Interpolate field using inverse-distance weights. More... | |
| template<class Type > | |
| void | interpolateField (Field< Type > &, const VolField< Type > &, const labelListList &adr, const scalarListList &weights) const |
| Interpolate field using inverse-volume weights. More... | |
| template<class Type > | |
| void | interpolateField (Field< Type > &, const VolField< Type > &, const labelList &adr, const vectorField ¢res) const |
| Interpolate field using cell-point interpolation. More... | |
| template<class Type > | |
| void | interpolateInternalField (Field< Type > &, const VolField< Type > &, order=INTERPOLATE) const |
| Interpolate internal volume field. More... | |
| template<class Type > | |
| void | interpolateInternalField (Field< Type > &, const tmp< VolField< Type >> &, order=INTERPOLATE) const |
| template<class Type > | |
| void | interpolate (VolField< Type > &, const VolField< Type > &, order=INTERPOLATE) const |
| Interpolate volume field. More... | |
| template<class Type > | |
| void | interpolate (VolField< Type > &, const tmp< VolField< Type >> &, order=INTERPOLATE) const |
| template<class Type > | |
| tmp< VolField< Type > > | interpolate (const VolField< Type > &, order=INTERPOLATE) const |
| Interpolate volume field. More... | |
| template<class Type > | |
| tmp< VolField< Type > > | interpolate (const tmp< VolField< Type >> &, order=INTERPOLATE) const |
| enum order |
Enumeration specifying required accuracy.
| Enumerator | |
|---|---|
| MAP | |
| INTERPOLATE | |
| CELL_POINT_INTERPOLATE | |
| CELL_VOLUME_WEIGHT | |
Definition at line 142 of file meshToMesh0.H.
| meshToMesh0 | ( | 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
| meshToMesh0 | ( | const fvMesh & | fromMesh, |
| const fvMesh & | toMesh | ||
| ) |
Construct from the two meshes assuming there is an exact mapping.
between the patches
| ~meshToMesh0 | ( | ) |
Destructor.
| ClassName | ( | "meshToMesh0" | ) |
|
inline |
Definition at line 181 of file meshToMesh0.H.
Referenced by Foam::MapConsistentVolFields(), and Foam::MapVolFields().

|
inline |
Definition at line 186 of file meshToMesh0.H.
Referenced by Foam::MapConsistentVolFields(), Foam::MapLagrangianFields(), and Foam::MapVolFields().

|
inline |
From toMesh cells to fromMesh cells.
Definition at line 192 of file meshToMesh0.H.
|
inline |
Overlap volume.
Definition at line 198 of file meshToMesh0.H.
| void interpolateField | ( | Field< Type > & | , |
| const VolField< Type > & | , | ||
| const labelList & | adr, | ||
| const scalarListList & | weights | ||
| ) | const |
Interpolate field using inverse-distance weights.
| void interpolateField | ( | Field< Type > & | , |
| const VolField< Type > & | , | ||
| const labelListList & | adr, | ||
| const scalarListList & | weights | ||
| ) | const |
Interpolate field using inverse-volume weights.
| void interpolateField | ( | Field< Type > & | , |
| const VolField< Type > & | , | ||
| const labelList & | adr, | ||
| const vectorField & | centres | ||
| ) | const |
Interpolate field using cell-point interpolation.
| void interpolateInternalField | ( | Field< Type > & | , |
| const VolField< Type > & | , | ||
| order | = INTERPOLATE |
||
| ) | const |
Interpolate internal volume field.
| void interpolateInternalField | ( | Field< Type > & | , |
| const tmp< VolField< Type >> & | , | ||
| order | = INTERPOLATE |
||
| ) | const |
| void interpolate | ( | VolField< Type > & | , |
| const VolField< Type > & | , | ||
| order | = INTERPOLATE |
||
| ) | const |
Interpolate volume field.
Referenced by Foam::MapConsistentVolFields(), and Foam::MapVolFields().

| void interpolate | ( | VolField< Type > & | , |
| const tmp< VolField< Type >> & | , | ||
| order | = INTERPOLATE |
||
| ) | const |
| tmp<VolField<Type> > interpolate | ( | const VolField< Type > & | , |
| order | = INTERPOLATE |
||
| ) | const |
Interpolate volume field.