#include "src/interfaces/CGALInterface.hpp"
|
| virtual | ~CrackExtension ()=default |
| |
| virtual MoFEMErrorCode | extendCrack (BitRefLevel source_bit, BitRefLevel output_bit, const Range &crack_faces, const Range &constraints, const std::vector< CrackFrontRequest > &requests, const CGALTools::CrackExtensionSettings &settings, Range &entities, EntityHandle &new_face, CGALTools::CrackExtensionCandidate *applied=nullptr, CGALTools::CrackExtensionReport *report=nullptr, Range *closure_faces=nullptr)=0 |
| |
| virtual MoFEMErrorCode | closeCrackGap (BitRefLevel source_bit, BitRefLevel output_bit, const Range &crack_faces, const Range &constraints, const std::vector< CrackFrontRequest > &requests, const CGALTools::CrackExtensionSettings &settings, Range &entities, EntityHandle &new_face, CGALTools::CrackExtensionCandidate *applied=nullptr, CGALTools::CrackExtensionReport *report=nullptr, Range *closure_faces=nullptr)=0 |
| |
| virtual MoFEMErrorCode | joinCrack (BitRefLevel source_bit, BitRefLevel output_bit, const Range &crack_faces, const Range &constraints, const std::vector< CrackFrontRequest > &requests, const CGALTools::CrackExtensionSettings &settings, Range &entities, EntityHandle &new_face, CGALTools::CrackExtensionCandidate *applied=nullptr, CGALTools::CrackExtensionReport *report=nullptr, Range *closure_faces=nullptr)=0 |
| |
| virtual MoFEMErrorCode | crackJoin (BitRefLevel bit, const Range &crack_faces, const Range &constraints, Range &join_faces, std::vector< int > *categories=nullptr, const std::vector< EntityHandle > &front_order={}, EntityHandle *selected_front=nullptr, bool gaps_only=false)=0 |
| |
| virtual MoFEMErrorCode | crackFill (BitRefLevel bit, const Range &crack_faces, const Range &constraints, Range &fill_faces)=0 |
| |
Crack growth on the managed levels: extension by one face, gap closure, joins and notch fill. Obtained from getCrackExtension(); the interface owns it. One rank. See doc/development/cgal_crack_extension_algorithm.md.
Definition at line 102 of file CGALInterface.hpp.
◆ ~CrackExtension()
| virtual MoFEM::CGALInterface::CrackExtension::~CrackExtension |
( |
| ) |
|
|
virtualdefault |
◆ closeCrackGap()
| virtual MoFEMErrorCode MoFEM::CGALInterface::CrackExtension::closeCrackGap |
( |
BitRefLevel |
source_bit, |
|
|
BitRefLevel |
output_bit, |
|
|
const Range & |
crack_faces, |
|
|
const Range & |
constraints, |
|
|
const std::vector< CrackFrontRequest > & |
requests, |
|
|
const CGALTools::CrackExtensionSettings & |
settings, |
|
|
Range & |
entities, |
|
|
EntityHandle & |
new_face, |
|
|
CGALTools::CrackExtensionCandidate * |
applied = nullptr, |
|
|
CGALTools::CrackExtensionReport * |
report = nullptr, |
|
|
Range * |
closure_faces = nullptr |
|
) |
| |
|
pure virtual |
Close a gap at a front edge whose closing face is missing, by CGALTools::crackClosureCandidates, and publish it as extendCrack does. Same arguments and contract as extendCrack. One rank.
◆ closeSearchCache()
| virtual void MoFEM::CGALInterface::CrackExtension::closeSearchCache |
( |
| ) |
|
|
protectedpure virtual |
◆ crackFill()
Faces on bit that close notches of the crack front, by CGALTools::crackFillFaces with the protection rules of extendCrack. No topology changes; missing face entities are created on bit. The caller adds fill_faces to the crack meshset. One rank.
◆ crackJoin()
| virtual MoFEMErrorCode MoFEM::CGALInterface::CrackExtension::crackJoin |
( |
BitRefLevel |
bit, |
|
|
const Range & |
crack_faces, |
|
|
const Range & |
constraints, |
|
|
Range & |
join_faces, |
|
|
std::vector< int > * |
categories = nullptr, |
|
|
const std::vector< EntityHandle > & |
front_order = {}, |
|
|
EntityHandle * |
selected_front = nullptr, |
|
|
bool |
gaps_only = false |
|
) |
| |
|
pure virtual |
Faces on bit that join the crack front to the existing crack, by CGALTools::crackJoinFaces with the protection rules of extendCrack. No node moves and no topology changes; missing face entities are created on bit. categories, if given, receives the category of each face in the order of join_faces' creation. The caller adds join_faces to the crack meshset. With front_order, return one join at the first eligible listed edge and optionally its handle in selected_front. gaps_only restricts selection to faces sharing at least two crack edges. One rank.
◆ extendCrack()
| virtual MoFEMErrorCode MoFEM::CGALInterface::CrackExtension::extendCrack |
( |
BitRefLevel |
source_bit, |
|
|
BitRefLevel |
output_bit, |
|
|
const Range & |
crack_faces, |
|
|
const Range & |
constraints, |
|
|
const std::vector< CrackFrontRequest > & |
requests, |
|
|
const CGALTools::CrackExtensionSettings & |
settings, |
|
|
Range & |
entities, |
|
|
EntityHandle & |
new_face, |
|
|
CGALTools::CrackExtensionCandidate * |
applied = nullptr, |
|
|
CGALTools::CrackExtensionReport * |
report = nullptr, |
|
|
Range * |
closure_faces = nullptr |
|
) |
| |
|
pure virtual |
Extend the crack by one face and publish the result on output_bit. source_bit selects the current tetrahedra (any other bits allowed) and is not modified; output_bit must be distinct and unoccupied. Requests are tried in order; the first front edge with an admissible candidate (see CGALTools::crackExtensionCandidates) is extended. The patch holds the settings.ringLimit vertex rings of source cells around the edge. Body skin, the highest-dimensional members of registered meshsets and the supplied constraints (faces, curve edges, fixed vertices) are protected; volume meshsets label cells, so no flip crosses a material interface. Unchanged entities gain output_bit. Removed entities stay on source_bit as parents. A moved node becomes a new vertex with a fresh GLOBAL_ID whose parent is the source vertex, so its whole star is recreated. Created entities get representative topological parents. closure_faces returns the faces that closed non-convex front corners in the same step. The caller adds new_face and closure_faces to the crack meshset and updates other meshsets from children. new_face is zero and output_bit stays unused when no request succeeds. Failure removes created entities and leaves output_bit unused. One rank.
◆ joinCrack()
| virtual MoFEMErrorCode MoFEM::CGALInterface::CrackExtension::joinCrack |
( |
BitRefLevel |
source_bit, |
|
|
BitRefLevel |
output_bit, |
|
|
const Range & |
crack_faces, |
|
|
const Range & |
constraints, |
|
|
const std::vector< CrackFrontRequest > & |
requests, |
|
|
const CGALTools::CrackExtensionSettings & |
settings, |
|
|
Range & |
entities, |
|
|
EntityHandle & |
new_face, |
|
|
CGALTools::CrackExtensionCandidate * |
applied = nullptr, |
|
|
CGALTools::CrackExtensionReport * |
report = nullptr, |
|
|
Range * |
closure_faces = nullptr |
|
) |
| |
|
pure virtual |
Join by recovering a face with flips, using CGALTools::crackJoiningCandidates. Same level, ancestry, rollback and protection contract as extendCrack; no vertex moves.
◆ openSearchCache()
| virtual void MoFEM::CGALInterface::CrackExtension::openSearchCache |
( |
| ) |
|
|
protectedpure virtual |
The documentation for this struct was generated from the following file: