basso::GridRectTria3 Class Reference

A class to generate a triangular rectangular grid. More...

#include <grids.h>

List of all members.

Public Member Functions

 GridRectTria3 (const Point &p1, const Point &p2, Numeric h)
virtual ~GridRectTria3 ()
int NumNodes () const
void NodeCoordinates (Array< Node > &coord) const
void NodeCoordinates (nMatrix &coord) const
int NumElements () const
void ElementConnectivity (list< Element > &conn) const
void RightEdge (list< Element > &conn) const
void RightEdge (set< int > &nid_set) const
void TopEdge (list< Element > &conn) const
void TopEdge (set< int > &nid_set) const
void LeftEdge (list< Element > &conn) const
void LeftEdge (set< int > &nid_set) const
void BottomEdge (list< Element > &conn) const
void BottomEdge (set< int > &nid_set) const


Detailed Description

A class to generate a triangular rectangular grid.

          ------------------------------------  p2
          |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ | 
          | \| \| \| \| \| \| \| \| \| \| \| \|
          -------------------------------------
          |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ | 
          | \| \| \| \| \| \| \| \| \| \| \| \|
          -------------------------------------
          |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ | 
          | \| \| \| \| \| \| \| \| \| \| \| \|
      p1  -------------------------------------

Definition at line 77 of file grids.h.


Member Function Documentation

int basso::GridRectTria3::NumNodes (  )  const [inline]

returns the number of nodes in the grid

Definition at line 93 of file grids.h.

Referenced by NodeCoordinates().

void basso::GridRectTria3::NodeCoordinates ( Array< Node > &  coord  )  const

returns the nodal coodinates

Definition at line 173 of file grids.h.

References Numeric, and NumNodes().

void basso::GridRectTria3::NodeCoordinates ( nMatrix &  coord  )  const

returns the nodal coodinates

Definition at line 189 of file grids.h.

References Numeric, and NumNodes().

int basso::GridRectTria3::NumElements (  )  const [inline]

returns the number of elements in the grid

Definition at line 102 of file grids.h.

void basso::GridRectTria3::ElementConnectivity ( list< Element > &  conn  )  const

returns the full element conectivity matrix for the entire grid

Definition at line 205 of file grids.h.

References iArray, and basso::kTRIA3.

void basso::GridRectTria3::RightEdge ( list< Element > &  conn  )  const

returns the element connectivity on the right edge

Definition at line 221 of file grids.h.

References iArray, and basso::kLINE2.

Referenced by RightEdge().

void basso::GridRectTria3::RightEdge ( set< int > &  nid_set  )  const [inline]

Adds the node ids on the right edge

Parameters:
nid_set Node id set which is added to

Definition at line 113 of file grids.h.

References basso::add_nodeids(), and RightEdge().

void basso::GridRectTria3::TopEdge ( list< Element > &  conn  )  const

returns the element connectivity on the top edge

Definition at line 231 of file grids.h.

References iArray, and basso::kLINE2.

Referenced by TopEdge().

void basso::GridRectTria3::TopEdge ( set< int > &  nid_set  )  const [inline]

Adds the element connectivity on the top edge

Parameters:
nid_set Node id set which is added to

Definition at line 126 of file grids.h.

References basso::add_nodeids(), and TopEdge().

void basso::GridRectTria3::LeftEdge ( list< Element > &  conn  )  const

returns the element connectivity on the left edge

Definition at line 241 of file grids.h.

References iArray, and basso::kLINE2.

Referenced by LeftEdge().

void basso::GridRectTria3::LeftEdge ( set< int > &  nid_set  )  const [inline]

Adds the element connectivity on the left edge

Parameters:
nid_set Node id set which is added to

Definition at line 139 of file grids.h.

References basso::add_nodeids(), and LeftEdge().

void basso::GridRectTria3::BottomEdge ( list< Element > &  conn  )  const

returns the element connectivity on the bottom edge

Definition at line 251 of file grids.h.

References iArray, and basso::kLINE2.

Referenced by BottomEdge().

void basso::GridRectTria3::BottomEdge ( set< int > &  nid_set  )  const [inline]

Adds the element connectivity on the bottom edge

Parameters:
nid_set Node id set which is added to

Definition at line 152 of file grids.h.

References basso::add_nodeids(), and BottomEdge().


The documentation for this class was generated from the following file:
Generated on Sat Jan 19 09:03:59 2008 for Basso by  doxygen 1.5.2