31 #include "domain/mesh/element/Element.h" 46 typedef std::set<const Element *> ElementConstPtrSet;
51 inline size_t size(
void)
const 52 {
return nodes.size(); }
60 void print(std::ostream &)
const;
64 inline std::ostream &operator<<(std::ostream &os,
const MeshEdge &me)
std::vector< const Node * > NodesEdge
Nodes on an element edge.
Definition: Element.h:116
MeshEdge(void)
Constructor.
Definition: MeshEdge.cc:34
ElementConstPtrSet getConnectedElements(void) const
Returns a deque<Element *> with the elements that share the edge.
Definition: MeshEdge.cc:78
bool operator==(const MeshEdge &) const
Equal operator.
Definition: MeshEdge.cc:110
const Node * getLastNode(void) const
Returns the last node from the edge:
Definition: MeshEdge.cc:56
NodesEdge getNodes(void) const
Returns the edge nodes.
Definition: MeshEdge.cc:42
Objet that can execute python scripts.
Definition: CommandEntity.h:40
void print(std::ostream &) const
Prints edge information.
Definition: MeshEdge.cc:103
Mesh edge.
Definition: MeshEdge.h:40
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
bool isConnected(const Node &) const
Returns true if the edge is connected to the node.
Definition: MeshEdge.cc:60
const Node * getFirstNode(void) const
Returns the first node from the edge:
Definition: MeshEdge.cc:49
Mesh node.
Definition: Node.h:111
Pointer to element container.
Definition: DqPtrsElem.h:51