Classes | Public Types | Public Member Functions | Static Public Attributes | List of all members
faMesh Class Reference

Finite area mesh. Used for 2-D non-Euclidian finite area method. More...

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

Public Types

typedef faMesh Mesh
 
typedef faBoundaryMesh BoundaryMesh
 
- 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 }
 
- Public Types inherited from dictionary
typedef Searcher< true > const_searcher
 
typedef Searcher< false > searcher
 

Public Member Functions

 TypeName ("faMesh")
 
 faMesh (const polyMesh &pMesh, const Foam::zero)
 
 faMesh (const polyMesh &pMesh)
 
 faMesh (const polyMesh &pMesh, const UList< label > &faceLabels)
 
 faMesh (const polyPatch &pp)
 
 faMesh (const polyMesh &pMesh, const dictionary &faMeshDefinition)
 
virtual ~faMesh ()
 
void addFaPatches (PtrList< faPatch > &plist, const bool validBoundary=true)
 
void addFaPatches (const List< faPatch * > &p, const bool validBoundary=true)
 
const polyMeshmesh () const
 
const polyMeshoperator() () const
 
fileName meshDir () const
 
const Timetime () const
 
const fileNamepointsInstance () const
 
const fileNamefacesInstance () const
 
label comm () const noexcept
 
label & comm () noexcept
 
label nPoints () const noexcept
 
label nEdges () const noexcept
 
label nInternalEdges () const noexcept
 
label nBoundaryEdges () const noexcept
 
label nFaces () const noexcept
 
const pointFieldpoints () const
 
const edgeListedges () const noexcept
 
const faceListfaces () const
 
const labelListedgeOwner () const noexcept
 
const labelListedgeNeighbour () const noexcept
 
virtual bool hasDb () const
 
virtual const objectRegistrythisDb () const
 
const wordname () const
 
const faBoundaryMeshboundary () const noexcept
 
const labelListfaceLabels () const noexcept
 
const faGlobalMeshDataglobalData () const
 
virtual const lduAddressinglduAddr () const
 
virtual lduInterfacePtrsList interfaces () const
 
const labelUListowner () const
 
const labelUListneighbour () const
 
bool isInternalEdge (const label edgeIndex) const
 
const List< labelPair > & boundaryConnections () const
 
labelList boundaryProcs () const
 
List< labelPairboundaryProcSizes () const
 
const faMeshBoundaryHaloboundaryHaloMap () const
 
const pointFieldhaloFaceCentres () const
 
const vectorFieldhaloFaceNormals () const
 
tmp< pointFieldhaloFaceCentres (const label patchi) const
 
tmp< vectorFieldhaloFaceNormals (const label patchi) const
 
bool moving () const
 
virtual bool movePoints ()
 
virtual void updateMesh (const mapPolyMesh &)
 
virtual void mapFields (const faMeshMapper &mapper) const
 
virtual void mapOldAreas (const faMeshMapper &mapper) const
 
const uindirectPrimitivePatchpatch () const
 
uindirectPrimitivePatchpatch ()
 
const labelListpatchStarts () const
 
const edgeVectorFieldLe () const
 
const edgeScalarFieldmagLe () const
 
const areaVectorFieldareaCentres () const
 
const edgeVectorFieldedgeCentres () const
 
const DimensionedField< scalar, areaMesh > & S () const
 
const DimensionedField< scalar, areaMesh > & S0 () const
 
const DimensionedField< scalar, areaMesh > & S00 () const
 
const areaVectorFieldfaceAreaNormals () const
 
const edgeVectorFieldedgeAreaNormals () const
 
const vectorFieldpointAreaNormals () const
 
const areaScalarFieldfaceCurvatures () const
 
const FieldField< Field, tensor > & edgeTransformTensors () const
 
labelList internalPoints () const
 
labelList boundaryPoints () const
 
tmp< edgeScalarFieldedgeLengthCorrection () const
 
bool correctPatchPointNormals (const label patchID) const
 
boolListcorrectPatchPointNormals () const
 
virtual bool write (const bool valid=true) const
 
bool operator!= (const faMesh &m) const
 
bool operator== (const faMesh &m) const
 
- Public Member Functions inherited from MeshObject< polyMesh, Foam::UpdateableMeshObject, faMesh >
 MeshObject (const polyMesh &mesh)
 
virtual ~MeshObject ()=default
 
const polyMeshmesh () const
 
virtual bool writeData (Ostream &os) const
 
- Public Member Functions inherited from UpdateableMeshObject< polyMesh >
 UpdateableMeshObject (const word &typeName, const objectRegistry &obr)
 
- Public Member Functions inherited from MoveableMeshObject< polyMesh >
 MoveableMeshObject (const word &typeName, const objectRegistry &obr)
 
- Public Member Functions inherited from GeometricMeshObject< polyMesh >
 GeometricMeshObject (const word &typeName, const objectRegistry &obr)
 
- Public Member Functions inherited from TopologicalMeshObject< polyMesh >
 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 ()
 
bool headerOk ()
 
IstreamreadStream (const word &, const bool valid=true)
 
void close ()
 
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
 
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)
 
- Public Member Functions inherited from lduMesh
 TypeName ("lduMesh")
 
virtual ~lduMesh ()=default
 
template<class T , class BinaryOp >
void reduce (T &Value, const BinaryOp &bop) const
 
InfoProxy< lduMeshinfo () const
 
- Public Member Functions inherited from edgeInterpolation
 ClassName ("edgeInterpolation")
 
 edgeInterpolation (const faMesh &)
 
 ~edgeInterpolation ()
 
const faMeshmesh () const
 
const edgeScalarFieldlPN () const
 
const edgeScalarFieldweights () const
 
const edgeScalarFielddeltaCoeffs () const
 
bool orthogonal () const
 
const edgeVectorFieldcorrectionVectors () const
 
bool skew () const
 
const edgeVectorFieldskewCorrectionVectors () const
 
bool movePoints () const
 
- Public Member Functions inherited from faSchemes
 faSchemes (const faSchemes &)=delete
 
void operator= (const faSchemes &)=delete
 
 faSchemes (const objectRegistry &obr, const word &dictName, const dictionary *fallback=nullptr)
 
 faSchemes (const objectRegistry &obr, const dictionary *fallback=nullptr)
 
 faSchemes (const objectRegistry &obr, const dictionary &dict)
 
- Public Member Functions inherited from schemesLookup
 schemesLookup (const objectRegistry &obr, const word &dictName, const dictionary *fallback=nullptr)
 
const dictionaryschemesDict () const
 
bool steady () const noexcept
 
bool transient () const noexcept
 
ITstreamddtScheme (const word &name) const
 
ITstreamd2dt2Scheme (const word &name) const
 
ITstreaminterpolationScheme (const word &name) const
 
ITstreamdivScheme (const word &name) const
 
ITstreamgradScheme (const word &name) const
 
ITstreamlnGradScheme (const word &name) const
 
ITstreamsnGradScheme (const word &name) const
 
ITstreamlaplacianScheme (const word &name) const
 
void setFluxRequired (const word &name) const
 
bool fluxRequired (const word &name) const
 
const dictionaryddtSchemes () const noexcept
 
const dictionaryd2dt2Schemes () const noexcept
 
const dictionaryinterpolationSchemes () const noexcept
 
const dictionarydivSchemes () const noexcept
 
const dictionarygradSchemes () const noexcept
 
const dictionarylnGradSchemes () const noexcept
 
const dictionarysnGradSchemes () const noexcept
 
const dictionarylaplacianSchemes () const noexcept
 
const dictionaryfluxRequired () const noexcept
 
dictionaryddtSchemes () noexcept
 
dictionaryd2dt2Schemes () noexcept
 
dictionaryinterpolationSchemes () noexcept
 
dictionarydivSchemes () noexcept
 
dictionarygradSchemes () noexcept
 
dictionarylnGradSchemes () noexcept
 
dictionarysnGradSchemes () noexcept
 
dictionarylaplacianSchemes () noexcept
 
dictionaryfluxRequired () noexcept
 
bool read ()
 
void writeDicts (Ostream &os) const
 
- Public Member Functions inherited from IOdictionary
 IOdictionary (const IOobject &io, const dictionary *fallback=nullptr)
 
 IOdictionary (const IOobject &io, const dictionary &dict)
 
 IOdictionary (const IOobject &io, const word &wantedType, const dictionary *fallback=nullptr)
 
 IOdictionary (const IOobject &io, Istream &is)
 
virtual ~IOdictionary ()=default
 
virtual bool global () const
 
virtual fileName filePath () const
 
- Public Member Functions inherited from baseIOdictionary
 TypeName ("dictionary")
 
 baseIOdictionary (const baseIOdictionary &)=default
 
 baseIOdictionary (baseIOdictionary &&)=default
 
virtual ~baseIOdictionary ()=default
 
 baseIOdictionary (const IOobject &io, const dictionary *fallback=nullptr)
 
 baseIOdictionary (const IOobject &io, const dictionary &dict)
 
 baseIOdictionary (const IOobject &io, Istream &is)
 
const wordname () const
 
virtual bool readData (Istream &)
 
virtual bool writeData (Ostream &) const
 
void operator= (const baseIOdictionary &rhs)
 
void operator= (const dictionary &rhs)
 
- Public Member Functions inherited from dictionary
 ClassName ("dictionary")
 
 dictionary ()
 
 dictionary (const fileName &name)
 
 dictionary (const fileName &name, const dictionary &parentDict, Istream &is, bool keepHeader=false)
 
 dictionary (Istream &is)
 
 dictionary (Istream &is, bool keepHeader)
 
 dictionary (const dictionary &parentDict, const dictionary &dict)
 
 dictionary (const dictionary &dict)
 
 dictionary (const dictionary *dict)
 
 dictionary (const dictionary &parentDict, dictionary &&dict)
 
 dictionary (dictionary &&dict)
 
autoPtr< dictionaryclone () const
 
virtual ~dictionary ()
 
const fileNamename () const noexcept
 
fileNamename () noexcept
 
word dictName () const
 
fileName relativeName (const bool caseTag=false) const
 
bool isNullDict () const noexcept
 
const dictionaryparent () const noexcept
 
const dictionarytopDict () const
 
label startLineNumber () const
 
label endLineNumber () const
 
SHA1Digest digest () const
 
tokenList tokens () const
 
bool found (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 
entryfindEntry (const word &keyword, enum keyType::option matchOpt=keyType::REGEX)
 
const entryfindEntry (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 
const entryfindScoped (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 
dictionaryfindDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX)
 
const dictionaryfindDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 
const entrylookupEntry (const word &keyword, enum keyType::option matchOpt) const
 
ITstreamlookup (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 
template<class T >
T get (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 
template<class T >
T getOrDefault (const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
 
template<class T >
T getOrAdd (const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX)
 
template<class T >
bool readEntry (const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, bool mandatory=true) const
 
template<class T >
bool readIfPresent (const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const
 
template<class T , class Predicate >
T getCheck (const word &keyword, const Predicate &pred, enum keyType::option matchOpt=keyType::REGEX) const
 
template<class T , class Predicate >
T getCheckOrDefault (const word &keyword, const T &deflt, const Predicate &pred, enum keyType::option matchOpt=keyType::REGEX) const
 
template<class T , class Predicate >
T getCheckOrAdd (const word &keyword, const T &deflt, const Predicate &pred, enum keyType::option matchOpt=keyType::REGEX)
 
template<class T , class Predicate >
bool readCheck (const word &keyword, T &val, const Predicate &pred, enum keyType::option matchOpt=keyType::REGEX, bool mandatory=true) const
 
template<class T , class Predicate >
bool readCheckIfPresent (const word &keyword, T &val, const Predicate &pred, enum keyType::option matchOpt=keyType::REGEX) const
 
bool isDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 
const dictionarysubDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 
dictionarysubDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX)
 
dictionarysubDictOrAdd (const word &keyword, enum keyType::option matchOpt=keyType::REGEX)
 
dictionary subOrEmptyDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX, const bool mandatory=false) const
 
const dictionaryoptionalSubDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 
wordList toc () const
 
wordList sortedToc () const
 
template<class Compare >
wordList sortedToc (const Compare &comp) const
 
List< keyTypekeys (bool patterns=false) const
 
bool substituteKeyword (const word &keyword, bool mergeEntry=false)
 
bool substituteScopedKeyword (const word &keyword, bool mergeEntry=false)
 
entryadd (entry *entryPtr, bool mergeEntry=false)
 
entryadd (const entry &e, bool mergeEntry=false)
 
entryadd (const keyType &k, const word &v, bool overwrite=false)
 
entryadd (const keyType &k, const string &v, bool overwrite=false)
 
entryadd (const keyType &k, const label v, bool overwrite=false)
 
entryadd (const keyType &k, const scalar v, bool overwrite=false)
 
entryadd (const keyType &k, const dictionary &d, bool mergeEntry=false)
 
template<class T >
entryadd (const keyType &k, const T &v, bool overwrite=false)
 
entryset (entry *entryPtr)
 
entryset (const entry &e)
 
entryset (const keyType &k, const dictionary &v)
 
template<class T >
entryset (const keyType &k, const T &v)
 
bool remove (const word &keyword)
 
bool changeKeyword (const keyType &oldKeyword, const keyType &newKeyword, bool overwrite=false)
 
bool merge (const dictionary &dict)
 
void clear ()
 
void transfer (dictionary &dict)
 
void checkITstream (const ITstream &is, const word &keyword) const
 
bool read (Istream &is)
 
bool read (Istream &is, bool keepHeader)
 
void writeEntry (Ostream &os) const
 
void writeEntry (const keyType &keyword, Ostream &os) const
 
void writeEntries (Ostream &os, const bool extraNewLine=false) const
 
void write (Ostream &os, const bool subDict=true) const
 
const_searcher csearch (const word &keyword, enum keyType::option=keyType::REGEX) const
 
const_searcher search (const word &keyword, enum keyType::option=keyType::REGEX) const
 
searcher search (const word &keyword, enum keyType::option=keyType::REGEX)
 
const_searcher csearchScoped (const word &keyword, enum keyType::option) const
 
const_searcher searchScoped (const word &keyword, enum keyType::option) const
 
searcher searchScoped (const word &keyword, enum keyType::option)
 
const dictionarycfindScopedDict (const fileName &dictPath) const
 
const dictionaryfindScopedDict (const fileName &dictPath) const
 
dictionaryfindScopedDict (const fileName &dictPath)
 
dictionarymakeScopedDict (const fileName &dictPath)
 
const_searcher csearchCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, enum keyType::option=keyType::REGEX) const
 
bool foundCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, enum keyType::option=keyType::REGEX) const
 
const entryfindCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, enum keyType::option) const
 
const entrylookupEntryCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, enum keyType::option) const
 
ITstreamlookupCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, enum keyType::option=keyType::REGEX) const
 
template<class T >
T getCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, enum keyType::option=keyType::REGEX) const
 
template<class T >
T getOrDefaultCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, const T &deflt, enum keyType::option=keyType::REGEX) const
 
template<class T >
bool readCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, T &val, enum keyType::option=keyType::REGEX, bool mandatory=true) const
 
template<class T >
bool readIfPresentCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, T &val, enum keyType::option=keyType::REGEX) const
 
void operator= (const dictionary &rhs)
 
void operator+= (const dictionary &rhs)
 
void operator|= (const dictionary &rhs)
 
void operator<<= (const dictionary &rhs)
 
template<class T >
T lookupOrDefault (const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
 
template<class T >
T lookupOrAddDefault (const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX)
 
template<class T >
T lookupOrDefaultCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
 
ITstreamoperator[] (const word &keyword) const
 
bool found (const word &keyword, bool recursive, bool patternMatch=true) const
 
entrylookupEntryPtr (const word &keyword, bool recursive, bool patternMatch)
 
const entrylookupEntryPtr (const word &keyword, bool recursive, bool patternMatch) const
 
const entrylookupScopedEntryPtr (const word &keyword, bool recursive, bool patternMatch) const
 
const dictionarysubDictPtr (const word &keyword) const
 
dictionarysubDictPtr (const word &keyword)
 
const entrylookupEntry (const word &keyword, bool recursive, bool patternMatch) const
 
ITstreamlookup (const word &keyword, bool recursive, bool patternMatch=true) const
 
template<class T >
T lookupOrDefault (const word &keyword, const T &deflt, bool recursive, bool patternMatch=true) const
 
template<class T >
T lookupOrAddDefault (const word &keyword, const T &deflt, bool recursive, bool patternMatch=true)
 
template<class T >
bool readIfPresent (const word &keyword, T &val, bool recursive, bool patternMatch=true) const
 
template<class T >
T lookupType (const word &keyword, bool recursive=false, bool patternMatch=true) const
 
bool getBool (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 Same as get< bool >(const word&, keyType::option) More...
 
label getLabel (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 Same as get< label >(const word&, keyType::option) More...
 
scalar getScalar (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 Same as get< scalar >(const word&, keyType::option) More...
 
string getString (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 Same as get< string >(const word&, keyType::option) More...
 
word getWord (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 Same as get< word >(const word&, keyType::option) More...
 
fileName getFileName (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
 Same as get< fileName >(const word&, keyType::option) More...
 
template<class Compare >
Foam::wordList sortedToc (const Compare &comp) const
 
template<class T >
Foam::entryadd (const keyType &k, const T &v, bool overwrite)
 
template<class T >
Foam::entryset (const keyType &k, const T &v)
 
- Public Member Functions inherited from ILList
 ILList ()=default
 
 ILList (T *item)
 
 ILList (Istream &is)
 
 ILList (const ILList< LListBase, T > &lst)
 
 ILList (ILList< LListBase, T > &&lst)
 
template<class CloneArg >
 ILList (const ILList< LListBase, T > &lst, const CloneArg &cloneArg)
 
template<class INew >
 ILList (Istream &is, const INew &inew)
 
 ~ILList ()
 
bool eraseHead ()
 
bool erase (T *item)
 
void clear ()
 
void transfer (ILList< LListBase, T > &lst)
 
void operator= (const ILList< LListBase, T > &lst)
 
void operator= (ILList< LListBase, T > &&lst)
 
- Public Member Functions inherited from faSolution
 faSolution (const faSolution &)=delete
 
void operator= (const faSolution &)=delete
 
 faSolution (const objectRegistry &obr, const word &dictName, const dictionary *fallback=nullptr)
 
 faSolution (const objectRegistry &obr, const dictionary *fallback=nullptr)
 
- Public Member Functions inherited from solution
 solution (const objectRegistry &obr, const fileName &dictName, const dictionary *fallback=nullptr)
 
 solution (const objectRegistry &obr, const fileName &dictName, const dictionary &dict)
 
virtual ~solution ()
 
bool cache (const word &name) const
 
bool relaxField (const word &name) const
 
bool relaxEquation (const word &name) const
 
scalar fieldRelaxationFactor (const word &name) const
 
scalar equationRelaxationFactor (const word &name) const
 
const dictionarysolutionDict () const
 
const dictionarysolverDict (const word &name) const
 
const dictionarysolver (const word &name) const
 
bool read ()
 
- Public Member Functions inherited from data
 data (const objectRegistry &obr)
 
 data (const objectRegistry &obr, const dictionary &dict)
 
const dictionarysolverPerformanceDict () const
 
template<class Type >
void setSolverPerformance (const word &name, const SolverPerformance< Type > &sp) const
 
template<class Type >
void setSolverPerformance (const SolverPerformance< Type > &sp) const
 

Static Public Attributes

static const word prefix
 
static word meshSubDir = "faMesh"
 
- Static Public Attributes inherited from IOobject
static const Enum< fileCheckTypesfileCheckTypesNames
 
static char scopeSeparator
 
static fileCheckTypes fileModificationChecking
 
static float fileModificationSkew
 
static int maxFileModificationPolls
 
- Static Public Attributes inherited from schemesLookup
static int debug
 
- Static Public Attributes inherited from dictionary
static int writeOptionalEntries
 
static const dictionary null
 
static refPtr< OSstreamreportingOutput
 
- Static Public Attributes inherited from solution
static int debug
 
- Static Public Attributes inherited from data
static int debug
 

Additional Inherited Members

- Static Public Member Functions inherited from MeshObject< polyMesh, Foam::UpdateableMeshObject, faMesh >
static const faMeshNew (const polyMesh &mesh, Args &&... args)
 
static bool Delete (const polyMesh &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 Member Functions inherited from dictionary
static int reportOptional () noexcept
 
static int reportOptional (const int level) noexcept
 
static autoPtr< dictionaryNew (Istream &is)
 
- Static Public Member Functions inherited from solution
static label upgradeSolverDict (dictionary &dict, const bool verbose=true)
 
template<class FieldType >
static void cachePrintMessage (const char *message, const word &name, const FieldType &vf)
 
- Public Attributes inherited from dictionary
friend const_searcher
 
friend searcher
 
- 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)
 
- Protected Member Functions inherited from edgeInterpolation
void clearOut ()
 
- 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< polyMesh, Foam::UpdateableMeshObject, faMesh >
const polyMeshmesh_
 
- Static Protected Attributes inherited from regIOobject
static bool masterOnlyReading = false
 

Detailed Description

Finite area mesh. Used for 2-D non-Euclidian finite area method.

Source files
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.

Definition at line 78 of file faMesh.H.

Member Typedef Documentation

◆ Mesh

typedef faMesh Mesh

Definition at line 456 of file faMesh.H.

◆ BoundaryMesh

Definition at line 457 of file faMesh.H.

Constructor & Destructor Documentation

◆ faMesh() [1/5]

faMesh ( const polyMesh pMesh,
const Foam::zero  zero 
)

Definition at line 260 of file faMesh.C.

◆ faMesh() [2/5]

faMesh ( const polyMesh pMesh)
explicit

◆ faMesh() [3/5]

faMesh ( const polyMesh pMesh,
const UList< label > &  faceLabels 
)

Definition at line 359 of file faMesh.C.

◆ faMesh() [4/5]

faMesh ( const polyPatch pp)
explicit

◆ faMesh() [5/5]

faMesh ( const polyMesh pMesh,
const dictionary faMeshDefinition 
)

◆ ~faMesh()

~faMesh ( )
virtual

Definition at line 525 of file faMesh.C.

Member Function Documentation

◆ TypeName()

TypeName ( "faMesh"  )

◆ addFaPatches() [1/2]

void addFaPatches ( PtrList< faPatch > &  plist,
const bool  validBoundary = true 
)

Definition at line 31 of file faMeshPatches.C.

References Foam::abort(), boundary, Foam::FatalError, and FatalErrorInFunction.

Referenced by faMesh::faMesh(), and faMeshDecomposition::writeDecomposition().

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

◆ addFaPatches() [2/2]

void addFaPatches ( const List< faPatch * > &  p,
const bool  validBoundary = true 
)

Definition at line 57 of file faMeshPatches.C.

References p.

◆ mesh()

const Foam::polyMesh & mesh ( ) const
inline

Definition at line 24 of file faMeshI.H.

References MeshObject< Mesh, MeshObjectType, Type >::mesh().

Referenced by faMesh::faMesh(), faMesh::moving(), and faMesh::operator()().

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

◆ operator()()

const polyMesh& operator() ( ) const
inline

Definition at line 527 of file faMesh.H.

References faMesh::mesh().

Here is the call graph for this function:

◆ meshDir()

Foam::fileName meshDir ( ) const

Definition at line 533 of file faMesh.C.

References polyMesh::dbDir(), mesh, and faMesh::meshSubDir.

Here is the call graph for this function:

◆ time()

const Foam::Time & time ( ) const

Definition at line 539 of file faMesh.C.

References mesh, and fvMesh::time().

Referenced by faMesh::faMesh().

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

◆ pointsInstance()

const Foam::fileName & pointsInstance ( ) const

Definition at line 545 of file faMesh.C.

References mesh, and polyMesh::pointsInstance().

Here is the call graph for this function:

◆ facesInstance()

const Foam::fileName & facesInstance ( ) const

Definition at line 551 of file faMesh.C.

References polyMesh::facesInstance(), and mesh.

Here is the call graph for this function:

◆ comm() [1/2]

Foam::label & comm ( ) const
inlinevirtualnoexcept

Implements lduMesh.

Definition at line 37 of file faMeshI.H.

◆ comm() [2/2]

label& comm ( )
inlinenoexcept

◆ nPoints()

Foam::label nPoints ( ) const
inlinenoexcept

Definition at line 49 of file faMeshI.H.

◆ nEdges()

Foam::label nEdges ( ) const
inlinenoexcept

Definition at line 55 of file faMeshI.H.

◆ nInternalEdges()

Foam::label nInternalEdges ( ) const
inlinenoexcept

Definition at line 61 of file faMeshI.H.

Referenced by faEdgeMapper::size(), and faMesh::updateMesh().

Here is the caller graph for this function:

◆ nBoundaryEdges()

Foam::label nBoundaryEdges ( ) const
inlinenoexcept

Definition at line 67 of file faMeshI.H.

Referenced by faMesh::updateMesh().

Here is the caller graph for this function:

◆ nFaces()

Foam::label nFaces ( ) const
inlinenoexcept

Definition at line 73 of file faMeshI.H.

Referenced by faMeshDecomposition::writeDecomposition().

Here is the caller graph for this function:

◆ points()

const Foam::pointField & points ( ) const
inline

Definition at line 79 of file faMeshI.H.

References Foam::foamVersion::patch.

◆ edges()

const Foam::edgeList & edges ( ) const
inlinenoexcept

Definition at line 85 of file faMeshI.H.

◆ faces()

const Foam::faceList & faces ( ) const
inline

Definition at line 91 of file faMeshI.H.

References Foam::foamVersion::patch.

◆ edgeOwner()

const Foam::labelList & edgeOwner ( ) const
inlinenoexcept

Definition at line 97 of file faMeshI.H.

◆ edgeNeighbour()

const Foam::labelList & edgeNeighbour ( ) const
inlinenoexcept

Definition at line 103 of file faMeshI.H.

◆ hasDb()

bool hasDb ( ) const
virtual

Implements lduMesh.

Definition at line 557 of file faMesh.C.

◆ thisDb()

const Foam::objectRegistry & thisDb ( ) const
virtual

Reimplemented from lduMesh.

Definition at line 563 of file faMesh.C.

References mesh, and fvMesh::thisDb().

Referenced by faMesh::name(), and faMeshMapper::thisDb().

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

◆ name()

const word& name ( ) const
inline

Definition at line 600 of file faMesh.H.

References IOobject::name(), and faMesh::thisDb().

Here is the call graph for this function:

◆ boundary()

const Foam::faBoundaryMesh & boundary ( ) const
inlinenoexcept

◆ faceLabels()

const Foam::labelList & faceLabels ( ) const
inlinenoexcept

Definition at line 109 of file faMeshI.H.

◆ globalData()

const Foam::faGlobalMeshData & globalData ( ) const

Definition at line 745 of file faMesh.C.

Referenced by faMesh::faMesh(), and faMesh::updateMesh().

Here is the caller graph for this function:

◆ lduAddr()

const Foam::lduAddressing & lduAddr ( ) const
virtual

Implements lduMesh.

Definition at line 756 of file faMesh.C.

Referenced by faMesh::neighbour(), and faMesh::owner().

Here is the caller graph for this function:

◆ interfaces()

virtual lduInterfacePtrsList interfaces ( ) const
inlinevirtual

Implements lduMesh.

Definition at line 620 of file faMesh.H.

References faMesh::boundary(), and faBoundaryMesh::interfaces().

Here is the call graph for this function:

◆ owner()

const labelUList& owner ( ) const
inline

Definition at line 626 of file faMesh.H.

References faMesh::lduAddr(), and lduAddressing::lowerAddr().

Referenced by contactAngleForce::correct().

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

◆ neighbour()

const labelUList& neighbour ( ) const
inline

Definition at line 632 of file faMesh.H.

References faMesh::lduAddr(), and lduAddressing::upperAddr().

Referenced by contactAngleForce::correct().

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

◆ isInternalEdge()

bool isInternalEdge ( const label  edgeIndex) const
inline

Definition at line 638 of file faMesh.H.

◆ boundaryConnections()

const Foam::List< Foam::labelPair > & boundaryConnections ( ) const
inline

Definition at line 136 of file faMeshI.H.

◆ boundaryProcs()

Foam::labelList boundaryProcs ( ) const

Definition at line 752 of file faMeshTopology.C.

References HashSet::insert(), UPstream::myProcNo(), and UPstream::nProcs().

Here is the call graph for this function:

◆ boundaryProcSizes()

Foam::List< Foam::labelPair > boundaryProcSizes ( ) const

Definition at line 770 of file faMeshTopology.C.

References Foam::BitOps::count(), UPstream::myProcNo(), UPstream::nProcs(), and Foam::output().

Here is the call graph for this function:

◆ boundaryHaloMap()

const Foam::faMeshBoundaryHalo & boundaryHaloMap ( ) const

Definition at line 797 of file faMeshTopology.C.

References faMeshBoundaryHalo::reset().

Here is the call graph for this function:

◆ haloFaceCentres() [1/2]

const Foam::pointField & haloFaceCentres ( ) const

Definition at line 851 of file faMeshTopology.C.

◆ haloFaceNormals() [1/2]

const Foam::vectorField & haloFaceNormals ( ) const

Definition at line 862 of file faMeshTopology.C.

◆ haloFaceCentres() [2/2]

Foam::tmp< Foam::pointField > haloFaceCentres ( const label  patchi) const

Definition at line 874 of file faMeshTopology.C.

References boundary, Foam::exit(), Foam::FatalError, FatalErrorInFunction, tmp::New(), and Foam::nl.

Here is the call graph for this function:

◆ haloFaceNormals() [2/2]

Foam::tmp< Foam::vectorField > haloFaceNormals ( const label  patchi) const

Definition at line 899 of file faMeshTopology.C.

References boundary, Foam::exit(), Foam::FatalError, FatalErrorInFunction, tmp::New(), and Foam::nl.

Here is the call graph for this function:

◆ moving()

bool moving ( ) const
inline

Definition at line 674 of file faMesh.H.

References faMesh::mesh(), and polyMesh::moving().

Here is the call graph for this function:

◆ movePoints()

bool movePoints ( )
virtual

Implements MoveableMeshObject< polyMesh >.

Definition at line 767 of file faMesh.C.

References DebugInfo, Foam::endl(), mesh, edgeInterpolation::movePoints(), IOobject::NO_READ, IOobject::NO_WRITE, polyMesh::points(), timeIndex, and timeName.

Here is the call graph for this function:

◆ updateMesh()

void updateMesh ( const mapPolyMesh mpm)
virtual

◆ mapFields()

void mapFields ( const faMeshMapper mapper) const
virtual

Definition at line 150 of file faMeshUpdate.C.

Referenced by faMesh::updateMesh().

Here is the caller graph for this function:

◆ mapOldAreas()

void mapOldAreas ( const faMeshMapper mapper) const
virtual

Definition at line 172 of file faMeshUpdate.C.

References faMeshMapper::areaMap(), DebugInFunction, Foam::endl(), Foam::faceMap(), forAll, and faAreaMapper::newFaceLabelsMap().

Referenced by faMesh::updateMesh().

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

◆ patch() [1/2]

Foam::uindirectPrimitivePatch & patch ( ) const
inline

Definition at line 115 of file faMeshI.H.

Referenced by faMeshDecomposition::decomposeMesh(), and faMesh::updateMesh().

Here is the caller graph for this function:

◆ patch() [2/2]

uindirectPrimitivePatch& patch ( )
inline

◆ patchStarts()

const Foam::labelList & patchStarts ( ) const

Definition at line 569 of file faMesh.C.

◆ Le()

const Foam::edgeVectorField & Le ( ) const

Definition at line 580 of file faMesh.C.

Referenced by kinematicThinFilm::evolveRegion().

Here is the caller graph for this function:

◆ magLe()

const Foam::edgeScalarField & magLe ( ) const

Definition at line 591 of file faMesh.C.

Referenced by kinematicThinFilm::evolveRegion().

Here is the caller graph for this function:

◆ areaCentres()

const Foam::areaVectorField & areaCentres ( ) const

Definition at line 602 of file faMesh.C.

Referenced by areaMesh::C().

Here is the caller graph for this function:

◆ edgeCentres()

const Foam::edgeVectorField & edgeCentres ( ) const

Definition at line 613 of file faMesh.C.

Referenced by edgeMesh::C().

Here is the caller graph for this function:

◆ S()

const Foam::DimensionedField< Foam::scalar, Foam::areaMesh > & S ( ) const

Definition at line 625 of file faMesh.C.

Referenced by contactAngleForce::correct(), liquidFilmModel::info(), liquidFilmModel::postEvolveRegion(), and interfaceTrackingFvMesh::update().

Here is the caller graph for this function:

◆ S0()

const Foam::DimensionedField< Foam::scalar, Foam::areaMesh > & S0 ( ) const

Definition at line 637 of file faMesh.C.

References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ S00()

const Foam::DimensionedField< Foam::scalar, Foam::areaMesh > & S00 ( ) const

Definition at line 651 of file faMesh.C.

References IOobject::AUTO_WRITE, mesh, IOobject::NO_READ, IOobject::NO_WRITE, and timeName.

◆ faceAreaNormals()

const Foam::areaVectorField & faceAreaNormals ( ) const

◆ edgeAreaNormals()

const Foam::edgeVectorField & edgeAreaNormals ( ) const

Definition at line 686 of file faMesh.C.

◆ pointAreaNormals()

const Foam::vectorField & pointAreaNormals ( ) const

Definition at line 697 of file faMesh.C.

References nPoints.

Referenced by faBoundaryMesh::calcGeometry().

Here is the caller graph for this function:

◆ faceCurvatures()

const Foam::areaScalarField & faceCurvatures ( ) const

Definition at line 722 of file faMesh.C.

Referenced by interfaceTrackingFvMesh::freeSurfacePressureJump(), and interfaceTrackingFvMesh::update().

Here is the caller graph for this function:

◆ edgeTransformTensors()

const Foam::FieldField< Foam::Field, Foam::tensor > & edgeTransformTensors ( ) const

Definition at line 734 of file faMesh.C.

◆ internalPoints()

Foam::labelList internalPoints ( ) const

Definition at line 850 of file faMeshDemandDrivenData.C.

References DebugInFunction, Foam::endl(), bitSet::flip(), Foam::markupBoundaryPoints(), Foam::foamVersion::patch, and bitSet::sortedToc().

Here is the call graph for this function:

◆ boundaryPoints()

Foam::labelList boundaryPoints ( ) const

Definition at line 862 of file faMeshDemandDrivenData.C.

References DebugInFunction, Foam::endl(), Foam::markupBoundaryPoints(), Foam::foamVersion::patch, and bitSet::sortedToc().

Here is the call graph for this function:

◆ edgeLengthCorrection()

Foam::tmp< Foam::edgeScalarField > edgeLengthCorrection ( ) const

◆ correctPatchPointNormals() [1/2]

bool correctPatchPointNormals ( const label  patchID) const

Definition at line 829 of file faMesh.C.

References Foam::abort(), boundary, Foam::FatalError, FatalErrorInFunction, and patchID.

Here is the call graph for this function:

◆ correctPatchPointNormals() [2/2]

Foam::boolList & correctPatchPointNormals ( ) const

Definition at line 847 of file faMesh.C.

References boundary.

◆ write()

bool write ( const bool  valid = true) const
virtual

Reimplemented from regIOobject.

Definition at line 858 of file faMesh.C.

Referenced by faMeshDecomposition::writeDecomposition().

Here is the caller graph for this function:

◆ operator!=()

bool operator!= ( const faMesh m) const

Definition at line 869 of file faMesh.C.

◆ operator==()

bool operator== ( const faMesh m) const

Definition at line 875 of file faMesh.C.

Member Data Documentation

◆ prefix

const Foam::word prefix
static

Definition at line 464 of file faMesh.H.

◆ meshSubDir

Foam::word meshSubDir = "faMesh"
static

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