Go to the documentation of this file.
168 mutable label index_;
199 inline bool valid() const noexcept;
202 inline label
start() const noexcept;
205 inline label
end() const noexcept;
226 inline
int compare(const edge&
e) const;
249 virtual scalar
length() const = 0;
252 void write(Ostream&
os, const dictionary&
dict) const;
257 friend Ostream& operator<<(Ostream&
os, const
blockEdge&
e);
267 #include "blockEdgeI.H"
vectorField pointField
pointField is a vectorField.
List< scalar > scalarList
A List of scalars.
iNew(const dictionary &dict, const searchableSurfaces &geometry, const pointField &points)
A class for managing temporary objects.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
static autoPtr< blockEdge > New(const dictionary &dict, const label index, const searchableSurfaces &geometry, const pointField &points, Istream &is)
declareRunTimeSelectionTable(autoPtr, blockEdge, Istream,(const dictionary &dict, const label index, const searchableSurfaces &geometry, const pointField &points, Istream &is),(dict, index, geometry, points, is))
Define a curved edge that is parameterized for 0<lambda<1 between the start/end points.
const point & lastPoint() const
blockEdge(const pointField &points, const label from, const label to)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
virtual ~blockEdge()=default
Generic templated field type.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const pointField & points_
point linearPosition(const scalar lambda) const
autoPtr< blockEdge > operator()(Istream &is) const
virtual scalar length() const =0
label end() const noexcept
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
dimensionedScalar lambda("lambda", dimTime/sqr(dimLength), laminarTransport)
OBJstream os(runTime.globalPath()/outputName)
virtual point position(const scalar lambda) const =0
static pointField appendEndPoints(const pointField &p, const label from, const label to, const pointField &intermediate)
label start() const noexcept
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
int compare(const blockEdge &e) const
const point & firstPoint() const
bool valid() const noexcept
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Container for searchableSurfaces. The collection is specified as a dictionary. For example,...
virtual autoPtr< blockEdge > clone() const
void write(Ostream &os, const dictionary &dict) const
const dimensionedScalar e
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
vector point
Point is a vector.