FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

sampledPatch Class Reference

A sampledSurface on a patch. Non-triangulated by default. More...

#include <sampling/sampledPatch.H>


Detailed Description

A sampledSurface on a patch. Non-triangulated by default.

Source files

Definition at line 50 of file sampledPatch.H.

Inheritance diagram for sampledPatch:
Collaboration diagram for sampledPatch:

List of all members.

Public Member Functions

 TypeName ("sampledPatch")
 Runtime type information.
 sampledPatch (const word &name, const polyMesh &mesh, const word &patchName, const bool triangulate=false)
 Construct from components.
 sampledPatch (const word &name, const polyMesh &mesh, const dictionary &dict)
 Construct from dictionary.
virtual  ~sampledPatch ()
virtual bool  needsUpdate () const
 Does the surface need an update?
virtual bool  expire ()
 Mark the surface as needing an update.
virtual bool  update ()
 Update the surface as required.
const word  patchName () const
label  patchIndex () const
const labelList &  patchFaceLabels () const
virtual const pointField &  points () const
 Points of surface.
virtual const faceList &  faces () const
 Faces of surface.
virtual tmp< scalarField >  sample (const volScalarField &) const
 sample field on surface
virtual tmp< vectorField >  sample (const volVectorField &) const
 sample field on surface
virtual tmp< sphericalTensorField >  sample (const volSphericalTensorField &) const
 sample field on surface
virtual tmp< symmTensorField >  sample (const volSymmTensorField &) const
 sample field on surface
virtual tmp< tensorField >  sample (const volTensorField &) const
 sample field on surface
virtual tmp< scalarField >  interpolate (const interpolation< scalar > &) const
 interpolate field on surface
virtual tmp< vectorField >  interpolate (const interpolation< vector > &) const
 interpolate field on surface
virtual tmp< sphericalTensorField >  interpolate (const interpolation< sphericalTensor > &) const
 interpolate field on surface
virtual tmp< symmTensorField >  interpolate (const interpolation< symmTensor > &) const
 interpolate field on surface
virtual tmp< tensorField >  interpolate (const interpolation< tensor > &) const
 interpolate field on surface
virtual void  print (Ostream &) const
 Write.

Constructor & Destructor Documentation

sampledPatch ( const word &   name,
const polyMesh &   mesh,
const word &   patchName,
const bool   triangulate = false  
)

Construct from components.

Definition at line 46 of file sampledPatch.C.

sampledPatch ( const word &   name,
const polyMesh &   mesh,
const dictionary &   dict  
)

Construct from dictionary.

Definition at line 62 of file sampledPatch.C.

~sampledPatch (  ) [virtual]

Definition at line 78 of file sampledPatch.C.


Member Function Documentation

TypeName ( "sampledPatch"    )

Runtime type information.

bool needsUpdate (  ) const [virtual]

Does the surface need an update?

Implements sampledSurface.

Definition at line 84 of file sampledPatch.C.

bool expire (  ) [virtual]

Mark the surface as needing an update.

May also free up unneeded data. Return false if surface was already marked as expired.

Implements sampledSurface.

Definition at line 90 of file sampledPatch.C.

References clear(), and sampledSurface::clearGeom().

bool update (  ) [virtual]
const word patchName (  ) const [inline]

Definition at line 137 of file sampledPatch.H.

label patchIndex (  ) const [inline]
const labelList& patchFaceLabels (  ) const [inline]

Definition at line 147 of file sampledPatch.H.

virtual const pointField& points (  ) const [inline, virtual]

Points of surface.

Implements sampledSurface.

Definition at line 153 of file sampledPatch.H.

References PrimitivePatch< face,::Foam::List, pointField, point >::points().

virtual const faceList& faces (  ) const [inline, virtual]

Faces of surface.

Implements sampledSurface.

Definition at line 159 of file sampledPatch.H.

References MeshedSurface< face >::faces().

Foam::tmp< Foam::scalarField > sample ( const volScalarField &   vField  ) const [virtual]

sample field on surface

Implements sampledSurface.

Definition at line 171 of file sampledPatch.C.

Foam::tmp< Foam::vectorField > sample ( const volVectorField &   vField  ) const [virtual]

sample field on surface

Implements sampledSurface.

Definition at line 181 of file sampledPatch.C.

Foam::tmp< Foam::sphericalTensorField > sample ( const volSphericalTensorField &   vField  ) const [virtual]

sample field on surface

Implements sampledSurface.

Definition at line 190 of file sampledPatch.C.

Foam::tmp< Foam::symmTensorField > sample ( const volSymmTensorField &   vField  ) const [virtual]

sample field on surface

Implements sampledSurface.

Definition at line 200 of file sampledPatch.C.

Foam::tmp< Foam::tensorField > sample ( const volTensorField &   vField  ) const [virtual]

sample field on surface

Implements sampledSurface.

Definition at line 210 of file sampledPatch.C.

Foam::tmp< Foam::scalarField > interpolate ( const interpolation< scalar > &   interpolator  ) const [virtual]

interpolate field on surface

Implements sampledSurface.

Definition at line 220 of file sampledPatch.C.

Foam::tmp< Foam::vectorField > interpolate ( const interpolation< vector > &   interpolator  ) const [virtual]

interpolate field on surface

Implements sampledSurface.

Definition at line 230 of file sampledPatch.C.

Foam::tmp< Foam::sphericalTensorField > interpolate ( const interpolation< sphericalTensor > &   interpolator  ) const [virtual]

interpolate field on surface

Implements sampledSurface.

Definition at line 239 of file sampledPatch.C.

Foam::tmp< Foam::symmTensorField > interpolate ( const interpolation< symmTensor > &   interpolator  ) const [virtual]

interpolate field on surface

Implements sampledSurface.

Definition at line 249 of file sampledPatch.C.

Foam::tmp< Foam::tensorField > interpolate ( const interpolation< tensor > &   interpolator  ) const [virtual]

interpolate field on surface

Implements sampledSurface.

Definition at line 259 of file sampledPatch.C.

void print ( Ostream &   os  ) const [virtual]

Write.

Reimplemented from sampledSurface.

Definition at line 267 of file sampledPatch.C.

References Foam::name(), points, and List< T >::size().


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