Class xlifepp::CrackData#

class CrackData#

store data related to a crack: domain name, domain id and dimension

Public Functions

inline CrackData()#

default constructor

inline CrackData(string_t name, number_t i, number_t d, const MinimalBox &mb, number_t domId = 0)#

constructor

std::vector<real_t> computeNormal() const#

compute the normal vector for a 1D (in plane) or 2D (in space) cracked domain

bool operator<(const CrackData &cd) const#

comparison operator

void print(std::ostream&) const#

print mesh data

Public Members

number_t dim#

dimension of the crack

string_t domainName#

name of the domain supporting the crack

number_t domIdToOpen#

stricly positive is open crack

number_t id#

id of the domain supporting the crack

MinimalBox minimalBox#

minimal box of the geometry supporting the crack

Friends

friend std::ostream &operator<<(std::ostream&, const CrackData&)#

print operator