37 void SetData(
int dataIndex, Eigen::VectorXd data);
40 const Eigen::VectorXd&
GetData(
int dataIndex)
const;
43 std::vector<Eigen::VectorXd>
mData;
Cell(std::vector< int > pointIds, eCellTypes cellType)
constructor
Definition: Cell.cpp:6
class for storing visualization cells
Definition: Cell.h:12
const std::vector< int > & GetPointIds() const
return point id's
Definition: Cell.cpp:17
const Eigen::VectorXd & GetData(int dataIndex) const
Definition: Cell.cpp:32
void SetPointIds(std::vector< int > pointIds)
setter for mPointIds
Definition: Cell.cpp:22
eCellTypes mCellType
Definition: Cell.h:45
void SetData(int dataIndex, Eigen::VectorXd data)
set tensor data
Definition: Cell.cpp:39
std::vector< int > mPointIds
Definition: Cell.h:44
std::vector< Eigen::VectorXd > mData
Definition: Cell.h:43
Definition: Exception.h:6
eCellTypes GetCellType() const
returns the corresponding cell type
Definition: Cell.cpp:27
int GetNumPoints() const
return number of cell points
Definition: Cell.cpp:12
eCellTypes
Definition: VisualizeEnum.h:6
def Visualize(structure, file)
Definition: Truss1D2N.py:63