Go to the documentation of this file.
53 int main(
int argc,
char *argv[])
57 "Create a cellSet for cells with their centres 'inside' the defined"
59 "Surface must be closed and singly connected."
73 Info<<
"Reading surface from " << surfName <<
endl;
89 insideCells.insert(celli);
96 <<
" cells" <<
nl <<
nl
97 <<
"Writing selected cells to cellSet " << insideCells.name()
99 <<
"Use this cellSet e.g. with subsetMesh : " <<
nl <<
nl
100 <<
" subsetMesh " << insideCells.name()
A class for handling file names.
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
static void addNote(const string ¬e)
Ostream & endl(Ostream &os)
T get(const label index) const
Helper class to search on triSurface.
static void addArgument(const string &argName, const string &usage="")
Triangulated surface description with patch information.
virtual bool write(const token &tok)=0
A collection of cell labels.
const vectorField & cellCentres() const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
label nTotalCells() const noexcept
const globalMeshData & globalData() const
Foam::argList args(argc, argv)