Go to the documentation of this file.
48 template<
class graphType>
class subGraph;
49 template<
class graphType>
56 template<
class graphType>
116 friend Ostream& operator<< <graphType>
graphType & data_
reference to the graph
bool contains(const label rowI, const label e) const
check if the element is in the given row (takes linear time)
const label start_
starts at row
label containsAtPosition(const label rowI, const label e) const
subGraph(graphType &, const label, const label)
Construct from graph and start row and size.
void append(const label rowI, const label)
Append an element to the given row.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const label size_
number of rows in the subGraph
void appendIfNotIn(const label rowI, const label)
Append an element to the given row if it does not exist there.
Ostream & operator<<(Ostream &, const edgeMesh &)
label size() const
Returns the number of rows.
const double e
Elementary charge.
const graphRow< const graphType > operator[](const label) const
label sizeOfRow(const label rowI) const
Returns the size of a given row.
void checkIndex(const label i) const
check index
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
label operator()(const label i, const label j) const
set and get operators