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 |
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.
References mesh.
Referenced by operator=(), and volSurfaceMapping().

|
delete |
|
default |
Destructor.
|
delete |
| 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().


| 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 64 of file volSurfaceMapping.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), and mapToSurface().

| 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().

| 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 109 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 154 of file volSurfaceMapping.C.
References mapToSurface().

| tmp< Field< Type > > mapToSurface | ( | const tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > & | ) | const |
Map surface fields to area field.
| 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().

| 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().

| tmp< Field< Type > > mapToSurface | ( | const UPtrList< Field< Type > > & | patchFields | ) | const |
Map pre-calculated boundary fields to area field.
| tmp< Field< Type > > mapToSurface | ( | const PtrMap< Field< Type > > & | patchFields | ) | const |
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 258 of file volSurfaceMapping.C.
References mapToSurface(), patches, PtrList< T >::resize(), and PtrList< T >::set().
Referenced by mapInternalToSurface(), mapInternalToSurface(), mapInternalToSurface(), mapInternalToSurface(), and mapInternalToSurface().


| 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 300 of file volSurfaceMapping.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), and mapInternalToSurface().

| 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().

| 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 345 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 372 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 385 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 397 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 409 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 422 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 435 of file volSurfaceMapping.C.
References UList< T >::first(), and forAll.
Referenced by mapToVolumePatch(), and mapToVolumePatch().


| 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().

| 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().

| 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.

| 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().

| Foam::tmp< Foam::Field< Type > > mapToSurface | ( | const tmp< GeometricField< Type, fvPatchField, volMesh > > & | tvf | ) | const |
Definition at line 97 of file volSurfaceMapping.C.
References mapToSurface().

| 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.

| Foam::tmp< Foam::Field< Type > > mapToSurface | ( | const tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > & | tsf | ) | const |
Definition at line 166 of file volSurfaceMapping.C.
References mapToSurface().

| 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.

| 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.

| 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.

| 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().

| Foam::tmp< Foam::Field< Type > > mapInternalToSurface | ( | const tmp< GeometricField< Type, fvPatchField, volMesh > > & | tvf | ) | const |
Definition at line 333 of file volSurfaceMapping.C.
References mapInternalToSurface().
