An abstract class for surfaces with sampling. More...
#include <sampledSurface.H>


Classes | |
| class | iNew |
| PtrList read-construction helper. More... | |
| class | iNewCapture |
| PtrList read-construction helper that captures dictionaries used during creation. More... | |
Public Member Functions | |
| TypeName ("sampledSurface") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, sampledSurface, word,(const word &name, const polyMesh &mesh, const dictionary &dict),(name, mesh, dict)) | |
| Declare run-time constructor selection table. | |
| sampledSurface (const word &name, const polyMesh &mesh, const bool interpolateToPoints=false) | |
| Construct from name, mesh. | |
| sampledSurface (const word &name, const polyMesh &mesh, const dictionary &dict) | |
| Construct from dictionary. | |
| autoPtr< sampledSurface > | clone () const |
| Clone. | |
| virtual | ~sampledSurface () |
| Destructor - calls clearGeom(). | |
| const polyMesh & | mesh () const noexcept |
| Access to the underlying mesh. | |
| const word & | name () const noexcept |
| Name of surface. | |
| bool | enabled () const noexcept |
| Surface is enabled. | |
| bool | invariant () const noexcept |
| Surface is invariant with geometry change (caution). | |
| bool | isPointData () const noexcept |
| Using interpolation to surface points. | |
| virtual bool | isPointData (const bool on) |
| Change point/cell representation, may trigger an expire(). | |
| virtual bool | needsUpdate () const =0 |
| Does the surface need an update? | |
| virtual bool | expire ()=0 |
| Mark the surface as needing an update. | |
| virtual bool | update ()=0 |
| Update the surface as required. | |
| virtual const pointField & | points () const =0 |
| Points of surface. | |
| virtual const faceList & | faces () const =0 |
| Faces of surface. | |
| virtual const vectorField & | Sf () const =0 |
| Face area vectors. | |
| virtual const scalarField & | magSf () const =0 |
| Face area magnitudes. | |
| virtual const vectorField & | Cf () const =0 |
| Face centres. | |
| scalar | area () const |
| The total surface area. | |
| virtual bool | hasFaceIds () const |
| If element ids/order of the original surface are available. | |
| polySurface * | getRegistrySurface (const objectRegistry &obr, word lookupName="") const |
| Get surface from registry if available. | |
| polySurface * | storeRegistrySurface (objectRegistry &obr, word lookupName="") const |
| Copy surface into registry. | |
| bool | removeRegistrySurface (objectRegistry &obr, word lookupName="") const |
| Remove surface from registry. | |
| template<class Type, class GeoMeshType> | |
| bool | storeRegistryField (const objectRegistry &obr, const word &fieldName, const dimensionSet &dims, const Field< Type > &values, word lookupName="") const |
| Copy/store sampled field onto registered surface (if it exists). | |
| template<class Type, class GeoMeshType> | |
| bool | storeRegistryField (const objectRegistry &obr, const word &fieldName, const dimensionSet &dims, Field< Type > &&values, word lookupName="") const |
| Move/store sampled field onto registered surface (if it exists). | |
| virtual tmp< scalarField > | sample (const interpolation< scalar > &sampler) const =0 |
| Sample volume field onto surface faces. | |
| virtual tmp< vectorField > | sample (const interpolation< vector > &sampler) const =0 |
| Sample volume field onto surface faces. | |
| virtual tmp< sphericalTensorField > | sample (const interpolation< sphericalTensor > &sampler) const =0 |
| Sample volume field onto surface faces. | |
| virtual tmp< symmTensorField > | sample (const interpolation< symmTensor > &sampler) const =0 |
| Sample volume field onto surface faces. | |
| virtual tmp< tensorField > | sample (const interpolation< tensor > &sampler) const =0 |
| Sample volume field onto surface faces. | |
| virtual bool | withSurfaceFields () const |
| Can it sample surface-fields? | |
| virtual tmp< scalarField > | sample (const surfaceScalarField &sField) const |
| Sample surface field onto surface. | |
| virtual tmp< vectorField > | sample (const surfaceVectorField &sField) const |
| Sample surface field onto surface. | |
| virtual tmp< sphericalTensorField > | sample (const surfaceSphericalTensorField &sField) const |
| Sample surface field onto surface. | |
| virtual tmp< symmTensorField > | sample (const surfaceSymmTensorField &sField) const |
| Sample surface field onto surface. | |
| virtual tmp< tensorField > | sample (const surfaceTensorField &sField) const |
| Sample surface field onto surface. | |
| virtual tmp< scalarField > | interpolate (const interpolation< scalar > &interpolator) const =0 |
| Interpolate volume field onto surface points. | |
| virtual tmp< vectorField > | interpolate (const interpolation< vector > &interpolator) const =0 |
| Interpolate volume field onto surface points. | |
| virtual tmp< sphericalTensorField > | interpolate (const interpolation< sphericalTensor > &interpolator) const =0 |
| Interpolate volume field onto surface points. | |
| virtual tmp< symmTensorField > | interpolate (const interpolation< symmTensor > &interpolator) const =0 |
| Interpolate volume field onto surface points. | |
| virtual tmp< tensorField > | interpolate (const interpolation< tensor > &interpolator) const =0 |
| Interpolate volume field onto surface points. | |
| virtual void | rename (const word &newName) |
| Rename. | |
| virtual void | print (Ostream &os, int level=0) const |
| Print information. | |
| bool | interpolate () const noexcept |
| Same as isPointData(). | |
| template<class Type> | |
| Foam::tmp< Foam::Field< Type > > | sampleOnFaces (const interpolation< Type > &sampler, const labelUList &elements, const faceList &fcs, const pointField &pts, const Type &defaultValue) |
| template<class Type> | |
| Foam::tmp< Foam::Field< Type > > | sampleOnPoints (const interpolation< Type > &interpolator, const labelUList &elements, const faceList &fcs, const pointField &pts) |
| template<class Type> | |
| Foam::tmp< Foam::VolumeField< Type > > | pointAverage (const PointField< Type > &pfld) |
| Public Member Functions inherited from meshedSurf | |
| constexpr | meshedSurf () noexcept=default |
| Default construct. | |
| virtual | ~meshedSurf ()=default |
| Destructor. | |
| virtual const labelList & | zoneIds () const |
| Per-face zone/region information. | |
| virtual const labelList & | faceIds () const |
| Per-face identifier (eg, element Id). | |
Static Public Member Functions | |
| static autoPtr< sampledSurface > | New (const word &name, const polyMesh &mesh, const dictionary &dict) |
| Return a reference to the selected surface. | |
Protected Member Functions | |
| virtual void | clearGeom () const |
| Additional cleanup when clearing the geometry. | |
| sampledSurface (const word &name, std::nullptr_t) | |
| Construct null. | |
Static Protected Member Functions | |
| template<class Type> | |
| static tmp< Field< Type > > | sampleOnFaces (const interpolation< Type > &sampler, const labelUList &elements, const faceList &fcs, const pointField &pts, const Type &defaultValue=Type(Zero)) |
| Loop for sampling volume elements to faces. | |
| template<class Type> | |
| static tmp< Field< Type > > | sampleOnPoints (const interpolation< Type > &interpolator, const labelUList &elements, const faceList &fcs, const pointField &pts) |
| Loop for interpolating volume elements to face points. | |
| template<class Type> | |
| static tmp< VolumeField< Type > > | pointAverage (const PointField< Type > &pfld) |
| Create cell values by averaging the point values. | |
An abstract class for surfaces with sampling.
The constructors for the derived classes should generally start in a 'expired' condition (ie, needsUpdate() == true) and rely on a subsequent call to the update() method to complete the initialization. Delaying the final construction as late as possible allows the construction of surfaces that may depend on intermediate calculation results (eg, iso-surfaces) and also avoids the unnecessary reconstruction of surfaces between sampling intervals.
It is the responsibility of the caller to ensure that the surface update() is called before the surface is used. The update() method implementation should do nothing when the surface is already up-to-date.
Any sampler is assumed to work for the standard volume field types. Some may also support surface fields.
Dictionary entries:
| Property | Description | Required | Default |
|---|---|---|---|
name | Alternative name | no | |
enabled | Enable/disable the surface? | no | yes |
interpolate | Interpolate to nodes instead of faces | no | false |
invariant | Invariant with geometry change (use with caution!) | no | false |
Definition at line 116 of file sampledSurface.H.
|
explicitprotected |
Construct null.
Definition at line 75 of file sampledSurface.C.
References name(), and Foam::NullObjectRef().
Referenced by declareRunTimeSelectionTable(), sampledCuttingPlane::sampledCuttingPlane(), sampledCuttingSurface::sampledCuttingSurface(), sampledCuttingSurface::sampledCuttingSurface(), sampledDistanceSurface::sampledDistanceSurface(), sampledDistanceSurface::sampledDistanceSurface(), sampledFaceZone::sampledFaceZone(), sampledFaceZone::sampledFaceZone(), sampledInterface::sampledInterface(), sampledIsoSurface::sampledIsoSurface(), sampledMeshedSurface::sampledMeshedSurface(), sampledMeshedSurface::sampledMeshedSurface(), sampledNone::sampledNone(), sampledNone::sampledNone(), sampledNone::sampledNone(), sampledPatch::sampledPatch(), sampledPatch::sampledPatch(), sampledPlane::sampledPlane(), sampledPlane::sampledPlane(), and sampledThresholdCellFaces::sampledThresholdCellFaces().


Construct from name, mesh.
Definition at line 86 of file sampledSurface.C.
References mesh(), and name().

| sampledSurface | ( | const word & | name, |
| const polyMesh & | mesh, | ||
| const dictionary & | dict ) |
Construct from dictionary.
Definition at line 102 of file sampledSurface.C.
References dict, mesh(), and name().

|
virtual |
Destructor - calls clearGeom().
Definition at line 120 of file sampledSurface.C.
References clearGeom().

|
staticprotected |
Loop for sampling volume elements to faces.
The defaultValue is used for invalid (negative) elements
References pts, and Foam::Zero.
Referenced by sampledCuttingPlane::sampleOnFaces(), sampledCuttingSurface::sampleOnFaces(), sampledDistanceSurface::sampleOnFaces(), sampledInterface::sampleOnFaces(), sampledIsoSurface::sampleOnFaces(), sampledMeshedSurface::sampleOnFaces(), sampledPlane::sampleOnFaces(), and sampledThresholdCellFaces::sampleOnFaces().

|
staticprotected |
Loop for interpolating volume elements to face points.
References pts.
Referenced by sampledCuttingPlane::sampleOnPoints(), sampledCuttingSurface::sampleOnPoints(), sampledDistanceSurface::sampleOnPoints(), sampledIsoSurface::sampleOnPoints(), sampledPlane::sampleOnPoints(), and sampledThresholdCellFaces::sampleOnPoints().

|
staticprotected |
Create cell values by averaging the point values.
References name().
Referenced by sampledCuttingPlane::sampleOnIsoSurfacePoints(), sampledDistanceSurface::sampleOnIsoSurfacePoints(), and sampledIsoSurface::sampleOnIsoSurfacePoints().


|
protectedvirtual |
Additional cleanup when clearing the geometry.
Definition at line 36 of file sampledSurface.C.
Referenced by sampledCuttingPlane::expire(), sampledCuttingSurface::expire(), sampledDistanceSurface::expire(), sampledFaceZone::expire(), sampledInterface::expire(), sampledIsoSurface::expire(), sampledMeshedSurface::expire(), sampledPatch::expire(), sampledPlane::expire(), sampledCuttingSurface::update(), sampledPlane::update(), and ~sampledSurface().

| TypeName | ( | "sampledSurface" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| sampledSurface | , | ||
| word | , | ||
| (const word &name, const polyMesh &mesh, const dictionary &dict) | , | ||
| (name, mesh, dict) | ) |
Declare run-time constructor selection table.
References dict, mesh(), name(), and sampledSurface().

|
inline |
|
static |
Return a reference to the selected surface.
Definition at line 44 of file sampledSurface.C.
References DebugInfo, dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, mesh(), and name().
Referenced by sampledSurface::iNew::operator()(), sampledSurface::iNewCapture::operator()(), sampledSurfaces::read(), sampledFaceZone::sampleOnFaces(), sampledMeshedSurface::sampleOnFaces(), sampledPatch::sampleOnFaces(), and sampleOnFaces().


|
inlinenoexcept |
Access to the underlying mesh.
Definition at line 350 of file sampledSurface.H.
References Foam::noexcept.
Referenced by declareRunTimeSelectionTable(), sampledSurface::iNew::iNew(), sampledSurface::iNewCapture::iNewCapture(), New(), pointAverage(), sampledCuttingPlane::sampledCuttingPlane(), sampledCuttingSurface::sampledCuttingSurface(), sampledCuttingSurface::sampledCuttingSurface(), sampledDistanceSurface::sampledDistanceSurface(), sampledDistanceSurface::sampledDistanceSurface(), sampledFaceZone::sampledFaceZone(), sampledFaceZone::sampledFaceZone(), sampledInterface::sampledInterface(), sampledIsoSurface::sampledIsoSurface(), sampledIsoSurface::sampledIsoSurface(), sampledIsoSurfaceCell::sampledIsoSurfaceCell(), sampledIsoSurfacePoint::sampledIsoSurfacePoint(), sampledIsoSurfaceTopo::sampledIsoSurfaceTopo(), sampledMeshedSurface::sampledMeshedSurface(), sampledMeshedSurface::sampledMeshedSurface(), sampledMeshedSurfaceNormal::sampledMeshedSurfaceNormal(), sampledMeshedSurfaceNormal::sampledMeshedSurfaceNormal(), sampledNone::sampledNone(), sampledPatch::sampledPatch(), sampledPatch::sampledPatch(), sampledPatchInternalField::sampledPatchInternalField(), sampledPlane::sampledPlane(), sampledPlane::sampledPlane(), sampledSurface(), sampledSurface(), sampledThresholdCellFaces::sampledThresholdCellFaces(), sampledFaceZone::sampleOnFaces(), sampledMeshedSurface::sampleOnFaces(), sampledCuttingPlane::TypeName(), sampledCuttingSurface::TypeName(), sampledDistanceSurface::TypeName(), sampledFaceZone::TypeName(), sampledInterface::TypeName(), sampledIsoSurface::TypeName(), sampledMeshedSurface::TypeName(), sampledMeshedSurfaceNormal::TypeName(), sampledPatch::TypeName(), sampledPatchInternalField::TypeName(), sampledPlane::TypeName(), sampledIsoSurfaceCell::TypeNameNoDebug(), sampledIsoSurfacePoint::TypeNameNoDebug(), and sampledIsoSurfaceTopo::TypeNameNoDebug().

|
inlinenoexcept |
Name of surface.
Definition at line 358 of file sampledSurface.H.
References Foam::noexcept.
Referenced by declareRunTimeSelectionTable(), New(), sampledSurface::iNew::operator()(), sampledSurface::iNewCapture::operator()(), pointAverage(), sampledCuttingPlane::sampledCuttingPlane(), sampledDistanceSurface::sampledDistanceSurface(), sampledDistanceSurface::sampledDistanceSurface(), sampledFaceZone::sampledFaceZone(), sampledFaceZone::sampledFaceZone(), sampledInterface::sampledInterface(), sampledIsoSurface::sampledIsoSurface(), sampledIsoSurface::sampledIsoSurface(), sampledMeshedSurface::sampledMeshedSurface(), sampledMeshedSurface::sampledMeshedSurface(), sampledNone::sampledNone(), sampledNone::sampledNone(), sampledPatch::sampledPatch(), sampledPatch::sampledPatch(), sampledPlane::sampledPlane(), sampledPlane::sampledPlane(), sampledSurface(), sampledSurface(), sampledSurface(), sampledThresholdCellFaces::sampledThresholdCellFaces(), sampledCuttingPlane::TypeName(), sampledDistanceSurface::TypeName(), sampledFaceZone::TypeName(), sampledInterface::TypeName(), sampledIsoSurface::TypeName(), sampledMeshedSurface::TypeName(), sampledNone::TypeName(), sampledPatch::TypeName(), sampledPlane::TypeName(), and sampledThresholdCellFaces::TypeName().

|
inlinenoexcept |
|
inlinenoexcept |
Surface is invariant with geometry change (caution).
Definition at line 374 of file sampledSurface.H.
References Foam::noexcept.
|
inlinenoexcept |
Using interpolation to surface points.
Definition at line 382 of file sampledSurface.H.
References Foam::noexcept.
|
virtual |
Change point/cell representation, may trigger an expire().
Definition at line 139 of file sampledSurface.C.
|
pure virtual |
Does the surface need an update?
Implemented in sampledCuttingPlane, sampledCuttingSurface, sampledDistanceSurface, sampledFaceZone, sampledInterface, sampledIsoSurface, sampledMeshedSurface, sampledNone, sampledPatch, sampledPlane, and sampledThresholdCellFaces.
|
pure virtual |
Mark the surface as needing an update.
May also free up unneeded data. Return false if surface was already marked as expired.
Implemented in sampledCuttingPlane, sampledCuttingSurface, sampledDistanceSurface, sampledFaceZone, sampledInterface, sampledIsoSurface, sampledMeshedSurface, sampledNone, sampledPatch, sampledPlane, and sampledThresholdCellFaces.
|
pure virtual |
Update the surface as required.
Do nothing (and return false) if no update was required
Implemented in sampledCuttingPlane, sampledCuttingSurface, sampledDistanceSurface, sampledFaceZone, sampledInterface, sampledIsoSurface, sampledMeshedSurface, sampledNone, sampledPatch, sampledPlane, and sampledThresholdCellFaces.
|
pure virtual |
Points of surface.
Implements meshedSurf.
Implemented in sampledCuttingPlane, sampledCuttingSurface, sampledDistanceSurface, sampledFaceZone, sampledInterface, sampledIsoSurface, sampledMeshedSurface, sampledNone, sampledPatch, sampledPlane, and sampledThresholdCellFaces.
|
pure virtual |
Faces of surface.
Implements meshedSurf.
Implemented in sampledCuttingPlane, sampledCuttingSurface, sampledDistanceSurface, sampledFaceZone, sampledInterface, sampledIsoSurface, sampledMeshedSurface, sampledNone, sampledPatch, sampledPlane, and sampledThresholdCellFaces.
|
pure virtual |
Face area vectors.
Implemented in sampledCuttingPlane, sampledCuttingSurface, sampledDistanceSurface, sampledFaceZone, sampledInterface, sampledIsoSurface, sampledMeshedSurface, sampledNone, sampledPatch, sampledPlane, and sampledThresholdCellFaces.
|
pure virtual |
Face area magnitudes.
Implemented in sampledCuttingPlane, sampledCuttingSurface, sampledDistanceSurface, sampledFaceZone, sampledInterface, sampledIsoSurface, sampledMeshedSurface, sampledNone, sampledPatch, sampledPlane, and sampledThresholdCellFaces.
Referenced by area().

|
pure virtual |
Face centres.
Implemented in sampledCuttingPlane, sampledCuttingSurface, sampledDistanceSurface, sampledFaceZone, sampledInterface, sampledIsoSurface, sampledMeshedSurface, sampledNone, sampledPatch, sampledPlane, and sampledThresholdCellFaces.
| Foam::scalar area | ( | ) | const |
The total surface area.
Definition at line 128 of file sampledSurface.C.
References Foam::gSum(), and magSf().

|
inlinevirtual |
If element ids/order of the original surface are available.
Reimplemented in sampledMeshedSurface.
Definition at line 447 of file sampledSurface.H.
| Foam::polySurface * getRegistrySurface | ( | const objectRegistry & | obr, |
| word | lookupName = "" ) const |
Get surface from registry if available.
| obr | The objectRegistry to use |
| lookupName | Optional lookup name, use surface name if empty |
Definition at line 26 of file sampledSurfaceRegister.C.
References objectRegistry::getObjectPtr().
Referenced by storeRegistryField(), and storeRegistryField().


| Foam::polySurface * storeRegistrySurface | ( | objectRegistry & | obr, |
| word | lookupName = "" ) const |
Copy surface into registry.
| obr | The objectRegistry to use |
| lookupName | Optional lookup name, use surface name if empty |
Definition at line 41 of file sampledSurfaceRegister.C.
References polySurface::copySurface(), objectRegistry::getObjectPtr(), name, and regIOobject::store().

| bool removeRegistrySurface | ( | objectRegistry & | obr, |
| word | lookupName = "" ) const |
Remove surface from registry.
| obr | The objectRegistry to use |
| lookupName | Optional lookup name, use surface name if empty |
Definition at line 67 of file sampledSurfaceRegister.C.
References polySurface::Delete().

| bool storeRegistryField | ( | const objectRegistry & | obr, |
| const word & | fieldName, | ||
| const dimensionSet & | dims, | ||
| const Field< Type > & | values, | ||
| word | lookupName = "" ) const |
Copy/store sampled field onto registered surface (if it exists).
Definition at line 174 of file sampledSurfaceTemplates.C.
References getRegistrySurface(), and polySurface::storeField().

| bool storeRegistryField | ( | const objectRegistry & | obr, |
| const word & | fieldName, | ||
| const dimensionSet & | dims, | ||
| Field< Type > && | values, | ||
| word | lookupName = "" ) const |
Move/store sampled field onto registered surface (if it exists).
Definition at line 198 of file sampledSurfaceTemplates.C.
References getRegistrySurface(), and polySurface::storeField().

|
pure virtual |
Sample volume field onto surface faces.
Implemented in sampledCuttingPlane, sampledCuttingSurface, sampledDistanceSurface, sampledFaceZone, sampledInterface, sampledIsoSurface, sampledMeshedSurface, sampledMeshedSurfaceNormal, sampledNone, sampledPatch, sampledPatchInternalField, sampledPlane, and sampledThresholdCellFaces.
|
pure virtual |
Sample volume field onto surface faces.
Implemented in sampledCuttingPlane, sampledCuttingSurface, sampledDistanceSurface, sampledFaceZone, sampledInterface, sampledIsoSurface, sampledMeshedSurface, sampledMeshedSurfaceNormal, sampledNone, sampledPatch, sampledPatchInternalField, sampledPlane, and sampledThresholdCellFaces.
|
pure virtual |
Sample volume field onto surface faces.
Implemented in sampledCuttingPlane, sampledCuttingSurface, sampledDistanceSurface, sampledFaceZone, sampledInterface, sampledIsoSurface, sampledMeshedSurface, sampledMeshedSurfaceNormal, sampledNone, sampledPatch, sampledPatchInternalField, sampledPlane, and sampledThresholdCellFaces.
|
pure virtual |
Sample volume field onto surface faces.
Implemented in sampledCuttingPlane, sampledCuttingSurface, sampledDistanceSurface, sampledFaceZone, sampledInterface, sampledIsoSurface, sampledMeshedSurface, sampledMeshedSurfaceNormal, sampledNone, sampledPatch, sampledPatchInternalField, sampledPlane, and sampledThresholdCellFaces.
|
pure virtual |
Sample volume field onto surface faces.
Implemented in sampledCuttingPlane, sampledCuttingSurface, sampledDistanceSurface, sampledFaceZone, sampledInterface, sampledIsoSurface, sampledMeshedSurface, sampledMeshedSurfaceNormal, sampledNone, sampledPatch, sampledPatchInternalField, sampledPlane, and sampledThresholdCellFaces.
|
virtual |
Can it sample surface-fields?
Reimplemented in sampledFaceZone, and sampledPatch.
Definition at line 147 of file sampledSurface.C.
|
virtual |
Sample surface field onto surface.
Reimplemented in sampledFaceZone, and sampledPatch.
Definition at line 153 of file sampledSurface.C.
References NotImplemented.
|
virtual |
Sample surface field onto surface.
Reimplemented in sampledFaceZone, and sampledPatch.
Definition at line 163 of file sampledSurface.C.
References NotImplemented.
|
virtual |
Sample surface field onto surface.
Reimplemented in sampledFaceZone, sampledFaceZone, sampledFaceZone, sampledPatch, sampledPatch, and sampledPatch.
Definition at line 173 of file sampledSurface.C.
References NotImplemented.
|
virtual |
Sample surface field onto surface.
Reimplemented in sampledFaceZone, sampledFaceZone, sampledFaceZone, sampledPatch, sampledPatch, and sampledPatch.
|
virtual |
Sample surface field onto surface.
Reimplemented in sampledFaceZone, sampledFaceZone, sampledFaceZone, sampledPatch, sampledPatch, and sampledPatch.
|
pure virtual |
Interpolate volume field onto surface points.
Implemented in sampledCuttingPlane, sampledCuttingSurface, sampledDistanceSurface, sampledFaceZone, sampledInterface, sampledIsoSurface, sampledMeshedSurface, sampledMeshedSurfaceNormal, sampledNone, sampledPatch, sampledPatchInternalField, sampledPlane, and sampledThresholdCellFaces.
|
pure virtual |
Interpolate volume field onto surface points.
Implemented in sampledCuttingPlane, sampledCuttingSurface, sampledDistanceSurface, sampledFaceZone, sampledInterface, sampledIsoSurface, sampledMeshedSurface, sampledMeshedSurfaceNormal, sampledNone, sampledPatch, sampledPatchInternalField, sampledPlane, and sampledThresholdCellFaces.
|
pure virtual |
Interpolate volume field onto surface points.
Implemented in sampledCuttingPlane, sampledCuttingSurface, sampledDistanceSurface, sampledFaceZone, sampledInterface, sampledIsoSurface, sampledMeshedSurface, sampledMeshedSurfaceNormal, sampledNone, sampledPatch, sampledPatchInternalField, sampledPlane, and sampledThresholdCellFaces.
|
pure virtual |
Interpolate volume field onto surface points.
Implemented in sampledCuttingPlane, sampledCuttingSurface, sampledDistanceSurface, sampledFaceZone, sampledInterface, sampledIsoSurface, sampledMeshedSurface, sampledMeshedSurfaceNormal, sampledNone, sampledPatch, sampledPatchInternalField, sampledPlane, and sampledThresholdCellFaces.
|
pure virtual |
Interpolate volume field onto surface points.
Implemented in sampledCuttingPlane, sampledCuttingSurface, sampledDistanceSurface, sampledFaceZone, sampledInterface, sampledIsoSurface, sampledMeshedSurface, sampledMeshedSurfaceNormal, sampledNone, sampledPatch, sampledPatchInternalField, sampledPlane, and sampledThresholdCellFaces.
|
inlinevirtual |
Rename.
Definition at line 659 of file sampledSurface.H.
|
virtual |
Print information.
Reimplemented in sampledCuttingPlane, sampledDistanceSurface, sampledFaceZone, sampledInterface, sampledIsoSurface, sampledMeshedSurface, sampledPatch, sampledPatchInternalField, sampledPlane, and sampledThresholdCellFaces.
Definition at line 203 of file sampledSurface.C.
References os(), and Foam::type().

|
inlinenoexcept |
| Foam::tmp< Foam::Field< Type > > sampleOnFaces | ( | const interpolation< Type > & | sampler, |
| const labelUList & | elements, | ||
| const faceList & | fcs, | ||
| const pointField & | pts, | ||
| const Type & | defaultValue ) |
Definition at line 28 of file sampledSurfaceTemplates.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, interpolation< Type >::interpolate(), New(), pts, and UList< T >::size().

| Foam::tmp< Foam::Field< Type > > sampleOnPoints | ( | const interpolation< Type > & | interpolator, |
| const labelUList & | elements, | ||
| const faceList & | fcs, | ||
| const pointField & | pts ) |
Definition at line 72 of file sampledSurfaceTemplates.C.
References Foam::exit(), f(), Foam::FatalError, FatalErrorInFunction, forAll, interpolation< Type >::interpolate(), Foam::New(), pts, bitSet::set(), UList< T >::size(), and Foam::Zero.

| Foam::tmp< Foam::VolumeField< Type > > pointAverage | ( | const PointField< Type > & | pfld | ) |
Definition at line 122 of file sampledSurfaceTemplates.C.
References IOobject::db(), Foam::dimless, forAll, DimensionedField< Type, GeoMesh >::mesh(), mesh(), Foam::New(), IOobjectOption::NO_READ, IOobjectOption::NO_REGISTER, IOobjectOption::NO_WRITE, and Foam::Zero.
