Volume to surface and surface to volume mapping. More...
Public Member Functions | |
volSurfaceMapping (const faMesh &mesh) | |
Construct from mesh. More... | |
volSurfaceMapping (const volSurfaceMapping &)=delete | |
No copy construct. More... | |
void | operator= (const volSurfaceMapping &)=delete |
No copy assignment. More... | |
~volSurfaceMapping ()=default | |
Destructor. More... | |
template<class Type > | |
void | mapToSurface (const GeometricBoundaryField< Type, fvPatchField, volMesh > &, Field< Type > &result) const |
Map volume boundary fields as area field. More... | |
template<class Type > | |
tmp< Field< Type > > | mapToSurface (const GeometricBoundaryField< Type, fvPatchField, volMesh > &) const |
Map volume boundary fields as area field. More... | |
template<class Type > | |
void | mapToSurface (const GeometricField< Type, fvPatchField, volMesh > &, Field< Type > &result) const |
Map volume (boundary) fields to area field. More... | |
template<class Type > | |
void | mapToSurface (const tmp< GeometricField< Type, fvPatchField, volMesh >> &, Field< Type > &result) const |
Map volume (boundary) fields to area field. More... | |
template<class Type > | |
tmp< Field< Type > > | mapToSurface (const GeometricField< Type, fvPatchField, volMesh > &) const |
Map volume (boundary) fields to area field. More... | |
template<class Type > | |
tmp< Field< Type > > | mapToSurface (const tmp< GeometricField< Type, fvPatchField, volMesh >> &) const |
Map volume (boundary) fields to area field. More... | |
template<class Type > | |
void | mapToSurface (const GeometricField< Type, fvsPatchField, surfaceMesh > &, Field< Type > &result) const |
Map surface fields to area field. More... | |
template<class Type > | |
tmp< Field< Type > > | mapToSurface (const GeometricField< Type, fvsPatchField, surfaceMesh > &) const |
Map surface fields to area field. More... | |
template<class Type > | |
void | mapToSurface (const tmp< GeometricField< Type, fvsPatchField, surfaceMesh >> &, Field< Type > &result) const |
Map surface fields to area field. More... | |
template<class Type > | |
tmp< Field< Type > > | mapToSurface (const tmp< GeometricField< Type, fvsPatchField, surfaceMesh >> &) const |
Map surface fields to area field. More... | |
template<class Type > | |
void | mapToSurface (const UPtrList< Field< Type >> &patchFields, Field< Type > &result) const |
Map pre-calculated boundary fields to area field. More... | |
template<class Type > | |
void | mapToSurface (const PtrMap< Field< Type >> &patchFields, Field< Type > &result) const |
Map pre-calculated boundary fields to area field. More... | |
template<class Type > | |
tmp< Field< Type > > | mapToSurface (const UPtrList< Field< Type >> &patchFields) const |
Map pre-calculated boundary fields to area field. More... | |
template<class Type > | |
tmp< Field< Type > > | mapToSurface (const PtrMap< Field< Type >> &patchFields) const |
Map pre-calculated boundary fields to area field. More... | |
template<class Type > | |
void | mapInternalToSurface (const GeometricBoundaryField< Type, fvPatchField, volMesh > &, Field< Type > &result) const |
Map patch internal field to area field. More... | |
template<class Type > | |
tmp< Field< Type > > | mapInternalToSurface (const GeometricBoundaryField< Type, fvPatchField, volMesh > &) const |
Map patch internal field to area field. More... | |
template<class Type > | |
void | mapInternalToSurface (const GeometricField< Type, fvPatchField, volMesh > &, Field< Type > &result) const |
Map patch internal field to area field. More... | |
template<class Type > | |
void | mapInternalToSurface (const tmp< GeometricField< Type, fvPatchField, volMesh >> &, Field< Type > &result) const |
Map patch internal field to area field. More... | |
template<class Type > | |
tmp< Field< Type > > | mapInternalToSurface (const GeometricField< Type, fvPatchField, volMesh > &) const |
Map patch internal field to area field. More... | |
template<class Type > | |
tmp< Field< Type > > | mapInternalToSurface (const tmp< GeometricField< Type, fvPatchField, volMesh >> &) const |
Map patch internal field to area field. More... | |
template<class Type > | |
void | mapToVolume (const DimensionedField< Type, areaMesh > &, GeometricBoundaryField< Type, fvPatchField, volMesh > &dest, const label destPatchi=-1) const |
Map area field to volume boundary field, optionally restricted to a single destination patch. More... | |
template<class Type > | |
void | mapToVolume (const tmp< DimensionedField< Type, areaMesh >> &, GeometricBoundaryField< Type, fvPatchField, volMesh > &dest, const label destPatchi=-1) const |
Map area field to volume boundary field, optionally restricted to a single destination patch. More... | |
template<class Type > | |
void | mapToVolume (const DimensionedField< Type, areaMesh > &, GeometricField< Type, fvPatchField, volMesh > &dest, const label destPatchi=-1) const |
Map area field to volume boundary field, optionally restricted to a single destination patch. More... | |
template<class Type > | |
void | mapToVolume (const tmp< DimensionedField< Type, areaMesh >> &, GeometricField< Type, fvPatchField, volMesh > &dest, const label destPatchi=-1) const |
Map area field to volume boundary field, optionally restricted to a single destination patch. More... | |
template<class Type > | |
void | mapToVolume (const tmp< GeometricField< Type, faPatchField, areaMesh >> &, GeometricBoundaryField< Type, fvPatchField, volMesh > &dest, const label destPatchi=-1) const |
Map tmp area field to volume boundary field, optionally restricted to a single destination patch. More... | |
template<class Type > | |
void | mapToVolume (const tmp< GeometricField< Type, faPatchField, areaMesh >> &, GeometricField< Type, fvPatchField, volMesh > &dest, const label destPatchi=-1) const |
Map tmp area field to volume boundary field, optionally restricted to a single destination patch. More... | |
template<class Type > | |
void | mapToVolumePatch (const DimensionedField< Type, areaMesh > &af, Field< Type > &dest, const label destPatchi) const |
Map area field to a volume boundary patch. More... | |
template<class Type > | |
void | mapToVolumePatch (const tmp< DimensionedField< Type, areaMesh >> &af, Field< Type > &dest, const label destPatchi) const |
Map tmp area field to a volume boundary patch. More... | |
template<class Type > | |
void | mapToVolumePatch (const tmp< GeometricField< Type, faPatchField, areaMesh >> &taf, Field< Type > &dest, const label destPatchi) const |
Map tmp area field to a volume boundary patch. More... | |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | mapToSurface (const GeometricBoundaryField< Type, fvPatchField, volMesh > &bfld) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | mapToSurface (const GeometricField< Type, fvPatchField, volMesh > &vfld) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | mapToSurface (const tmp< GeometricField< Type, fvPatchField, volMesh >> &tvf) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | mapToSurface (const GeometricField< Type, fvsPatchField, surfaceMesh > &fld) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | mapToSurface (const tmp< GeometricField< Type, fvsPatchField, surfaceMesh >> &tsf) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | mapToSurface (const UPtrList< Field< Type >> &patchFields) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | mapToSurface (const PtrMap< Field< Type >> &patchFields) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | mapInternalToSurface (const GeometricBoundaryField< Type, fvPatchField, volMesh > &bfld) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | mapInternalToSurface (const GeometricField< Type, fvPatchField, volMesh > &vfld) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | mapInternalToSurface (const tmp< GeometricField< Type, fvPatchField, volMesh >> &tvf) const |
Volume to surface and surface to volume mapping.
Author Hrvoje Jasak, Wikki Ltd.
Definition at line 58 of file volSurfaceMapping.H.
|
inlineexplicit |
Construct from mesh.
Definition at line 75 of file volSurfaceMapping.H.
|
delete |
No copy construct.
|
default |
Destructor.
|
delete |
No copy assignment.
void mapToSurface | ( | const GeometricBoundaryField< Type, fvPatchField, volMesh > & | bfld, |
Field< Type > & | result | ||
) | const |
Map volume boundary fields as area field.
Definition at line 28 of file volSurfaceMapping.C.
References Pair< T >::first(), and forAll.
Referenced by SurfaceFilmModel< Foam::KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::cacheFilmFields(), and liquidFilmModel::preEvolveRegion().
tmp<Field<Type> > mapToSurface | ( | const GeometricBoundaryField< Type, fvPatchField, volMesh > & | ) | const |
Map volume boundary fields as area field.
void mapToSurface | ( | const GeometricField< Type, fvPatchField, volMesh > & | vfld, |
Field< Type > & | result | ||
) | const |
Map volume (boundary) fields to area field.
Definition at line 65 of file volSurfaceMapping.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField().
void mapToSurface | ( | const tmp< GeometricField< Type, fvPatchField, volMesh >> & | tvf, |
Field< Type > & | result | ||
) | const |
Map volume (boundary) fields to area field.
Definition at line 76 of file volSurfaceMapping.C.
tmp<Field<Type> > mapToSurface | ( | const GeometricField< Type, fvPatchField, volMesh > & | ) | const |
Map volume (boundary) fields to area field.
tmp<Field<Type> > mapToSurface | ( | const tmp< GeometricField< Type, fvPatchField, volMesh >> & | ) | const |
Map volume (boundary) fields to area field.
void mapToSurface | ( | const GeometricField< Type, fvsPatchField, surfaceMesh > & | fld, |
Field< Type > & | result | ||
) | const |
Map surface fields to area field.
Definition at line 110 of file volSurfaceMapping.C.
References Pair< T >::first(), fld, forAll, and Pair< T >::second().
tmp<Field<Type> > mapToSurface | ( | const GeometricField< Type, fvsPatchField, surfaceMesh > & | ) | const |
Map surface fields to area field.
void mapToSurface | ( | const tmp< GeometricField< Type, fvsPatchField, surfaceMesh >> & | tsf, |
Field< Type > & | result | ||
) | const |
Map surface fields to area field.
Definition at line 155 of file volSurfaceMapping.C.
tmp<Field<Type> > mapToSurface | ( | const tmp< GeometricField< Type, fvsPatchField, surfaceMesh >> & | ) | const |
Map surface fields to area field.
Map pre-calculated boundary fields to area field.
Definition at line 179 of file volSurfaceMapping.C.
References UList< T >::first(), forAll, and UList< T >::get().
Map pre-calculated boundary fields to area field.
Definition at line 207 of file volSurfaceMapping.C.
References UList< T >::first(), forAll, and UList< T >::get().
Map pre-calculated boundary fields to area field.
Map pre-calculated boundary fields to area field.
void mapInternalToSurface | ( | const GeometricBoundaryField< Type, fvPatchField, volMesh > & | bfld, |
Field< Type > & | result | ||
) | const |
Map patch internal field to area field.
Definition at line 259 of file volSurfaceMapping.C.
References patches, PtrList< T >::resize(), and PtrList< T >::set().
tmp<Field<Type> > mapInternalToSurface | ( | const GeometricBoundaryField< Type, fvPatchField, volMesh > & | ) | const |
Map patch internal field to area field.
void mapInternalToSurface | ( | const GeometricField< Type, fvPatchField, volMesh > & | vf, |
Field< Type > & | result | ||
) | const |
Map patch internal field to area field.
Definition at line 301 of file volSurfaceMapping.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField().
void mapInternalToSurface | ( | const tmp< GeometricField< Type, fvPatchField, volMesh >> & | tvf, |
Field< Type > & | result | ||
) | const |
Map patch internal field to area field.
Definition at line 312 of file volSurfaceMapping.C.
tmp<Field<Type> > mapInternalToSurface | ( | const GeometricField< Type, fvPatchField, volMesh > & | ) | const |
Map patch internal field to area field.
tmp<Field<Type> > mapInternalToSurface | ( | const tmp< GeometricField< Type, fvPatchField, volMesh >> & | ) | const |
Map patch internal field to area field.
void mapToVolume | ( | const DimensionedField< Type, areaMesh > & | af, |
GeometricBoundaryField< Type, fvPatchField, volMesh > & | dest, | ||
const label | destPatchi = -1 |
||
) | const |
Map area field to volume boundary field, optionally restricted to a single destination patch.
Definition at line 346 of file volSurfaceMapping.C.
References Pair< T >::first(), and forAll.
void mapToVolume | ( | const tmp< DimensionedField< Type, areaMesh >> & | taf, |
GeometricBoundaryField< Type, fvPatchField, volMesh > & | dest, | ||
const label | destPatchi = -1 |
||
) | const |
Map area field to volume boundary field, optionally restricted to a single destination patch.
Definition at line 373 of file volSurfaceMapping.C.
References mapToVolume().
void mapToVolume | ( | const DimensionedField< Type, areaMesh > & | af, |
GeometricField< Type, fvPatchField, volMesh > & | dest, | ||
const label | destPatchi = -1 |
||
) | const |
Map area field to volume boundary field, optionally restricted to a single destination patch.
Definition at line 386 of file volSurfaceMapping.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), and mapToVolume().
void mapToVolume | ( | const tmp< DimensionedField< Type, areaMesh >> & | taf, |
GeometricField< Type, fvPatchField, volMesh > & | dest, | ||
const label | destPatchi = -1 |
||
) | const |
Map area field to volume boundary field, optionally restricted to a single destination patch.
Definition at line 398 of file volSurfaceMapping.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), and mapToVolume().
void mapToVolume | ( | const tmp< GeometricField< Type, faPatchField, areaMesh >> & | taf, |
GeometricBoundaryField< Type, fvPatchField, volMesh > & | dest, | ||
const label | destPatchi = -1 |
||
) | const |
Map tmp area field to volume boundary field, optionally restricted to a single destination patch.
Definition at line 410 of file volSurfaceMapping.C.
References mapToVolume().
void mapToVolume | ( | const tmp< GeometricField< Type, faPatchField, areaMesh >> & | taf, |
GeometricField< Type, fvPatchField, volMesh > & | dest, | ||
const label | destPatchi = -1 |
||
) | const |
Map tmp area field to volume boundary field, optionally restricted to a single destination patch.
Definition at line 423 of file volSurfaceMapping.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), and mapToVolume().
void mapToVolumePatch | ( | const DimensionedField< Type, areaMesh > & | af, |
Field< Type > & | dest, | ||
const label | destPatchi | ||
) | const |
Map area field to a volume boundary patch.
Definition at line 436 of file volSurfaceMapping.C.
References UList< T >::first(), and forAll.
void mapToVolumePatch | ( | const tmp< DimensionedField< Type, areaMesh >> & | af, |
Field< Type > & | dest, | ||
const label | destPatchi | ||
) | const |
Map tmp area field to a volume boundary patch.
Definition at line 460 of file volSurfaceMapping.C.
void mapToVolumePatch | ( | const tmp< GeometricField< Type, faPatchField, areaMesh >> & | taf, |
Field< Type > & | dest, | ||
const label | destPatchi | ||
) | const |
Map tmp area field to a volume boundary patch.
Definition at line 473 of file volSurfaceMapping.C.
Foam::tmp<Foam::Field<Type> > mapToSurface | ( | const GeometricBoundaryField< Type, fvPatchField, volMesh > & | bfld | ) | const |
Definition at line 53 of file volSurfaceMapping.C.
References Foam::New(), and Foam::Zero.
Foam::tmp<Foam::Field<Type> > mapToSurface | ( | const GeometricField< Type, fvPatchField, volMesh > & | vfld | ) | const |
Definition at line 88 of file volSurfaceMapping.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField().
Foam::tmp<Foam::Field<Type> > mapToSurface | ( | const tmp< GeometricField< Type, fvPatchField, volMesh >> & | tvf | ) | const |
Definition at line 98 of file volSurfaceMapping.C.
Foam::tmp<Foam::Field<Type> > mapToSurface | ( | const GeometricField< Type, fvsPatchField, surfaceMesh > & | fld | ) | const |
Definition at line 143 of file volSurfaceMapping.C.
References fld, Foam::New(), and Foam::Zero.
Foam::tmp<Foam::Field<Type> > mapToSurface | ( | const tmp< GeometricField< Type, fvsPatchField, surfaceMesh >> & | tsf | ) | const |
Definition at line 167 of file volSurfaceMapping.C.
Foam::tmp<Foam::Field<Type> > mapToSurface | ( | const UPtrList< Field< Type >> & | patchFields | ) | const |
Definition at line 235 of file volSurfaceMapping.C.
References Foam::New(), and Foam::Zero.
Foam::tmp<Foam::Field<Type> > mapToSurface | ( | const PtrMap< Field< Type >> & | patchFields | ) | const |
Definition at line 247 of file volSurfaceMapping.C.
References Foam::New(), and Foam::Zero.
Foam::tmp<Foam::Field<Type> > mapInternalToSurface | ( | const GeometricBoundaryField< Type, fvPatchField, volMesh > & | bfld | ) | const |
Definition at line 287 of file volSurfaceMapping.C.
References Foam::New(), and Foam::Zero.
Foam::tmp<Foam::Field<Type> > mapInternalToSurface | ( | const GeometricField< Type, fvPatchField, volMesh > & | vfld | ) | const |
Definition at line 324 of file volSurfaceMapping.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField().
Foam::tmp<Foam::Field<Type> > mapInternalToSurface | ( | const tmp< GeometricField< Type, fvPatchField, volMesh >> & | tvf | ) | const |
Definition at line 334 of file volSurfaceMapping.C.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.