Class xlifepp::CrackData#

class CrackData#

Collaboration diagram for xlifepp::CrackData:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "4" [label="std::vector< T >" tooltip="std::vector< T >"] "3" [label="std::vector< xlifepp::Point >" tooltip="std::vector< xlifepp::Point >"] "1" [label="xlifepp::CrackData" tooltip="xlifepp::CrackData" fillcolor="#BFBFBF"] "2" [label="xlifepp::MinimalBox" tooltip="xlifepp::MinimalBox"] "3" -> "4" [dir=forward tooltip="template-instance"] "1" -> "2" [dir=forward tooltip="usage"] "2" -> "3" [dir=forward tooltip="usage"] }

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