Go to the documentation of this file.
38 #include "triSurface.H"
50 int main(
int argc,
char *argv[])
78 meshDict.subDict(
"geometry"),
79 meshDict.lookupOrDefault(
"singleRegionName",
true)
87 if (surfacesIter().isDict())
89 const word& surfName = surfacesIter().keyword();
90 const dictionary& surfDict = surfacesIter().dict();
99 if (surfDict.
found(
"type"))
118 if (surfDict.
found(
"regions"))
123 const dictionary& regionDict = regionsIter().dict();
130 regionDict.
lookup(
"type"),
138 if (modifier().modify(regionIDs, surf))
151 Info<<
"Writing repatched surface " <<
name <<
" to "
static SLList< string > validArgs
A list of valid (mandatory) arguments.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A class for handling words, derived from string.
A class for handling file names.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
virtual bool write() const
Write using setting from DB.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static word meshSubDir
Return the mesh sub-directory name (usually "triSurface")
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
const word dictName("particleTrackDict")
A class for handling keywords in dictionaries.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
virtual const wordList & regions() const =0
Names of regions.
Base class of (analytical or triangulated) surface. Encapsulates all the search routines....
const word & name() const
Return name.
int main(int argc, char *argv[])
labelList identity(const label len)
Create identity map (map[i] == i) of given length.
A list of keyword definitions, which are a keyword followed by any number of values (e....
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
bool findStrings(const wordReListMatcher &matcher, const std::string &str)
Return true if string matches one of the regular expressions.
virtual void rename(const word &newName)
Rename.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Container for searchableSurfaces.
static autoPtr< searchableSurfaceModifier > New(const word &type, const searchableSurfaces &, const dictionary &dict)
Return a reference to the selected searchableSurfaceModifier.
void size(const label)
Override size to be inconsistent with allocated storage.
static void noParallel()
Remove the parallel options.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
IOobject dictIO(dictName, runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE)
word name(const complex &)
Return a string representation of a complex.