Public Member Functions | List of all members
volPointInterpolation Class Reference

Interpolate from cell centres to points (vertices) using inverse distance weighting. More...

Inheritance diagram for volPointInterpolation:
Inheritance graph
[legend]
Collaboration diagram for volPointInterpolation:
Collaboration graph
[legend]

Public Member Functions

 ClassName ("volPointInterpolation")
 
 volPointInterpolation (const fvMesh &)
 
 ~volPointInterpolation ()
 
void updateMesh (const mapPolyMesh &)
 
bool movePoints ()
 
template<class Type >
tmp< GeometricField< Type, pointPatchField, pointMesh > > interpolate (const GeometricField< Type, fvPatchField, volMesh > &) const
 
template<class Type >
tmp< GeometricField< Type, pointPatchField, pointMesh > > interpolate (const tmp< GeometricField< Type, fvPatchField, volMesh >> &) const
 
template<class Type >
tmp< GeometricField< Type, pointPatchField, pointMesh > > interpolate (const GeometricField< Type, fvPatchField, volMesh > &, const wordList &patchFieldTypes) const
 
template<class Type >
tmp< GeometricField< Type, pointPatchField, pointMesh > > interpolate (const tmp< GeometricField< Type, fvPatchField, volMesh >> &, const wordList &patchFieldTypes) const
 
template<class Type >
tmp< DimensionedField< Type, pointMesh > > interpolate (const DimensionedField< Type, volMesh > &) const
 
template<class Type >
tmp< DimensionedField< Type, pointMesh > > interpolate (const tmp< DimensionedField< Type, volMesh >> &) const
 
template<class Type >
void interpolateInternalField (const GeometricField< Type, fvPatchField, volMesh > &, GeometricField< Type, pointPatchField, pointMesh > &) const
 
template<class Type >
void interpolateBoundaryField (const GeometricField< Type, fvPatchField, volMesh > &vf, GeometricField< Type, pointPatchField, pointMesh > &pf) const
 
template<class Type >
void interpolateBoundaryField (const GeometricField< Type, fvPatchField, volMesh > &vf, GeometricField< Type, pointPatchField, pointMesh > &pf, const bool overrideFixedValue) const
 
template<class Type >
void interpolate (const GeometricField< Type, fvPatchField, volMesh > &, GeometricField< Type, pointPatchField, pointMesh > &) const
 
template<class Type >
tmp< GeometricField< Type, pointPatchField, pointMesh > > interpolate (const GeometricField< Type, fvPatchField, volMesh > &, const word &name, const bool cache) const
 
template<class Type >
void interpolateDimensionedInternalField (const DimensionedField< Type, volMesh > &vf, DimensionedField< Type, pointMesh > &pf) const
 
template<class Type >
tmp< DimensionedField< Type, pointMesh > > interpolate (const DimensionedField< Type, volMesh > &, const word &name, const bool cache) const
 
void interpolateDisplacement (const volVectorField &, pointVectorField &) const
 
template<class Type >
Foam::tmp< Foam::Field< Type > > flatBoundaryField (const GeometricField< Type, fvPatchField, volMesh > &vf) const
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::pointPatchField, Foam::pointMesh > > interpolate (const GeometricField< Type, fvPatchField, volMesh > &vf, const wordList &patchFieldTypes) const
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::pointPatchField, Foam::pointMesh > > interpolate (const tmp< GeometricField< Type, fvPatchField, volMesh >> &tvf, const wordList &patchFieldTypes) const
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::pointPatchField, Foam::pointMesh > > interpolate (const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name, const bool cache) const
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::pointPatchField, Foam::pointMesh > > interpolate (const GeometricField< Type, fvPatchField, volMesh > &vf) const
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::pointPatchField, Foam::pointMesh > > interpolate (const tmp< GeometricField< Type, fvPatchField, volMesh >> &tvf) const
 
template<class Type >
Foam::tmp< Foam::DimensionedField< Type, Foam::pointMesh > > interpolate (const DimensionedField< Type, volMesh > &vf, const word &name, const bool cache) const
 
template<class Type >
Foam::tmp< Foam::DimensionedField< Type, Foam::pointMesh > > interpolate (const DimensionedField< Type, volMesh > &vf) const
 
template<class Type >
Foam::tmp< Foam::DimensionedField< Type, Foam::pointMesh > > interpolate (const tmp< DimensionedField< Type, volMesh >> &tvf) const
 
- Public Member Functions inherited from MeshObject< fvMesh, UpdateableMeshObject, volPointInterpolation >
 MeshObject (const fvMesh &mesh)
 
virtual ~MeshObject ()=default
 
const fvMeshmesh () const
 
virtual bool writeData (Ostream &os) const
 
- Public Member Functions inherited from UpdateableMeshObject< fvMesh >
 UpdateableMeshObject (const word &typeName, const objectRegistry &obr)
 
- Public Member Functions inherited from MoveableMeshObject< fvMesh >
 MoveableMeshObject (const word &typeName, const objectRegistry &obr)
 
- Public Member Functions inherited from GeometricMeshObject< fvMesh >
 GeometricMeshObject (const word &typeName, const objectRegistry &obr)
 
- Public Member Functions inherited from TopologicalMeshObject< fvMesh >
 TopologicalMeshObject (const word &typeName, const objectRegistry &obr)
 
- Public Member Functions inherited from meshObject
 ClassName ("meshObject")
 
 meshObject (const word &typeName, const objectRegistry &obr)
 
- Public Member Functions inherited from regIOobject
 TypeName ("regIOobject")
 
 regIOobject (const IOobject &io, const bool isTimeObject=false)
 
 regIOobject (const regIOobject &rio)
 
 regIOobject (const regIOobject &rio, bool registerCopy)
 
 regIOobject (const word &newName, const regIOobject &, bool registerCopy)
 
 regIOobject (const IOobject &io, const regIOobject &rio)
 
virtual ~regIOobject ()
 
bool checkIn ()
 
bool checkOut ()
 
virtual void addWatch ()
 
bool ownedByRegistry () const
 
bool store ()
 
void release (const bool unregister=false)
 
label eventNo () const
 
label & eventNo ()
 
bool upToDate (const regIOobject &) const
 
bool upToDate (const regIOobject &, const regIOobject &) const
 
bool upToDate (const regIOobject &, const regIOobject &, const regIOobject &) const
 
bool upToDate (const regIOobject &, const regIOobject &, const regIOobject &, const regIOobject &) const
 
void setUpToDate ()
 
virtual void rename (const word &newName)
 
const dictionaryfindMetaData () const noexcept
 
dictionarygetMetaData () noexcept
 
void removeMetaData ()
 
virtual void updateMetaData ()
 
virtual fileName filePath () const
 
bool headerOk ()
 
IstreamreadStream (const word &, const bool valid=true)
 
void close ()
 
virtual bool readData (Istream &)
 
virtual bool read ()
 
virtual label addWatch (const fileName &)
 
const labelListwatchIndices () const
 
labelListwatchIndices ()
 
virtual bool modified () const
 
virtual bool readIfModified ()
 
virtual bool writeObject (IOstreamOption streamOpt, const bool valid) const
 
virtual bool write (const bool valid=true) const
 
virtual bool global () const
 
void operator= (const IOobject &io)
 
virtual bool writeObject (IOstreamOption::streamFormat fmt, IOstreamOption::versionNumber ver, IOstreamOption::compressionType comp, const bool valid) const
 
- Public Member Functions inherited from IOobject
 TypeName ("IOobject")
 
 IOobject (const IOobject &)=default
 
virtual ~IOobject ()=default
 
 IOobject (const word &name, const fileName &instance, const objectRegistry &registry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false)
 
 IOobject (const word &name, const fileName &instance, const fileName &local, const objectRegistry &registry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false)
 
 IOobject (const fileName &path, const objectRegistry &registry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false)
 
 IOobject (const IOobject &io, const objectRegistry &registry)
 
 IOobject (const IOobject &io, const word &name)
 
 IOobject (const IOobject &io, readOption, writeOption)
 
autoPtr< IOobjectclone () const
 
autoPtr< IOobjectclone (const objectRegistry &registry) const
 
const objectRegistrydb () const noexcept
 
const Timetime () const
 
const wordname () const noexcept
 
const wordheaderClassName () const noexcept
 
wordheaderClassName () noexcept
 
const stringnote () const noexcept
 
stringnote () noexcept
 
bool registerObject () const noexcept
 
bool registerObject (bool on) noexcept
 
bool globalObject () const noexcept
 
bool globalObject (bool on) noexcept
 
unsigned labelByteSize () const noexcept
 
unsigned scalarByteSize () const noexcept
 
bool isHeaderClassName (const word &clsName) const
 
template<class Type >
bool isHeaderClassName () const
 
readOption readOpt () const noexcept
 
readOption readOpt (readOption opt) noexcept
 
writeOption writeOpt () const noexcept
 
writeOption writeOpt (writeOption opt) noexcept
 
word group () const
 
word member () const
 
const fileNamerootPath () const
 
const fileNamecaseName () const
 
const fileNameinstance () const noexcept
 
fileNameinstance () noexcept
 
const fileNamelocal () const noexcept
 
fileName path () const
 
fileName path (const word &instance, const fileName &local=fileName::null) const
 
fileName objectPath () const
 
fileName objectRelPath () const
 
fileName localFilePath (const word &typeName, const bool search=true) const
 
fileName globalFilePath (const word &typeName, const bool search=true) const
 
IOstreamOption parseHeader (const dictionary &headerDict)
 
bool readHeader (Istream &is)
 
bool readHeader (dictionary &headerDict, Istream &is)
 
template<class Type >
bool typeHeaderOk (const bool checkType=true, const bool search=true, const bool verbose=true)
 
template<class Type >
void warnNoRereading () const
 
bool writeHeader (Ostream &os) const
 
bool writeHeader (Ostream &os, const word &objectType) const
 
void writeHeader (dictionary &dict, IOstreamOption streamOpt) const
 
void writeHeader (dictionary &dict, const word &objectType, IOstreamOption streamOpt) const
 
bool good () const noexcept
 
bool bad () const noexcept
 
InfoProxy< IOobjectinfo () const
 
void operator= (const IOobject &io)
 
readOptionreadOpt () noexcept
 
writeOptionwriteOpt () noexcept
 
boolregisterObject () noexcept
 
boolglobalObject () noexcept
 
template<>
bool isHeaderClassName () const
 
template<class StringType >
Foam::word groupName (StringType base, const word &group)
 

Additional Inherited Members

- Public Types inherited from IOobject
enum  objectState : char { GOOD, BAD }
 
enum  readOption : char { MUST_READ, MUST_READ_IF_MODIFIED, READ_IF_PRESENT, NO_READ }
 
enum  writeOption : char { AUTO_WRITE = 0, NO_WRITE = 1 }
 
enum  fileCheckTypes : char { timeStamp, timeStampMaster, inotify, inotifyMaster }
 
- Static Public Member Functions inherited from MeshObject< fvMesh, UpdateableMeshObject, volPointInterpolation >
static const volPointInterpolationNew (const fvMesh &mesh, Args &&... args)
 
static bool Delete (const fvMesh &mesh)
 
- Static Public Member Functions inherited from meshObject
template<class Mesh >
static void movePoints (objectRegistry &obr)
 
template<class Mesh >
static void updateMesh (objectRegistry &obr, const mapPolyMesh &mpm)
 
template<class Mesh , template< class > class MeshObjectType>
static void clear (objectRegistry &obr)
 
template<class Mesh , template< class > class FromType, template< class > class ToType>
static void clearUpto (objectRegistry &obr)
 
- Static Public Member Functions inherited from regIOobject
template<class Type >
static Type & store (Type *p)
 
template<class Type >
static Type & store (autoPtr< Type > &ptr)
 
template<class Type >
static Type & store (autoPtr< Type > &&ptr)
 
template<class Type >
static Type & store (refPtr< Type > &ptr)
 
template<class Type >
static Type & store (refPtr< Type > &&ptr)
 
template<class Type >
static Type & store (tmp< Type > &ptr)
 
template<class Type >
static Type & store (tmp< Type > &&ptr)
 
- Static Public Member Functions inherited from IOobject
static bool bannerEnabled () noexcept
 
static bool bannerEnabled (bool on) noexcept
 
static bool fileNameComponents (const fileName &path, fileName &instance, fileName &local, word &name)
 
template<class StringType >
static word groupName (StringType base, const word &group)
 
static word group (const word &name)
 
static word member (const word &name)
 
static word scopedName (const std::string &scope, const word &name)
 
static IOobject selectIO (const IOobject &io, const fileName &altFile, const word &ioName="")
 
static OstreamwriteBanner (Ostream &os, const bool noSyntaxHint=false)
 
static OstreamwriteDivider (Ostream &os)
 
static OstreamwriteEndDivider (Ostream &os)
 
- Static Public Attributes inherited from IOobject
static const Enum< fileCheckTypesfileCheckTypesNames
 
static char scopeSeparator
 
static fileCheckTypes fileModificationChecking
 
static float fileModificationSkew
 
static int maxFileModificationPolls
 
- Protected Member Functions inherited from regIOobject
bool readHeaderOk (const IOstreamOption::streamFormat fmt, const word &typeName)
 
- Protected Member Functions inherited from IOobject
void setBad (const string &s)
 
- Static Protected Member Functions inherited from IOobject
static void writeHeaderContent (Ostream &os, const IOobject &io, const word &objectType, const dictionary *metaDataDict=nullptr)
 
static void writeHeaderContent (dictionary &dict, const IOobject &io, const word &objectType, IOstreamOption streamOpt, const dictionary *metaDataDict=nullptr)
 
- Protected Attributes inherited from MeshObject< fvMesh, UpdateableMeshObject, volPointInterpolation >
const fvMeshmesh_
 
- Static Protected Attributes inherited from regIOobject
static bool masterOnlyReading = false
 

Detailed Description

Interpolate from cell centres to points (vertices) using inverse distance weighting.

Source files

Definition at line 55 of file volPointInterpolation.H.

Constructor & Destructor Documentation

◆ volPointInterpolation()

volPointInterpolation ( const fvMesh vm)
explicit

Definition at line 468 of file volPointInterpolation.C.

◆ ~volPointInterpolation()

Definition at line 479 of file volPointInterpolation.C.

Member Function Documentation

◆ ClassName()

ClassName ( "volPointInterpolation"  )

◆ updateMesh()

void updateMesh ( const mapPolyMesh )
virtual

Implements UpdateableMeshObject< fvMesh >.

Definition at line 485 of file volPointInterpolation.C.

References mesh, and MeshObject< polyMesh, UpdateableMeshObject, pointMesh >::New().

Here is the call graph for this function:

◆ movePoints()

bool movePoints ( )
virtual

Implements MoveableMeshObject< fvMesh >.

Definition at line 494 of file volPointInterpolation.C.

◆ interpolate() [1/17]

tmp<GeometricField<Type, pointPatchField, pointMesh> > interpolate ( const GeometricField< Type, fvPatchField, volMesh > &  ) const

◆ interpolate() [2/17]

tmp<GeometricField<Type, pointPatchField, pointMesh> > interpolate ( const tmp< GeometricField< Type, fvPatchField, volMesh >> &  ) const

◆ interpolate() [3/17]

tmp<GeometricField<Type, pointPatchField, pointMesh> > interpolate ( const GeometricField< Type, fvPatchField, volMesh > &  ,
const wordList patchFieldTypes 
) const

◆ interpolate() [4/17]

tmp<GeometricField<Type, pointPatchField, pointMesh> > interpolate ( const tmp< GeometricField< Type, fvPatchField, volMesh >> &  ,
const wordList patchFieldTypes 
) const

◆ interpolate() [5/17]

tmp<DimensionedField<Type, pointMesh> > interpolate ( const DimensionedField< Type, volMesh > &  ) const

◆ interpolate() [6/17]

tmp<DimensionedField<Type, pointMesh> > interpolate ( const tmp< DimensionedField< Type, volMesh >> &  ) const

◆ interpolateInternalField()

void interpolateInternalField ( const GeometricField< Type, fvPatchField, volMesh > &  vf,
GeometricField< Type, pointPatchField, pointMesh > &  pf 
) const

Definition at line 126 of file volPointInterpolate.C.

References Foam::expressions::patchExpr::debug, Foam::endl(), forAll, Foam::Pout, and Foam::Zero.

Here is the call graph for this function:

◆ interpolateBoundaryField() [1/2]

void interpolateBoundaryField ( const GeometricField< Type, fvPatchField, volMesh > &  vf,
GeometricField< Type, pointPatchField, pointMesh > &  pf 
) const

◆ interpolateBoundaryField() [2/2]

void interpolateBoundaryField ( const GeometricField< Type, fvPatchField, volMesh > &  vf,
GeometricField< Type, pointPatchField, pointMesh > &  pf,
const bool  overrideFixedValue 
) const

Definition at line 337 of file volPointInterpolate.C.

References pointConstraints::constrain(), and MeshObject< pointMesh, UpdateableMeshObject, pointConstraints >::New().

Here is the call graph for this function:

◆ interpolate() [7/17]

void interpolate ( const GeometricField< Type, fvPatchField, volMesh > &  vf,
GeometricField< Type, pointPatchField, pointMesh > &  pf 
) const

Definition at line 354 of file volPointInterpolate.C.

References Foam::expressions::patchExpr::debug, Foam::endl(), and Foam::Pout.

Here is the call graph for this function:

◆ interpolate() [8/17]

tmp<GeometricField<Type, pointPatchField, pointMesh> > interpolate ( const GeometricField< Type, fvPatchField, volMesh > &  ,
const word name,
const bool  cache 
) const

◆ interpolateDimensionedInternalField()

void interpolateDimensionedInternalField ( const DimensionedField< Type, volMesh > &  vf,
DimensionedField< Type, pointMesh > &  pf 
) const

◆ interpolate() [9/17]

tmp<DimensionedField<Type, pointMesh> > interpolate ( const DimensionedField< Type, volMesh > &  ,
const word name,
const bool  cache 
) const

◆ interpolateDisplacement()

void interpolateDisplacement ( const volVectorField vf,
pointVectorField pf 
) const

Definition at line 503 of file volPointInterpolation.C.

References pointConstraints::constrainDisplacement(), and MeshObject< pointMesh, UpdateableMeshObject, pointConstraints >::New().

Here is the call graph for this function:

◆ flatBoundaryField()

Foam::tmp<Foam::Field<Type> > flatBoundaryField ( const GeometricField< Type, fvPatchField, volMesh > &  vf) const

◆ interpolate() [10/17]

Foam::tmp<Foam::GeometricField<Type, Foam::pointPatchField, Foam::pointMesh> > interpolate ( const GeometricField< Type, fvPatchField, volMesh > &  vf,
const wordList patchFieldTypes 
) const

Definition at line 378 of file volPointInterpolate.C.

References Foam::New(), MeshObject< polyMesh, UpdateableMeshObject, pointMesh >::New(), GeometricField::ref(), and pointMesh::thisDb().

Here is the call graph for this function:

◆ interpolate() [11/17]

Foam::tmp<Foam::GeometricField<Type, Foam::pointPatchField, Foam::pointMesh> > interpolate ( const tmp< GeometricField< Type, fvPatchField, volMesh >> &  tvf,
const wordList patchFieldTypes 
) const

Definition at line 411 of file volPointInterpolate.C.

References Foam::interpolate().

Here is the call graph for this function:

◆ interpolate() [12/17]

Foam::tmp<Foam::GeometricField<Type, Foam::pointPatchField, Foam::pointMesh> > interpolate ( const GeometricField< Type, fvPatchField, volMesh > &  vf,
const word name,
const bool  cache 
) const

◆ interpolate() [13/17]

Definition at line 497 of file volPointInterpolate.C.

References Foam::interpolate().

Here is the call graph for this function:

◆ interpolate() [14/17]

Definition at line 508 of file volPointInterpolate.C.

References Foam::interpolate().

Here is the call graph for this function:

◆ interpolate() [15/17]

Foam::tmp<Foam::DimensionedField<Type, Foam::pointMesh> > interpolate ( const DimensionedField< Type, volMesh > &  vf,
const word name,
const bool  cache 
) const

◆ interpolate() [16/17]

Foam::tmp<Foam::DimensionedField<Type, Foam::pointMesh> > interpolate ( const DimensionedField< Type, volMesh > &  vf) const

Definition at line 594 of file volPointInterpolate.C.

References Foam::interpolate().

Here is the call graph for this function:

◆ interpolate() [17/17]

Foam::tmp<Foam::DimensionedField<Type, Foam::pointMesh> > interpolate ( const tmp< DimensionedField< Type, volMesh >> &  tvf) const

Definition at line 605 of file volPointInterpolate.C.

References Foam::interpolate().

Here is the call graph for this function:

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