A topoSetSource to select cells based on cell centres inside sphere. More...
#include <meshTools/sphereToCell.H>
A topoSetSource to select cells based on cell centres inside sphere.
Definition at line 49 of file sphereToCell.H.
Public Member Functions | |
TypeName ("sphereToCell") | |
Runtime type information.
| |
sphereToCell (const polyMesh &mesh, const vector ¢re, const scalar radius) | |
Construct from components.
| |
sphereToCell (const polyMesh &mesh, const dictionary &dict) | |
Construct from dictionary.
| |
sphereToCell (const polyMesh &mesh, Istream &) | |
Construct from Istream.
| |
virtual | ~sphereToCell () |
virtual void | applyToSet (const topoSetSource::setAction action, topoSet &) const |
sphereToCell | ( | const polyMesh & | mesh, |
const vector & | centre, | ||
const scalar | radius | ||
) |
Construct from components.
Definition at line 70 of file sphereToCell.C.
sphereToCell | ( | const polyMesh & | mesh, |
const dictionary & | dict | ||
) |
Construct from dictionary.
Definition at line 83 of file sphereToCell.C.
sphereToCell | ( | const polyMesh & | mesh, |
Istream & | is | ||
) |
Construct from Istream.
Definition at line 96 of file sphereToCell.C.
~sphereToCell | ( | ) | [virtual]
|
Definition at line 109 of file sphereToCell.C.
TypeName | ( | "sphereToCell" | ) |
Runtime type information.
void applyToSet | ( | const topoSetSource::setAction | action, |
topoSet & | set | ||
) | const [virtual]
|
Implements topoSetSource.
Definition at line 116 of file sphereToCell.C.
References topoSetSource::ADD, Foam::ListListOps::combine(), topoSetSource::DELETE, Foam::endl(), Foam::Info, and topoSetSource::NEW.