Random fracture criterion. More...
#include <AAdapt_RandomCriterion.hpp>
Public Member Functions | |
RandomCriterion (int num_dim, stk::mesh::EntityRank &element_rank, Albany::STKDiscretization &stk) | |
Default constructor for the criterion object. | |
bool | computeFractureCriterion (stk::mesh::Entity &entity, double p) |
Stress fracture criterion function. | |
Private Member Functions | |
RandomCriterion () | |
RandomCriterion (const RandomCriterion &) | |
RandomCriterion & | operator= (const RandomCriterion &) |
Private Attributes | |
Albany::STKDiscretization & | stk_ |
Random 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 23 of file AAdapt_RandomCriterion.hpp.
AAdapt::RandomCriterion::RandomCriterion | ( | int | num_dim, | |
stk::mesh::EntityRank & | element_rank, | |||
Albany::STKDiscretization & | stk | |||
) |
Default constructor for the criterion object.
Definition at line 18 of file AAdapt_RandomCriterion.cpp.
AAdapt::RandomCriterion::RandomCriterion | ( | ) | [private] |
AAdapt::RandomCriterion::RandomCriterion | ( | const RandomCriterion & | ) | [private] |
bool AAdapt::RandomCriterion::computeFractureCriterion | ( | stk::mesh::Entity & | entity, | |
double | p | |||
) |
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 30 of file AAdapt_RandomCriterion.cpp.
RandomCriterion& AAdapt::RandomCriterion::operator= | ( | const RandomCriterion & | ) | [private] |
Definition at line 58 of file AAdapt_RandomCriterion.hpp.