Stress based fracture criterion. More...
#include <AAdapt_StressFracture.hpp>
Public Member Functions | |
StressFracture (int numDim_, stk::mesh::EntityRank &elementRank, const std::vector< std::vector< double > > &stresses, double crit_stress, Albany::STKDiscretization &stk) | |
Default constructor for the criterion object. | |
virtual bool | computeFractureCriterion (stk::mesh::Entity &entity, double p) |
Stress fracture criterion function. | |
Private Member Functions | |
StressFracture () | |
StressFracture (const StressFracture &) | |
StressFracture & | operator= (const StressFracture &) |
Private Attributes | |
const std::vector< std::vector < double > > & | avg_stresses_ |
Albany::STKDiscretization & | stk_ |
double | critical_stress_ |
Stress based fracture criterion.
This class contains the abstract interface for determining if fracture has occurred between two elements, based on the average stress in the elements sharing the edge between them.
Definition at line 22 of file AAdapt_StressFracture.hpp.
AAdapt::StressFracture::StressFracture | ( | int | numDim_, | |
stk::mesh::EntityRank & | elementRank, | |||
const std::vector< std::vector< double > > & | stresses, | |||
double | crit_stress, | |||
Albany::STKDiscretization & | stk | |||
) |
Default constructor for the criterion object.
Definition at line 14 of file AAdapt_StressFracture.cpp.
AAdapt::StressFracture::StressFracture | ( | ) | [private] |
AAdapt::StressFracture::StressFracture | ( | const StressFracture & | ) | [private] |
bool AAdapt::StressFracture::computeFractureCriterion | ( | stk::mesh::Entity & | entity, | |
double | p | |||
) | [virtual] |
Stress fracture criterion function.
[in] | entity | |
[in] | probability |
Given an entity and probability, will determine if fracture criterion is met. Will return true if fracture criterion is met, else false. Fracture only defined on surface of elements. Thus, input entity must be of rank dimension-1, else error. For 2D, entity rank must = 1. For 3D, entity rank must = 2.
Definition at line 29 of file AAdapt_StressFracture.cpp.
StressFracture& AAdapt::StressFracture::operator= | ( | const StressFracture & | ) | [private] |
const std::vector<std::vector<double> >& AAdapt::StressFracture::avg_stresses_ [private] |
Definition at line 58 of file AAdapt_StressFracture.hpp.
Definition at line 59 of file AAdapt_StressFracture.hpp.
double AAdapt::StressFracture::critical_stress_ [private] |
Definition at line 61 of file AAdapt_StressFracture.hpp.