XC Open source finite element analysis program
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members

Base class for cells (cross-section discretization). More...

#include <Cell.h>

Inheritance diagram for XC::Cell:
XC::QuadCell XC::TriangCell

Public Member Functions

 Cell (int numVert)
 Constructor.
 
 Cell (const Matrix &)
 Constructor.
 
virtual CellgetCopy (void) const =0
 
void setVertCoords (const Matrix &vertexCoords)
 Sets vertices coordinates.
 
const MatrixgetVertCoords (void) const
 Returns the coordinates of the vertices.
 
virtual double getArea (void) const =0
 
virtual const VectorgetCentroidPosition (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)
 

Detailed Description

Base class for cells (cross-section discretization).


The documentation for this class was generated from the following files: