xc
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:
Inheritance graph
[legend]
Collaboration diagram for XC::Cell:
Collaboration graph
[legend]

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)
 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 &)
 

Detailed Description

Base class for cells (cross-section discretization).


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