XC Open source finite element analysis program
|
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) |
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 &s, const Cell &Cell) |
Base class for cells (cross-section discretization).