NuTo
Numerics Tool
|
#include <Specimen.h>
Public Types | |
enum | eSpecimenType { Box = 0, Dogbone = 1, Cylinder = 2 } |
Public Member Functions | |
Specimen (Eigen::MatrixXd rBoundingBox, const eSpecimenType rTypeOfSpecimen) | |
constructor More... | |
Specimen (const NuTo::Specimen &rOther) | |
copy constructor More... | |
bool | IsBox () const |
const Eigen::MatrixXd & | GetBoundingBox () const |
getter for mBoundingBox More... | |
const Eigen::VectorXd & | GetLength () const |
getter for mLength More... | |
double | GetLength (const int rIndex) const |
getter for specific element mLength[rIndex] More... | |
eSpecimenType | GetTypeOfSpecimen () const |
getter of mTypeOfSpecimen More... | |
double | GetVolume () const |
calculates and returns specimen volume More... | |
class for Specimen
NuTo::Specimen::Specimen | ( | Eigen::MatrixXd | rBoundingBox, |
const eSpecimenType | rTypeOfSpecimen | ||
) |
constructor
rBoundingBox | bounding box of the specimen |
rTypeOfSpecimen | element of enum Specimen::Type |
NuTo::Specimen::Specimen | ( | const NuTo::Specimen & | rOther | ) |
copy constructor
const Eigen::MatrixXd & NuTo::Specimen::GetBoundingBox | ( | ) | const |
getter for mBoundingBox
const Eigen::VectorXd & NuTo::Specimen::GetLength | ( | ) | const |
getter for mLength
double NuTo::Specimen::GetLength | ( | const int | rIndex | ) | const |
getter for specific element mLength[rIndex]
NuTo::Specimen::eSpecimenType NuTo::Specimen::GetTypeOfSpecimen | ( | ) | const |
getter of mTypeOfSpecimen
double NuTo::Specimen::GetVolume | ( | ) | const |
calculates and returns specimen volume
bool NuTo::Specimen::IsBox | ( | ) | const |