Enumerations | Functions
setSet.C File Reference

Manipulate a cell/face/point/ set or zone interactively. More...

Include dependency graph for setSet.C:

Go to the source code of this file.

Enumerations

enum  commandStatus {
  QUIT, INVALID, VALIDSETCMD, VALIDZONECMD,
  QUIT, INVALID, VALIDSETCMD, VALIDZONECMD
}
 

Functions

void writeVTK (const polyMesh &mesh, const topoSet &currentSet, const fileName &vtkName)
 
void printHelp (Ostream &os)
 
void printAllSets (const polyMesh &mesh, Ostream &os)
 
template<class ZoneType >
void removeZone (ZoneMesh< ZoneType, polyMesh > &zones, const word &setName)
 
void removeSet (const polyMesh &mesh, const word &setType, const word &setName)
 
bool doCommand (const polyMesh &mesh, const word &setType, const word &setName, const word &actionName, const bool writeVTKFile, const bool writeCurrentTime, const bool noSync, Istream &is)
 
void printMesh (const Time &runTime, const polyMesh &mesh)
 
polyMesh::readUpdateState meshReadUpdate (polyMesh &mesh)
 
commandStatus parseType (Time &runTime, polyMesh &mesh, const word &setType, IStringStream &is)
 
commandStatus parseAction (const word &actionName)
 
int main (int argc, char *argv[])
 

Detailed Description

Manipulate a cell/face/point/ set or zone interactively.

Original source file setSet.C

Definition in file setSet.C.

Enumeration Type Documentation

◆ commandStatus

Enumerator
QUIT 
INVALID 
VALIDSETCMD 
VALIDZONECMD 
QUIT 
INVALID 
VALIDSETCMD 
VALIDZONECMD 

Definition at line 633 of file setSet.C.

Function Documentation

◆ writeVTK()

void writeVTK ( const polyMesh mesh,
const topoSet currentSet,
const fileName vtkName 
)

◆ printHelp()

void printHelp ( Ostream os)

Definition at line 181 of file setSet.C.

References Foam::endl().

Here is the call graph for this function:

◆ printAllSets()

void printAllSets ( const polyMesh mesh,
Ostream os 
)

◆ removeZone()

void removeZone ( ZoneMesh< ZoneType, polyMesh > &  zones,
const word setName 
)

Definition at line 322 of file setSet.C.

References ZoneMesh::clearAddressing(), Foam::endl(), ZoneMesh::findZoneID(), forAll, and Foam::Info.

Here is the call graph for this function:

◆ removeSet()

void removeSet ( const polyMesh mesh,
const word setType,
const word setName 
)

◆ doCommand()

bool doCommand ( const polyMesh mesh,
const word setType,
const word setName,
const word actionName,
const bool  writeVTKFile,
const bool  writeCurrentTime,
const bool  noSync,
Istream is 
)

◆ printMesh()

void printMesh ( const Time runTime,
const polyMesh mesh 
)

◆ meshReadUpdate()

polyMesh::readUpdateState meshReadUpdate ( polyMesh mesh)

◆ parseType()

commandStatus parseType ( Time runTime,
polyMesh mesh,
const word setType,
IStringStream is 
)

◆ parseAction()

commandStatus parseAction ( const word actionName)

Definition at line 777 of file setSet.C.

References INVALID, topoSetSource::toAction(), and VALIDSETCMD.

Here is the call graph for this function:

◆ main()

int main ( int  argc,
char *  argv[] 
)