|
xc
|
Base class for cells (cross-section discretization). More...
#include <Cell.h>


Public Member Functions | |
| Cell (int numVert) | |
| Constructor. | |
| Cell (const Matrix &) | |
| Constructor. | |
| virtual Cell * | getCopy (void) const =0 |
| void | setVertCoords (const Matrix &vertexCoords) |
| Sets vertices coordinates. | |
| const Matrix & | getVertCoords (void) const |
| Returns the coordinates of the vertices. | |
| virtual double | getArea (void) const =0 |
| virtual const Vector & | getCentroidPosition (void) |
| Return the coordinates of the centroid. | |
| virtual void | Print (std::ostream &s, int flag=0) const =0 |
Protected Member Functions | |
| void | calcCentroidPosition (void) |
| Computes the centroid position. | |
Protected Attributes | |
| Matrix | vertCoord |
| Vector | Centroid |
Friends | |
| std::ostream & | operator<< (std::ostream &, const Cell &) |
Base class for cells (cross-section discretization).
1.8.13