Public Member Functions | Private Member Functions | Private Attributes

AAdapt::RandomCriterion Class Reference

Random fracture criterion. More...

#include <AAdapt_RandomCriterion.hpp>

Inheritance diagram for AAdapt::RandomCriterion:
Inheritance graph
[legend]
Collaboration diagram for AAdapt::RandomCriterion:
Collaboration graph
[legend]

List of all members.

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 &)
RandomCriterionoperator= (const RandomCriterion &)

Private Attributes

Albany::STKDiscretizationstk_

Detailed Description

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.


Constructor & Destructor Documentation

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]

Member Function Documentation

bool AAdapt::RandomCriterion::computeFractureCriterion ( stk::mesh::Entity entity,
double  p 
)

Stress fracture criterion function.

Parameters:
[in] entity 
[in] probability 
Returns:
is criterion met

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]

Member Data Documentation

Definition at line 58 of file AAdapt_RandomCriterion.hpp.


The documentation for this class was generated from the following files: