Go to the documentation of this file.
57 Ostream&
operator<<(Ostream& os,
const blockEdge&
e);
155 mutable label index_;
186 inline label
start()
const;
189 inline label
end()
const;
221 virtual scalar
length()
const = 0;
TypeName("blockEdge")
Runtime type information.
label end() const
Index of end point.
iNew(const dictionary &dict, const searchableSurfaces &geometry, const pointField &points)
A class for managing temporary objects.
blockEdge(const pointField &points, const label start, const label end)
Construct from components.
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)
New function which constructs and returns pointer to a blockEdge.
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.
friend Ostream & operator<<(Ostream &os, const blockEdge &e)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
virtual ~blockEdge()=default
Destructor.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const pointField & points_
The referenced point field.
label start() const
Index of start point.
autoPtr< blockEdge > operator()(Istream &is) const
virtual scalar length() const =0
The length of the curve.
const label start_
Index of the start point.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
dimensionedScalar lambda("lambda", dimTime/sqr(dimLength), laminarTransport)
virtual point position(const scalar lambda) const =0
The point position corresponding to the curve parameter.
const label end_
Index of the end point.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
int compare(const blockEdge &e) const
Compare the given start/end points with this block edge.
Class used for the read-construction of.
Container for searchableSurfaces. The collection is specified as a dictionary. For example,...
virtual autoPtr< blockEdge > clone() const
Clone function.
void write(Ostream &os, const dictionary &dict) const
Write edge with variable back-substitution.
const dimensionedScalar e
Elementary charge.
static pointField appendEndPoints(const pointField &points, const label start, const label end, const pointField &intermediate)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...