Go to the documentation of this file.
48 rotatedBoxToCell::typeName,
49 "\n Usage: rotatedBoxToCell (originx originy originz)"
50 " (ix iy iz) (jx jy jz) (kx ky kz)\n\n"
51 " Select all cells with cellCentre within parallelopiped\n\n"
85 boxFaceNormals[i] = boxFaces[i].normal(boxPoints);
101 const face&
f = boxFaces[i];
103 if (((ctrs[cellI] - boxPoints[
f[0]]) & boxFaceNormals[i]) > 0)
180 Info<<
" Adding cells with center within rotated box " <<
endl;
186 Info<<
" Removing cells with center within rotated box " <<
endl;
#define forAll(list, i)
Loop across all elements in list.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
AccessType combine(const List< T > &, AccessOp aop=accessOp< T >())
Combines sublists into one big list.
Class with constructor to add usage string to table.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
static addToUsageTable usage_
Add usage string.
Ostream & endl(Ostream &os)
Add newline and flush stream.
setAction
Enumeration defining the valid actions.
Mesh consisting of general polyhedral cells.
virtual ~rotatedBoxToCell()
Destructor.
const vector origin_
Skewed box.
Pre-declare SubField and related Field type.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
static const cellModel * lookup(const word &)
Look up a model by name and return a pointer to the model or NULL.
General set of labels of mesh quantity (points, cells, faces).
A list of keyword definitions, which are a keyword followed by any number of values (e....
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
Macros for easy insertion into run-time selection tables.
An analytical geometric cellShape.
Base class of a source for a topoSet.
IOstream & hex(IOstream &io)
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 k
Boltzmann constant.
void combine(topoSet &set, const bool add) const
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
A face is a list of labels corresponding to mesh vertices.
Maps a geometry to a set of cell primitives, which enables geometric cell data to be calculated witho...
void size(const label)
Override size to be inconsistent with allocated storage.
defineTypeNameAndDebug(combustionModel, 0)
void addOrDelete(topoSet &set, const label cellI, const bool) const
Add (if bool) cellI to set or delete cellI from set.
rotatedBoxToCell(const polyMesh &mesh, const vector &origin, const vector &i, const vector &j, const vector &k)
Construct from components.