30 #include "domain/mesh/element/Element.h" 45 typedef std::set<const Element *> ElementConstPtrSet;
50 inline size_t size(
void)
const 51 {
return nodes.size(); }
59 void print(std::ostream &)
const;
62 inline std::ostream &operator<<(std::ostream &os,
const MeshEdge &me)
MeshEdge(void)
Constructor.
Definition: MeshEdge.cc:34
Mesh edge.
Definition: MeshEdge.h:39
std::vector< const Node * > NodesEdge
Definition: Element.h:108
Mesh node.
Definition: Node.h:99
bool operator==(const MeshEdge &) const
Equal operator.
Definition: MeshEdge.cc:110
NodesEdge getNodes(void) const
Returns the edge nodes.
Definition: MeshEdge.cc:42
Pointer to element container.
Definition: DqPtrsElem.h:45
ElementConstPtrSet getConnectedElements(void) const
Returns a deque<Element *> with the elements that share the edge.
Definition: MeshEdge.cc:78
const Node * getFirstNode(void) const
Returns the first node from the edge:
Definition: MeshEdge.cc:49
================================================================================
Definition: ContinuaReprComponent.h:34
const Node * getLastNode(void) const
Returns the last node from the edge:
Definition: MeshEdge.cc:56
void print(std::ostream &) const
Prints edge information.
Definition: MeshEdge.cc:103
bool isConnected(const Node &) const
Returns true if the edge is connected to the node.
Definition: MeshEdge.cc:60