v0.16.3
Loading...
Searching...
No Matches
Public Types | Public Attributes | List of all members
MoFEM::CGALTools::CrackExtensionCandidate Struct Reference

#include "src/interfaces/CGALTools.hpp"

Collaboration diagram for MoFEM::CGALTools::CrackExtensionCandidate:
[legend]

Public Types

enum  Class { Flips = 1 , PartialMove = 2 , OnPlaneMove = 3 }
 Candidate classes, tried in this order; see "Candidate classes". More...
 
enum  Continuation { BLOCKED = -1 , UNKNOWN = 0 , FEASIBLE = 1 }
 
enum  ContinuationKind {
  NONE , MOVE , EXTENSION , JOIN ,
  CLOSURE
}
 Gap closure, joining and flip-only advance precede vertex movement. More...
 

Public Attributes

int candidateClass = 0
 A Class.
 
int freeNode = -1
 Patch point index of the free node.
 
std::array< double, 3 > displacement {0, 0, 0}
 
std::array< int, 3 > newFace {-1, -1, -1}
 (f0, f1, freeNode).
 
std::vector< int > removedCells
 Sorted patch cell indices.
 
std::vector< std::array< int, 4 > > createdCells
 Positively oriented.
 
std::vector< int > createdParents
 Representative removed patch cell per created cell.
 
int operations = 0
 
std::vector< std::array< int, 3 > > closureFaces
 
int openCorners = 0
 Non-convex corners at new edges left open.
 
double minQuality = 0
 
double angleDeviationDegrees = 0
 
double moveRelative = 0
 
double score = 0
 
int cardinality = 0
 
Continuation continuation = UNKNOWN
 UNKNOWN includes a preview cut by the patch boundary or not evaluated.
 
ContinuationKind operation = EXTENSION
 
int joinCategory = 0
 CrackJoinFace category for a joining candidate.
 
ContinuationKind continuationKind = NONE
 
std::array< int, 3 > continuationFace {-1, -1, -1}
 
double continuationAngleDegrees = 0
 
std::uint64_t patchDigest = 0
 Patch state the candidate belongs to.
 

Detailed Description

One admissible extension; a description, not an applied change. It is bound to the exact patch state it was generated from (patchDigest), so applying any change invalidates every other candidate.

Definition at line 184 of file CGALTools.hpp.

Member Enumeration Documentation

◆ Class

Candidate classes, tried in this order; see "Candidate classes".

Enumerator
Flips 

The face exists, or one edge removal makes it.

PartialMove 

The free node moves until within the tolerance.

OnPlaneMove 

The free node moves onto the target plane.

Definition at line 186 of file CGALTools.hpp.

186 {
187 Flips = 1, ///< The face exists, or one edge removal makes it.
188 PartialMove = 2, ///< The free node moves until within the tolerance.
189 OnPlaneMove = 3 ///< The free node moves onto the target plane.
190 };
@ OnPlaneMove
The free node moves onto the target plane.
@ PartialMove
The free node moves until within the tolerance.
@ Flips
The face exists, or one edge removal makes it.

◆ Continuation

Enumerator
BLOCKED 
UNKNOWN 
FEASIBLE 

Definition at line 207 of file CGALTools.hpp.

◆ ContinuationKind

Gap closure, joining and flip-only advance precede vertex movement.

Enumerator
NONE 
MOVE 
EXTENSION 
JOIN 
CLOSURE 

Definition at line 211 of file CGALTools.hpp.

Member Data Documentation

◆ angleDeviationDegrees

double MoFEM::CGALTools::CrackExtensionCandidate::angleDeviationDegrees = 0

Definition at line 204 of file CGALTools.hpp.

◆ candidateClass

int MoFEM::CGALTools::CrackExtensionCandidate::candidateClass = 0

A Class.

Definition at line 191 of file CGALTools.hpp.

◆ cardinality

int MoFEM::CGALTools::CrackExtensionCandidate::cardinality = 0

Definition at line 206 of file CGALTools.hpp.

◆ closureFaces

std::vector<std::array<int, 3> > MoFEM::CGALTools::CrackExtensionCandidate::closureFaces

Faces closing non-convex front corners at the new edges; they join the crack with newFace. Created by existing faces or flips.

Definition at line 202 of file CGALTools.hpp.

◆ continuation

Continuation MoFEM::CGALTools::CrackExtensionCandidate::continuation = UNKNOWN

UNKNOWN includes a preview cut by the patch boundary or not evaluated.

Definition at line 209 of file CGALTools.hpp.

◆ continuationAngleDegrees

double MoFEM::CGALTools::CrackExtensionCandidate::continuationAngleDegrees = 0

Definition at line 216 of file CGALTools.hpp.

◆ continuationFace

std::array<int, 3> MoFEM::CGALTools::CrackExtensionCandidate::continuationFace {-1, -1, -1}

Definition at line 215 of file CGALTools.hpp.

215{-1, -1, -1};

◆ continuationKind

ContinuationKind MoFEM::CGALTools::CrackExtensionCandidate::continuationKind = NONE

Definition at line 214 of file CGALTools.hpp.

◆ createdCells

std::vector<std::array<int, 4> > MoFEM::CGALTools::CrackExtensionCandidate::createdCells

Positively oriented.

Definition at line 196 of file CGALTools.hpp.

◆ createdParents

std::vector<int> MoFEM::CGALTools::CrackExtensionCandidate::createdParents

Representative removed patch cell per created cell.

Definition at line 198 of file CGALTools.hpp.

◆ displacement

std::array<double, 3> MoFEM::CGALTools::CrackExtensionCandidate::displacement {0, 0, 0}

Definition at line 193 of file CGALTools.hpp.

193{0, 0, 0};

◆ freeNode

int MoFEM::CGALTools::CrackExtensionCandidate::freeNode = -1

Patch point index of the free node.

Definition at line 192 of file CGALTools.hpp.

◆ joinCategory

int MoFEM::CGALTools::CrackExtensionCandidate::joinCategory = 0

CrackJoinFace category for a joining candidate.

Definition at line 213 of file CGALTools.hpp.

◆ minQuality

double MoFEM::CGALTools::CrackExtensionCandidate::minQuality = 0

Definition at line 204 of file CGALTools.hpp.

◆ moveRelative

double MoFEM::CGALTools::CrackExtensionCandidate::moveRelative = 0

Definition at line 204 of file CGALTools.hpp.

◆ newFace

std::array<int, 3> MoFEM::CGALTools::CrackExtensionCandidate::newFace {-1, -1, -1}

(f0, f1, freeNode).

Definition at line 194 of file CGALTools.hpp.

194{-1, -1, -1}; ///< (f0, f1, freeNode).

◆ openCorners

int MoFEM::CGALTools::CrackExtensionCandidate::openCorners = 0

Non-convex corners at new edges left open.

Definition at line 203 of file CGALTools.hpp.

◆ operation

ContinuationKind MoFEM::CGALTools::CrackExtensionCandidate::operation = EXTENSION

Definition at line 212 of file CGALTools.hpp.

◆ operations

int MoFEM::CGALTools::CrackExtensionCandidate::operations = 0

Node moves are not counted.

Definition at line 199 of file CGALTools.hpp.

◆ patchDigest

std::uint64_t MoFEM::CGALTools::CrackExtensionCandidate::patchDigest = 0

Patch state the candidate belongs to.

Definition at line 217 of file CGALTools.hpp.

◆ removedCells

std::vector<int> MoFEM::CGALTools::CrackExtensionCandidate::removedCells

Sorted patch cell indices.

Definition at line 195 of file CGALTools.hpp.

◆ score

double MoFEM::CGALTools::CrackExtensionCandidate::score = 0

Definition at line 205 of file CGALTools.hpp.


The documentation for this struct was generated from the following file: