PRAgMaTIc  master
Public Member Functions | Friends | List of all members
Edge< index_t > Class Template Reference

Mesh edge object. More...

#include <Edge.h>

Public Member Functions

 Edge (index_t nid0, index_t nid1)
 
 Edge (const Edge &in)
 
 ~Edge ()
 Destructor. More...
 
Edgeoperator= (const Edge &in)
 Assignment operator. More...
 
bool operator== (const Edge &in) const
 Equality operator. More...
 
bool operator!= (const Edge &in) const
 Inequality operator. More...
 
bool operator< (const Edge &in) const
 Less-than operator. More...
 
index_t connected (const Edge &in) const
 
bool contains (index_t nid) const
 

Friends

template<typename _real_t >
class Mesh
 
template<typename _real_t , int _dim>
class Coarsen
 
template<typename _real_t , int _dim>
class Swapping
 
template<typename _real_t , int _dim>
class Refine
 

Detailed Description

template<typename index_t>
class Edge< index_t >

Mesh edge object.

Definition at line 43 of file Edge.h.

Constructor & Destructor Documentation

template<typename index_t>
Edge< index_t >::Edge ( index_t  nid0,
index_t  nid1 
)
inline

Constructor

Parameters
nid0Node-Id 0
nid1Node-Id 1

Definition at line 49 of file Edge.h.

template<typename index_t>
Edge< index_t >::Edge ( const Edge< index_t > &  in)
inline

Copy constructor

Parameters
inEdge object.

Definition at line 57 of file Edge.h.

template<typename index_t>
Edge< index_t >::~Edge ( )
inline

Destructor.

Definition at line 62 of file Edge.h.

Member Function Documentation

template<typename index_t>
index_t Edge< index_t >::connected ( const Edge< index_t > &  in) const
inline

Definition at line 86 of file Edge.h.

template<typename index_t>
bool Edge< index_t >::contains ( index_t  nid) const
inline

Definition at line 94 of file Edge.h.

template<typename index_t>
bool Edge< index_t >::operator!= ( const Edge< index_t > &  in) const
inline

Inequality operator.

Definition at line 77 of file Edge.h.

template<typename index_t>
bool Edge< index_t >::operator< ( const Edge< index_t > &  in) const
inline

Less-than operator.

Definition at line 82 of file Edge.h.

template<typename index_t>
Edge& Edge< index_t >::operator= ( const Edge< index_t > &  in)
inline

Assignment operator.

Definition at line 65 of file Edge.h.

template<typename index_t>
bool Edge< index_t >::operator== ( const Edge< index_t > &  in) const
inline

Equality operator.

Definition at line 72 of file Edge.h.

Friends And Related Function Documentation

template<typename index_t>
template<typename _real_t , int _dim>
friend class Coarsen
friend

Definition at line 99 of file Edge.h.

template<typename index_t>
template<typename _real_t >
friend class Mesh
friend

Definition at line 98 of file Edge.h.

template<typename index_t>
template<typename _real_t , int _dim>
friend class Refine
friend

Definition at line 101 of file Edge.h.

template<typename index_t>
template<typename _real_t , int _dim>
friend class Swapping
friend

Definition at line 100 of file Edge.h.


The documentation for this class was generated from the following file: