Public Member Functions | |
TypeName ("fvMeshToFvMesh") | |
Run-time type information. More... | |
fvMeshToFvMesh (const fvMesh &srcMesh, const fvMesh &tgtMesh, const word &engineType, const HashTable< word > &patchMap=NullObjectRef< HashTable< word >>()) | |
Construct from source and target meshes. If a patchMap is supplied,. More... | |
virtual | ~fvMeshToFvMesh () |
Destructor. More... | |
template<class Type > | |
tmp< VolField< Type > > | srcToTgt (const VolField< Type > &srcFld) const |
Interpolate a source vol field to the target with no left. More... | |
template<class Type > | |
tmp< VolField< Type > > | srcToTgt (const VolField< Type > &srcFld, const VolField< Type > &leftOverTgtFld, const UList< wordRe > &tgtCuttingPatches) const |
Interpolate a source vol field to the target with left over. More... | |
template<class Type > | |
tmp< VolInternalField< Type > > | srcToTgt (const VolInternalField< Type > &srcFld) const |
Interpolate a source vol internal field to the target with no. More... | |
template<class Type > | |
tmp< VolInternalField< Type > > | srcToTgt (const VolInternalField< Type > &srcFld, const VolInternalField< Type > &leftOverTgtFld) const |
Interpolate a source vol internal field to the target with left. More... | |
template<class Type > | |
tmp< SurfaceFieldBoundary< Type > > | srcToTgt (const SurfaceFieldBoundary< Type > &srcFld) const |
... More... | |
template<class Type > | |
Foam::tmp< Foam::VolField< Type > > | srcToTgt (const VolField< Type > &srcFld) const |
template<class Type > | |
Foam::tmp< Foam::VolField< Type > > | srcToTgt (const VolField< Type > &srcFld, const VolField< Type > &leftOverTgtFld, const UList< wordRe > &tgtCuttingPatchNames) const |
template<class Type > | |
Foam::tmp< Foam::VolInternalField< Type > > | srcToTgt (const VolInternalField< Type > &srcFld) const |
template<class Type > | |
Foam::tmp< Foam::VolInternalField< Type > > | srcToTgt (const VolInternalField< Type > &srcFld, const VolInternalField< Type > &leftOverTgtFld) const |
template<class Type > | |
Foam::tmp< Foam::fvMeshToFvMesh::SurfaceFieldBoundary< Type > > | srcToTgt (const SurfaceFieldBoundary< Type > &srcBfld) const |
Public Member Functions inherited from meshToMesh | |
TypeName ("meshToMesh") | |
Run-time type information. More... | |
meshToMesh (const polyMesh &srcMesh, const polyMesh &tgtMesh, const word &engineType, const HashTable< word > &patchMap=NullObjectRef< HashTable< word >>()) | |
Construct from source and target meshes. If a patchMap is supplied,. More... | |
meshToMesh (const meshToMesh &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~meshToMesh () |
Destructor. More... | |
const polyMesh & | srcMesh () const |
Return const access to the source mesh. More... | |
const polyMesh & | tgtMesh () const |
Return const access to the target mesh. More... | |
bool | consistent () const |
Is the interpolation between consistent meshes? I.e., are all. More... | |
remote | srcToTgtPoint (const label srcCelli, const point &p) const |
Find the target processor and cell associated with a point in a. More... | |
void | operator= (const meshToMesh &)=delete |
Disallow default bitwise assignment. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from meshToMesh | |
const cellsToCells & | cellsInterpolation () const |
Return the interpolation engine between source and target cells. More... | |
const cellsToCellsStabilisation & | srcCellsStabilisation () const |
Return the stabilisation engine for the source cells. More... | |
const cellsToCellsStabilisation & | tgtCellsStabilisation () const |
Return the stabilisation engine for the target cells. More... | |
const List< labelPair > & | patchIndices () const |
Return the list of corresponding source and target patch indices. More... | |
const patchToPatch & | patchInterpolation (const label i) const |
Return the interpolation engine between a source and a target. More... | |
const patchToPatchStabilisation & | srcPatchStabilisation (const label i) const |
Return the stabilisation engine for a source patch. More... | |
const patchToPatchStabilisation & | tgtPatchStabilisation (const label i) const |
Return the stabilisation engine for a target patch. More... | |
Definition at line 49 of file fvMeshToFvMesh.H.
fvMeshToFvMesh | ( | const fvMesh & | srcMesh, |
const fvMesh & | tgtMesh, | ||
const word & | engineType, | ||
const HashTable< word > & | patchMap = NullObjectRef<HashTable<word>>() |
||
) |
Construct from source and target meshes. If a patchMap is supplied,.
then interpolate between the specified patches. If not, then assume a consistent mesh with consistently named patches and interpolate 1-to-1 between patches with the same name.
Definition at line 38 of file fvMeshToFvMesh.C.
References Foam::dimless, Foam::endl(), Foam::Info, DimensionedField< Type, GeoMesh >::New(), and meshToMesh::srcMesh().
|
virtual |
Destructor.
Definition at line 79 of file fvMeshToFvMesh.C.
TypeName | ( | "fvMeshToFvMesh" | ) |
Run-time type information.
Interpolate a source vol field to the target with no left.
over values specified. If the interpolation weight sum is less than one for a face then they will be normalised. If the interpolation weight sum is zero for a face then that face's value will be NaN.
Referenced by Foam::MeshToMeshMapVolFields(), and Foam::MeshToMeshMapVolInternalFields().
tmp<VolField<Type> > srcToTgt | ( | const VolField< Type > & | srcFld, |
const VolField< Type > & | leftOverTgtFld, | ||
const UList< wordRe > & | tgtCuttingPatches | ||
) | const |
Interpolate a source vol field to the target with left over.
values specified. If the interpolation weight sum is less than one for a face then the average will include the left over value multiplied by one minus the weight sum.
tmp<VolInternalField<Type> > srcToTgt | ( | const VolInternalField< Type > & | srcFld | ) | const |
Interpolate a source vol internal field to the target with no.
left over values specified. As the corresponding srcToTgt.
tmp<VolInternalField<Type> > srcToTgt | ( | const VolInternalField< Type > & | srcFld, |
const VolInternalField< Type > & | leftOverTgtFld | ||
) | const |
Interpolate a source vol internal field to the target with left.
over values specified. As the corresponding srcToTgt.
tmp<SurfaceFieldBoundary<Type> > srcToTgt | ( | const SurfaceFieldBoundary< Type > & | srcFld | ) | const |
...
Foam::tmp<Foam::VolField<Type> > srcToTgt | ( | const VolField< Type > & | srcFld | ) | const |
Definition at line 118 of file fvMeshToFvMeshTemplates.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), polyPatch::constraintType(), forAll, GeometricField< Type, PatchField, GeoMesh >::internalField(), IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::New(), patchi, fvPatchField< Type >::patchInternalField(), tmp< T >::ref(), PtrList< T >::set(), UPtrList< T >::size(), and Foam::typedName().
Foam::tmp<Foam::VolField<Type> > srcToTgt | ( | const VolField< Type > & | srcFld, |
const VolField< Type > & | leftOverTgtFld, | ||
const UList< wordRe > & | tgtCuttingPatchNames | ||
) | const |
Definition at line 220 of file fvMeshToFvMeshTemplates.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), forAll, forAllConstIter, DimensionedField< Type, GeoMesh >::mesh(), IOobject::name(), GeometricField< Type, PatchField, GeoMesh >::New(), tmp< T >::ref(), Foam::typedName(), and GeometricField< Type, PatchField, GeoMesh >::v().
Foam::tmp<Foam::VolInternalField<Type> > srcToTgt | ( | const VolInternalField< Type > & | srcFld | ) | const |
Definition at line 272 of file fvMeshToFvMeshTemplates.C.
References Foam::compressible::New(), tmp< T >::ref(), and Foam::typedName().
Foam::tmp<Foam::VolInternalField<Type> > srcToTgt | ( | const VolInternalField< Type > & | srcFld, |
const VolInternalField< Type > & | leftOverTgtFld | ||
) | const |
Definition at line 293 of file fvMeshToFvMeshTemplates.C.
References Foam::compressible::New(), and Foam::typedName().
Foam::tmp<Foam::fvMeshToFvMesh::SurfaceFieldBoundary<Type> > srcToTgt | ( | const SurfaceFieldBoundary< Type > & | srcBfld | ) | const |
Definition at line 312 of file fvMeshToFvMeshTemplates.C.
References forAll, and PtrList< T >::set().