Public Member Functions | Private Attributes
Sundance::Rivara::Face Class Reference

List of all members.

Public Member Functions

 Face (const RCP< Node > &a, const RCP< Node > &b, const RCP< Node > &c)
const FaceNodesnodes () const
int ownerProc () const
int globalIndex () const
void setGlobalIndex (int globalIndex)
void setLabel (int label)
int label () const

Private Attributes

int label_
int globalIndex_
FaceNodes nodes_
int ownerProc_

Detailed Description

class Face is a two-dimensional face in a simplicial mesh.

Definition at line 96 of file SundanceRivaraFace.hpp.


Constructor & Destructor Documentation

Sundance::Rivara::Face::Face ( const RCP< Node > &  a,
const RCP< Node > &  b,
const RCP< Node > &  c 
) [inline]

Construct with three nodes

Definition at line 102 of file SundanceRivaraFace.hpp.


Member Function Documentation

int Sundance::Rivara::Face::globalIndex ( ) const [inline]

Return the global index of this edge

Definition at line 122 of file SundanceRivaraFace.hpp.

References globalIndex_.

Referenced by setGlobalIndex().

int Sundance::Rivara::Face::label ( ) const [inline]

Get the label

Definition at line 137 of file SundanceRivaraFace.hpp.

References label_.

Referenced by setLabel().

const FaceNodes& Sundance::Rivara::Face::nodes ( ) const [inline]

Definition at line 114 of file SundanceRivaraFace.hpp.

References nodes_.

int Sundance::Rivara::Face::ownerProc ( ) const [inline]

Definition at line 117 of file SundanceRivaraFace.hpp.

References ownerProc_.

void Sundance::Rivara::Face::setGlobalIndex ( int  globalIndex) [inline]

Set the global index of this edge

Definition at line 127 of file SundanceRivaraFace.hpp.

References globalIndex(), and globalIndex_.

void Sundance::Rivara::Face::setLabel ( int  label) [inline]

Set the label of this edge

Definition at line 132 of file SundanceRivaraFace.hpp.

References label(), and label_.


Member Data Documentation

Definition at line 141 of file SundanceRivaraFace.hpp.

Referenced by globalIndex(), and setGlobalIndex().

Definition at line 140 of file SundanceRivaraFace.hpp.

Referenced by label(), and setLabel().

Definition at line 142 of file SundanceRivaraFace.hpp.

Referenced by nodes().

Definition at line 143 of file SundanceRivaraFace.hpp.

Referenced by ownerProc().

Site Contact