28 Edge * mEdge = nullptr ;
52 node(
const uint aIndex )
const override ;
104 return mElement->id();
112 return mElement->type();
120 return mElement->number_of_nodes();
128 return mElement->
node( aIndex );
134 return mElement->
node( aIndex );
148 BELFEM_ASSERT( mEdge !=
nullptr,
"Edge has not been assigned to segment %lu", (
long unsigned int ) mElement->id() );
155 BELFEM_ASSERT( mEdge !=
nullptr,
"Edge hast not been assigned to segment %lu", (
long unsigned int ) mElement->id() );
172 BELFEM_ASSERT( mEdge !=
nullptr,
"Edge hast not been assigned to segment %lu", (
long unsigned int ) mElement->id() );
173 return mEdge->node( 0 )->id() == mElement->node( 0 )->id() ? 1 : -1;
#define BELFEM_ASSERT(aCheck,...)
Definition assert.hpp:244
uint number_of_vertices() const
Definition cl_Graph_Vertex.hpp:321
Special Edge class for NEDELEC-Type elements.
Definition cl_Edge.hpp:30
Lagrange Element baseclass.
Definition cl_Element.hpp:35
Definition cl_Node.hpp:30
ElementType type() const
Definition cl_Segment.hpp:110
void insert_edge(Edge *aEdge)
Definition cl_Segment.hpp:160
Edge * edge()
Definition cl_Segment.hpp:146
Segment(Element *aElement)
Definition cl_Segment.cpp:18
void clear_edge()
Definition cl_Segment.hpp:165
Node * node(const uint aIndex) override
Definition cl_Segment.hpp:126
size_t memory() const
Definition cl_Segment.hpp:176
id_t id() const
Definition cl_Segment.hpp:102
int edge_direction() const
Definition cl_Segment.hpp:170
Element * element()
expose the element pointer
Definition cl_Segment.hpp:140
uint number_of_nodes() const override
Definition cl_Segment.hpp:118
Node * node(const uint aIndex) override
Definition cl_Vertex.hpp:349
Edge * edge(const uint aIndex) override
Definition cl_Vertex.hpp:377
Vertex()
Definition cl_Vertex.cpp:24
Definition cl_EF_EdgeFunction.hpp:17
USER GUIDES:
Definition cl_Capacitor.cpp:16
unsigned int uint
Definition typedefs.hpp:30
unsigned int id_t
Definition typedefs.hpp:41
ElementType
Element types.
Definition Mesh_Enums.hpp:27