Loading...
Searching...
No Matches
volSurfaceMapping Class Reference

Volume to surface and surface to volume mapping. More...

#include <volSurfaceMapping.H>

Public Member Functions

 volSurfaceMapping (const faMesh &mesh)
 Construct from mesh.
 volSurfaceMapping (const volSurfaceMapping &)=delete
 No copy construct.
void operator= (const volSurfaceMapping &)=delete
 No copy assignment.
 ~volSurfaceMapping ()=default
 Destructor.
template<class Type>
void mapToSurface (const GeometricBoundaryField< Type, fvPatchField, volMesh > &, Field< Type > &result) const
 Map volume boundary fields as area field.
template<class Type>
tmp< Field< Type > > mapToSurface (const GeometricBoundaryField< Type, fvPatchField, volMesh > &) const
 Map volume boundary fields as area field.
template<class Type>
void mapToSurface (const GeometricField< Type, fvPatchField, volMesh > &, Field< Type > &result) const
 Map volume (boundary) fields to area field.
template<class Type>
void mapToSurface (const tmp< GeometricField< Type, fvPatchField, volMesh > > &, Field< Type > &result) const
 Map volume (boundary) fields to area field.
template<class Type>
tmp< Field< Type > > mapToSurface (const GeometricField< Type, fvPatchField, volMesh > &) const
 Map volume (boundary) fields to area field.
template<class Type>
tmp< Field< Type > > mapToSurface (const tmp< GeometricField< Type, fvPatchField, volMesh > > &) const
 Map volume (boundary) fields to area field.
template<class Type>
void mapToSurface (const GeometricField< Type, fvsPatchField, surfaceMesh > &, Field< Type > &result) const
 Map surface fields to area field.
template<class Type>
tmp< Field< Type > > mapToSurface (const GeometricField< Type, fvsPatchField, surfaceMesh > &) const
 Map surface fields to area field.
template<class Type>
void mapToSurface (const tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > &, Field< Type > &result) const
 Map surface fields to area field.
template<class Type>
tmp< Field< Type > > mapToSurface (const tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > &) const
 Map surface fields to area field.
template<class Type>
void mapToSurface (const UPtrList< Field< Type > > &patchFields, Field< Type > &result) const
 Map pre-calculated boundary fields to area field.
template<class Type>
void mapToSurface (const PtrMap< Field< Type > > &patchFields, Field< Type > &result) const
 Map pre-calculated boundary fields to area field.
template<class Type>
tmp< Field< Type > > mapToSurface (const UPtrList< Field< Type > > &patchFields) const
 Map pre-calculated boundary fields to area field.
template<class Type>
tmp< Field< Type > > mapToSurface (const PtrMap< Field< Type > > &patchFields) const
 Map pre-calculated boundary fields to area field.
template<class Type>
void mapInternalToSurface (const GeometricBoundaryField< Type, fvPatchField, volMesh > &, Field< Type > &result) const
 Map patch internal field to area field.
template<class Type>
tmp< Field< Type > > mapInternalToSurface (const GeometricBoundaryField< Type, fvPatchField, volMesh > &) const
 Map patch internal field to area field.
template<class Type>
void mapInternalToSurface (const GeometricField< Type, fvPatchField, volMesh > &, Field< Type > &result) const
 Map patch internal field to area field.
template<class Type>
void mapInternalToSurface (const tmp< GeometricField< Type, fvPatchField, volMesh > > &, Field< Type > &result) const
 Map patch internal field to area field.
template<class Type>
tmp< Field< Type > > mapInternalToSurface (const GeometricField< Type, fvPatchField, volMesh > &) const
 Map patch internal field to area field.
template<class Type>
tmp< Field< Type > > mapInternalToSurface (const tmp< GeometricField< Type, fvPatchField, volMesh > > &) const
 Map patch internal field to area field.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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

Detailed Description

Volume to surface and surface to volume mapping.

Author Hrvoje Jasak, Wikki Ltd.

Source files

Definition at line 58 of file volSurfaceMapping.H.

Constructor & Destructor Documentation

◆ volSurfaceMapping() [1/2]

volSurfaceMapping ( const faMesh & mesh)
inlineexplicit

Construct from mesh.

Definition at line 75 of file volSurfaceMapping.H.

References mesh.

Referenced by operator=(), and volSurfaceMapping().

Here is the caller graph for this function:

◆ volSurfaceMapping() [2/2]

volSurfaceMapping ( const volSurfaceMapping & )
delete

No copy construct.

References volSurfaceMapping().

Here is the call graph for this function:

◆ ~volSurfaceMapping()

~volSurfaceMapping ( )
default

Destructor.

Member Function Documentation

◆ operator=()

void operator= ( const volSurfaceMapping & )
delete

No copy assignment.

References volSurfaceMapping().

Here is the call graph for this function:

◆ mapToSurface() [1/21]

template<class Type>
void mapToSurface ( const GeometricBoundaryField< Type, fvPatchField, volMesh > & bfld,
Field< Type > & result ) const

Map volume boundary fields as area field.

Definition at line 27 of file volSurfaceMapping.C.

References Pair< T >::first(), and forAll.

Referenced by SurfaceFilmModel< CloudType >::cacheFilmFields(), mapInternalToSurface(), mapToSurface(), mapToSurface(), mapToSurface(), mapToSurface(), mapToSurface(), mapToSurface(), mapToSurface(), mapToSurface(), mapToSurface(), mapToSurface(), and liquidFilmModel::preEvolveRegion().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mapToSurface() [2/21]

template<class Type>
tmp< Field< Type > > mapToSurface ( const GeometricBoundaryField< Type, fvPatchField, volMesh > & ) const

Map volume boundary fields as area field.

◆ mapToSurface() [3/21]

template<class Type>
void mapToSurface ( const GeometricField< Type, fvPatchField, volMesh > & vfld,
Field< Type > & result ) const

Map volume (boundary) fields to area field.

Definition at line 64 of file volSurfaceMapping.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), and mapToSurface().

Here is the call graph for this function:

◆ mapToSurface() [4/21]

template<class Type>
void mapToSurface ( const tmp< GeometricField< Type, fvPatchField, volMesh > > & tvf,
Field< Type > & result ) const

Map volume (boundary) fields to area field.

Definition at line 75 of file volSurfaceMapping.C.

References mapToSurface().

Here is the call graph for this function:

◆ mapToSurface() [5/21]

template<class Type>
tmp< Field< Type > > mapToSurface ( const GeometricField< Type, fvPatchField, volMesh > & ) const

Map volume (boundary) fields to area field.

◆ mapToSurface() [6/21]

template<class Type>
tmp< Field< Type > > mapToSurface ( const tmp< GeometricField< Type, fvPatchField, volMesh > > & ) const

Map volume (boundary) fields to area field.

◆ mapToSurface() [7/21]

template<class Type>
void mapToSurface ( const GeometricField< Type, fvsPatchField, surfaceMesh > & fld,
Field< Type > & result ) const

Map surface fields to area field.

Definition at line 109 of file volSurfaceMapping.C.

References Pair< T >::first(), fld(), forAll, and Pair< T >::second().

Here is the call graph for this function:

◆ mapToSurface() [8/21]

template<class Type>
tmp< Field< Type > > mapToSurface ( const GeometricField< Type, fvsPatchField, surfaceMesh > & ) const

Map surface fields to area field.

◆ mapToSurface() [9/21]

template<class Type>
void mapToSurface ( const tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > & tsf,
Field< Type > & result ) const

Map surface fields to area field.

Definition at line 154 of file volSurfaceMapping.C.

References mapToSurface().

Here is the call graph for this function:

◆ mapToSurface() [10/21]

template<class Type>
tmp< Field< Type > > mapToSurface ( const tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > & ) const

Map surface fields to area field.

◆ mapToSurface() [11/21]

template<class Type>
void mapToSurface ( const UPtrList< Field< Type > > & patchFields,
Field< Type > & result ) const

Map pre-calculated boundary fields to area field.

Definition at line 178 of file volSurfaceMapping.C.

References UList< T >::first(), forAll, and UList< T >::get().

Here is the call graph for this function:

◆ mapToSurface() [12/21]

template<class Type>
void mapToSurface ( const PtrMap< Field< Type > > & patchFields,
Field< Type > & result ) const

Map pre-calculated boundary fields to area field.

Definition at line 206 of file volSurfaceMapping.C.

References UList< T >::first(), forAll, and UList< T >::get().

Here is the call graph for this function:

◆ mapToSurface() [13/21]

template<class Type>
tmp< Field< Type > > mapToSurface ( const UPtrList< Field< Type > > & patchFields) const

Map pre-calculated boundary fields to area field.

◆ mapToSurface() [14/21]

template<class Type>
tmp< Field< Type > > mapToSurface ( const PtrMap< Field< Type > > & patchFields) const

Map pre-calculated boundary fields to area field.

◆ mapInternalToSurface() [1/9]

template<class Type>
void mapInternalToSurface ( const GeometricBoundaryField< Type, fvPatchField, volMesh > & bfld,
Field< Type > & result ) const

Map patch internal field to area field.

Definition at line 258 of file volSurfaceMapping.C.

References mapToSurface(), patches, PtrList< T >::resize(), and PtrList< T >::set().

Referenced by mapInternalToSurface(), mapInternalToSurface(), mapInternalToSurface(), mapInternalToSurface(), and mapInternalToSurface().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mapInternalToSurface() [2/9]

template<class Type>
tmp< Field< Type > > mapInternalToSurface ( const GeometricBoundaryField< Type, fvPatchField, volMesh > & ) const

Map patch internal field to area field.

◆ mapInternalToSurface() [3/9]

template<class Type>
void mapInternalToSurface ( const GeometricField< Type, fvPatchField, volMesh > & vf,
Field< Type > & result ) const

Map patch internal field to area field.

Definition at line 300 of file volSurfaceMapping.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), and mapInternalToSurface().

Here is the call graph for this function:

◆ mapInternalToSurface() [4/9]

template<class Type>
void mapInternalToSurface ( const tmp< GeometricField< Type, fvPatchField, volMesh > > & tvf,
Field< Type > & result ) const

Map patch internal field to area field.

Definition at line 311 of file volSurfaceMapping.C.

References mapInternalToSurface().

Here is the call graph for this function:

◆ mapInternalToSurface() [5/9]

template<class Type>
tmp< Field< Type > > mapInternalToSurface ( const GeometricField< Type, fvPatchField, volMesh > & ) const

Map patch internal field to area field.

◆ mapInternalToSurface() [6/9]

template<class Type>
tmp< Field< Type > > mapInternalToSurface ( const tmp< GeometricField< Type, fvPatchField, volMesh > > & ) const

Map patch internal field to area field.

◆ mapToVolume() [1/6]

template<class Type>
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 345 of file volSurfaceMapping.C.

References Pair< T >::first(), and forAll.

Here is the call graph for this function:

◆ mapToVolume() [2/6]

template<class Type>
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 372 of file volSurfaceMapping.C.

References mapToVolume().

Here is the call graph for this function:

◆ mapToVolume() [3/6]

template<class Type>
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 385 of file volSurfaceMapping.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), and mapToVolume().

Here is the call graph for this function:

◆ mapToVolume() [4/6]

template<class Type>
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 397 of file volSurfaceMapping.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), and mapToVolume().

Here is the call graph for this function:

◆ mapToVolume() [5/6]

template<class Type>
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 409 of file volSurfaceMapping.C.

References mapToVolume().

Here is the call graph for this function:

◆ mapToVolume() [6/6]

template<class Type>
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 422 of file volSurfaceMapping.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), and mapToVolume().

Here is the call graph for this function:

◆ mapToVolumePatch() [1/3]

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.

Definition at line 435 of file volSurfaceMapping.C.

References UList< T >::first(), and forAll.

Referenced by mapToVolumePatch(), and mapToVolumePatch().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mapToVolumePatch() [2/3]

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.

Definition at line 459 of file volSurfaceMapping.C.

References mapToVolumePatch().

Here is the call graph for this function:

◆ mapToVolumePatch() [3/3]

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.

Definition at line 472 of file volSurfaceMapping.C.

References mapToVolumePatch().

Here is the call graph for this function:

◆ mapToSurface() [15/21]

template<class Type>
Foam::tmp< Foam::Field< Type > > mapToSurface ( const GeometricBoundaryField< Type, fvPatchField, volMesh > & bfld) const

Definition at line 52 of file volSurfaceMapping.C.

References mapToSurface(), Foam::New(), and Foam::Zero.

Here is the call graph for this function:

◆ mapToSurface() [16/21]

template<class Type>
Foam::tmp< Foam::Field< Type > > mapToSurface ( const GeometricField< Type, fvPatchField, volMesh > & vfld) const

Definition at line 87 of file volSurfaceMapping.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), and mapToSurface().

Here is the call graph for this function:

◆ mapToSurface() [17/21]

template<class Type>
Foam::tmp< Foam::Field< Type > > mapToSurface ( const tmp< GeometricField< Type, fvPatchField, volMesh > > & tvf) const

Definition at line 97 of file volSurfaceMapping.C.

References mapToSurface().

Here is the call graph for this function:

◆ mapToSurface() [18/21]

template<class Type>
Foam::tmp< Foam::Field< Type > > mapToSurface ( const GeometricField< Type, fvsPatchField, surfaceMesh > & fld) const

Definition at line 142 of file volSurfaceMapping.C.

References fld(), mapToSurface(), Foam::New(), and Foam::Zero.

Here is the call graph for this function:

◆ mapToSurface() [19/21]

template<class Type>
Foam::tmp< Foam::Field< Type > > mapToSurface ( const tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > & tsf) const

Definition at line 166 of file volSurfaceMapping.C.

References mapToSurface().

Here is the call graph for this function:

◆ mapToSurface() [20/21]

template<class Type>
Foam::tmp< Foam::Field< Type > > mapToSurface ( const UPtrList< Field< Type > > & patchFields) const

Definition at line 234 of file volSurfaceMapping.C.

References mapToSurface(), Foam::New(), and Foam::Zero.

Here is the call graph for this function:

◆ mapToSurface() [21/21]

template<class Type>
Foam::tmp< Foam::Field< Type > > mapToSurface ( const PtrMap< Field< Type > > & patchFields) const

Definition at line 246 of file volSurfaceMapping.C.

References mapToSurface(), Foam::New(), and Foam::Zero.

Here is the call graph for this function:

◆ mapInternalToSurface() [7/9]

template<class Type>
Foam::tmp< Foam::Field< Type > > mapInternalToSurface ( const GeometricBoundaryField< Type, fvPatchField, volMesh > & bfld) const

Definition at line 286 of file volSurfaceMapping.C.

References mapInternalToSurface(), Foam::New(), and Foam::Zero.

Here is the call graph for this function:

◆ mapInternalToSurface() [8/9]

template<class Type>
Foam::tmp< Foam::Field< Type > > mapInternalToSurface ( const GeometricField< Type, fvPatchField, volMesh > & vfld) const

Definition at line 323 of file volSurfaceMapping.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), and mapInternalToSurface().

Here is the call graph for this function:

◆ mapInternalToSurface() [9/9]

template<class Type>
Foam::tmp< Foam::Field< Type > > mapInternalToSurface ( const tmp< GeometricField< Type, fvPatchField, volMesh > > & tvf) const

Definition at line 333 of file volSurfaceMapping.C.

References mapInternalToSurface().

Here is the call graph for this function:

The documentation for this class was generated from the following files: