Go to the documentation of this file.
46 #ifndef searchableSurfaceToFace_H
47 #define searchableSurfaceToFace_H
61 class searchableSurfaceToFace
63 public topoSetFaceSource
68 static addToUsageTable usage_;
71 autoPtr<searchableSurface> surf_;
76 void combine(topoSet& set,
const bool add)
const;
102 const word& surfaceType,
A class for handling words, derived from Foam::string.
Class with constructor to add usage string to table.
setAction
Enumeration defining the valid actions.
Base class of a topoSet source for selecting faces.
static word getSurfaceName(const dictionary &dict, const word &defaultName)
Retrieve surface name from dictionary entry.
virtual ~searchableSurfaceToFace()=default
Destructor.
const polyMesh & mesh() const
Reference to the mesh.
Mesh consisting of general polyhedral cells.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
Apply specified action to the topoSet.
General set of labels of mesh quantity (points, cells, faces).
static const word defaultName("coeffs")
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
A topoSetFaceSource to select faces with centres within a searchableSurface.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
searchableSurfaceToFace(const word &surfaceType, const polyMesh &mesh, const dictionary &dict)
Construct surface-type from dictionary.
TypeName("searchableSurfaceToFace")
Runtime type information.