sfem::mesh::Face Class Reference

... the base class for mesh points More...

#include <face.hpp>

Collaboration diagram for sfem::mesh::Face:

Collaboration graph
[legend]

List of all members.

Public Types

typedef unsigned int index_type
typedef std::pair< Element
*, ushort > 
Type_FaceDefinition
typedef std::list
< Type_FaceDefinition > 
Type_FaceDefinitionList
typedef FaceType_FacePtr
typedef std::list< Face * > TypeFaceContainer
typedef unsigned short ushort

Public Member Functions

void addElement (Element *theelement, const ushort &the_locaL_index)
 returns the specific integration point data
void addOppositeFace (Face *face)
 adds the "opposite face" to the internal list:
void checkFaceIdentity (const Face *const face, const std::set< const Edge * > &edges_of_testface, bool &identicalNodes, bool &oppositeOrientation) const
void eraseElement (const Type_FaceDefinitionList::iterator &element)
void eraseElement (const Element *element)
void eraseOppositeFace (const Face *const face)
 Face (Element *theelement, const ushort &thelocalindex)
const
Type_FaceDefinitionList::iterator 
findElement (const Element *element)
const
Type_FaceDefinitionList::const_iterator 
findElement (const Element *element) const
const bool findOppositeFace (const Face *const face) 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'
void getEdges (std::set< const Edge * > &edges) const
 determines all edges that are part of this face
const Type_FaceDefinitionList & getElements () const
 returns the list of elements this face is part of:
void getNodes (std::set< const Point * > &nodes) const
 determines and adds all contained nodes to 'nodes'
const Type_FacePtrgetOppositeFace () const
 returns the list of opposite faces
const bool & onSurface () const
 returns true if part of surface:
void resetOnSurface ()
 checks if this face is on surface and sets internal flag:
Type_FaceDefinitionList & setElements ()
 a modifier for the list of elements this face is part of:
Type_FacePtrsetOppositeFace ()
 modifies the list of opposite faces

Protected Attributes

Type_FaceDefinitionList elements
 the elements this face belongs to
bool on_surface
 true if this face is part of the surface
Type_FacePtr oppositeFace
 faces which have the same nodes, but opposite orientation:


Detailed Description

... the base class for mesh points

Member Function Documentation

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

returns the specific integration point data

Parameters:
intpt ... number of intpt

void sfem::mesh::Face::checkFaceIdentity ( const Face *const   face,
const std::set< const Edge * > &  edges_of_testface,
bool &  identicalNodes,
bool &  oppositeOrientation 
) const

compares this face ('this') with the given one ('face')

Parameters:
identicalNodes ... will contain true when both faces have the same nodes.
oppositeOrientation ... If 'identicalNodes' is true, then oppositeOrientation will indicate the orientation of the face normals


Member Data Documentation

Type_FaceDefinitionList sfem::mesh::Face::elements [protected]

the elements this face belongs to

the elements this face belongs to


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