sfem::mesh::Edge Class Reference

... the base class for mesh edges More...

#include <edge.hpp>

Collaboration diagram for sfem::mesh::Edge:

Collaboration graph
[legend]

List of all members.

Public Types

typedef unsigned int index_type
typedef std::pair< Element
*, ushort > 
Type_EdgeDefinition
typedef std::list
< Type_EdgeDefinition > 
Type_EdgeDefinitionList
typedef unsigned short ushort

Public Member Functions

void addElement (Element *theelement, const ushort &the_locaL_index)
 returns the specific integration point data
bool checkIdenticalNodes (const std::set< const Point * > &the_nodes) const
 checks if the given edge has identical nodes and returns true if so
 Edge (Element *theelement, const ushort &the_locaL_index)
void eraseElement (const Type_EdgeDefinitionList::iterator &element)
void eraseElement (const Element *element)
const
Type_EdgeDefinitionList::iterator 
findElement (const Element *element)
const
Type_EdgeDefinitionList::const_iterator 
findElement (const Element *element) const
void getAdjacentEdges (std::set< const Edge * > &edges) const
 determines and adds all adjacent edges (regardless of type of adjacency) to 'edges'
void getAdjacentElements (std::set< const Element * > &elements) const
 determines and adds all adjacent elements (regardless of type of adjacency) to 'elements'
void getAdjacentFaces (std::set< const Face * > &faces) const
 determines and adds all adjacent faces (regardless of type of adjacency) to 'faces'
const Type_EdgeDefinitionList & getElements () const
 returns the list of elements this edge is part of:
void getNodes (std::set< const Point * > &nodes) const
 determines and adds all contained nodes to 'nodes'
void getParentFaces (std::set< const Face * > &faces) const
 determines and adds all faces this edge is part of to 'faces'
const bool & onSurface () const
 returns true if part of surface:
void resetOnSurface ()
 checks if this edge is on surface and sets internal flag (requires that the onSurface flag of all parent faces is up-to-date!)
Type_EdgeDefinitionList & setElements ()
 a modifier for the list of elements this edge is part of:

Protected Attributes

Type_EdgeDefinitionList elements
 a list of elements this edge belongs to
bool on_surface
 true if this edge is part of the surface


Detailed Description

... the base class for mesh edges

Member Function Documentation

void sfem::mesh::Edge::addElement ( Element theelement,
const ushort &  the_locaL_index 
)

returns the specific integration point data

Parameters:
intpt ... number of intpt returns the element ptr: returns the local element index of this edge


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

Generated on Wed Nov 17 17:35:54 2010 for 'sfem' Module Programming Interface by  doxygen 1.5.6