Shape Improvement with Unit Aspect Ratio. Use with sR-DFT. More...
#include <ConcreteTargetCalculators.hpp>
Public Member Functions | |
ShapeGuides811 () | |
virtual | ~ShapeGuides811 () |
virtual destructor ensures use of polymorphism during destruction More... | |
ShapeGuides811 () | |
virtual | ~ShapeGuides811 () |
virtual destructor ensures use of polymorphism during destruction More... | |
Public Member Functions inherited from WTargetCalculator | |
virtual | ~WTargetCalculator () |
virtual destructor ensures use of polymorphism during destruction More... | |
virtual void | compute_target_matrices (PatchData &pd, MsqError &err) |
virtual | ~WTargetCalculator () |
virtual destructor ensures use of polymorphism during destruction More... | |
virtual void | compute_target_matrices (PatchData &pd, MsqError &err) |
This function provides the corner matrices for all elements on the Patch. More... | |
Public Member Functions inherited from TargetCalculator | |
TargetCalculator () | |
virtual | ~TargetCalculator () |
virtual destructor ensures use of polymorphism during destruction More... | |
void | compute_guide_matrices (enum guide_type type, PatchData &ref_pd, size_t elem_ind, Matrix3D A[], int num, MsqError &err) |
Computes the guide corner matrices A for a given element index in the reference patch. More... | |
Matrix3D | compute_V_3D (const Matrix3D &A, MsqError &err) |
Matrix3D | compute_Q_3D (const Matrix3D &A, MsqError &err) |
Matrix3D | compute_Delta_3D (const Matrix3D &A, MsqError &err) |
void | compute_default_target_matrices (PatchData &pd, MsqError &err) |
Compute the default "isotropic" target matrices that are often used in the computation of reference-based target matrices. More... | |
void | compute_reference_corner_matrices (PatchData &pd, MsqError &err) |
Compute the corner matrices for the reference mesh refMesh. More... | |
void | compute_target_matrices_and_check_det (PatchData &pd, MsqError &err) |
This function wraps compute_target_matrices and checks that the determinant of each target is positive. More... | |
void | reset_reference_meshset (MsqError &err) |
Reset the reference mesh so it starts from the first vertex again. More... | |
virtual double | loop_over_mesh (MeshSet &ms, MsqError &err) |
This is the "run" function of PatchDataUser. It can do anything really. More... | |
virtual msq_std::string | get_name () |
Returns the algorithm name. More... | |
virtual AlgorithmType | get_algorithm_type () |
Return the algorithm type (to avoid RTTI use). More... | |
TargetCalculator () | |
virtual | ~TargetCalculator () |
virtual destructor ensures use of polymorphism during destruction More... | |
void | compute_guide_matrices (enum guide_type type, PatchData &ref_pd, size_t elem_ind, Matrix3D A[], int num, MsqError &err) |
Computes the guide corner matrices A for a given element index in the reference patch. More... | |
Matrix3D | compute_V_3D (const Matrix3D &A, MsqError &err) |
Matrix3D | compute_Q_3D (const Matrix3D &A, MsqError &err) |
Matrix3D | compute_Delta_3D (const Matrix3D &A, MsqError &err) |
void | compute_default_target_matrices (PatchData &pd, MsqError &err) |
Compute the default "isotropic" target matrices that are often used in the computation of reference-based target matrices. More... | |
void | compute_reference_corner_matrices (PatchData &pd, MsqError &err) |
Compute the corner matrices for the reference mesh refMesh. More... | |
void | compute_target_matrices_and_check_det (PatchData &pd, MsqError &err) |
This function wraps compute_target_matrices and checks that the determinant of each target is positive. More... | |
void | reset_reference_meshset (MsqError &err) |
Reset the reference mesh so it starts from the first vertex again. More... | |
virtual double | loop_over_mesh (MeshSet &ms, MsqError &err) |
This is the "run" function of PatchDataUser. It can do anything really. More... | |
virtual msq_std::string | get_name () |
Returns the algorithm name. More... | |
virtual AlgorithmType | get_algorithm_type () |
Return the algorithm type (to avoid RTTI use). More... | |
Public Member Functions inherited from PatchDataUser | |
virtual | ~PatchDataUser () |
virtual void | set_patch_type (PatchData::PatchType patch_type, MsqError &err, int param1=0, int param2=0) |
Sets the Patch Type. More... | |
PatchData::PatchType | get_patch_type () |
Returns the Patch Type. More... | |
int | get_nb_layers (MsqError &err) |
Returns number of layers (if relevant for partition algorythm). More... | |
void | add_culling_method (enum PatchData::culling_method cm) |
Sets on the culling method passed as argument. More... | |
void | no_culling_method () |
Sets off all culling methods. More... | |
void | remove_culling_method (enum PatchData::culling_method cm) |
Sets off the culling method passed as argument. More... | |
long unsigned int | get_culling_method_bits () |
Returns the bitset containing culling methods flags. More... | |
void | set_all_parameters (PatchDataParameters ¶ms) |
PatchDataParameters & | get_all_parameters () |
Returns the PatchDataParameters object. More... | |
void | set_global_patch (PatchData *pd, MsqError &err) |
Sets the Global Patch, so that it can be use by contiguoug PatchDataUser. More... | |
PatchData * | get_global_patch () |
Returns the Global Patch. More... | |
void | no_global_patch () |
Sets the Global Patch pointer to NULL. More... | |
virtual | ~PatchDataUser () |
virtual void | set_patch_type (PatchData::PatchType patch_type, MsqError &err, int param1=0, int param2=0) |
Sets the Patch Type. More... | |
PatchData::PatchType | get_patch_type () |
Returns the Patch Type. More... | |
int | get_nb_layers (MsqError &err) |
Returns number of layers (if relevant for partition algorythm). More... | |
void | add_culling_method (enum PatchData::culling_method cm) |
Sets on the culling method passed as argument. More... | |
void | no_culling_method () |
Sets off all culling methods. More... | |
void | remove_culling_method (enum PatchData::culling_method cm) |
Sets off the culling method passed as argument. More... | |
long unsigned int | get_culling_method_bits () |
Returns the bitset containing culling methods flags. More... | |
void | set_all_parameters (PatchDataParameters ¶ms) |
PatchDataParameters & | get_all_parameters () |
Returns the PatchDataParameters object. More... | |
void | set_global_patch (PatchData *pd, MsqError &err) |
Sets the Global Patch, so that it can be use by contiguoug PatchDataUser. More... | |
PatchData * | get_global_patch () |
Returns the Global Patch. More... | |
void | no_global_patch () |
Sets the Global Patch pointer to NULL. More... | |
Additional Inherited Members | |
Public Types inherited from TargetCalculator | |
enum | Lambda_type { REGULAR, AVERAGE, REGULAR, AVERAGE } |
enum | guide_type { Ad, AK, A0, Ar, As, Ab, Ac, Ap, Ae, Af, Ax, Ad, AK, A0, Ar, As, Ab, Ac, Ap, Ae, Af, Ax } |
enum | Lambda_type { REGULAR, AVERAGE, REGULAR, AVERAGE } |
enum | guide_type { Ad, AK, A0, Ar, As, Ab, Ac, Ap, Ae, Af, Ax, Ad, AK, A0, Ar, As, Ab, Ac, Ap, Ae, Af, Ax } |
Public Types inherited from PatchDataUser | |
enum | AlgorithmType { QUALITY_IMPROVER, QUALITY_ASSESSOR, MESH_TRANSFORM, TARGET_CALCULATOR, QUALITY_IMPROVER, QUALITY_ASSESSOR, MESH_TRANSFORM, TARGET_CALCULATOR } |
enum | AlgorithmType { QUALITY_IMPROVER, QUALITY_ASSESSOR, MESH_TRANSFORM, TARGET_CALCULATOR, QUALITY_IMPROVER, QUALITY_ASSESSOR, MESH_TRANSFORM, TARGET_CALCULATOR } |
Static Public Member Functions inherited from TargetCalculator | |
static void | initialize_default_target_matrices (Matrix3D &tri_M3D, Matrix3D &quad_M3D, Matrix3D &tet_M3D, Matrix3D &hex_M3D) |
static double | compute_Lambda (const Matrix3D &A, MsqError &err) |
Note that this function is static, i.e. it can be used independently of an object. More... | |
static void | initialize_default_target_matrices (Matrix3D &tri_M3D, Matrix3D &quad_M3D, Matrix3D &tet_M3D, Matrix3D &hex_M3D) |
static double | compute_Lambda (const Matrix3D &A, MsqError &err) |
Protected Member Functions inherited from WTargetCalculator | |
WTargetCalculator () | |
the constructor is protected since this is not intended to be a concrete class. More... | |
WTargetCalculator () | |
the constructor is protected since this is not intended to be a concrete class. More... | |
Protected Member Functions inherited from PatchDataUser | |
PatchDataUser () | |
PatchDataUser () | |
Protected Attributes inherited from WTargetCalculator | |
enum guide_type | guideMatrix |
Protected Attributes inherited from TargetCalculator | |
MeshSet * | refMesh |
Shape Improvement with Unit Aspect Ratio. Use with sR-DFT.
Definition at line 50 of file includeLinks/ConcreteTargetCalculators.hpp.
|
inline |
Definition at line 53 of file includeLinks/ConcreteTargetCalculators.hpp.
References TargetCalculator::Ad, and WTargetCalculator::guideMatrix.
|
inlinevirtual |
virtual destructor ensures use of polymorphism during destruction
Definition at line 59 of file includeLinks/ConcreteTargetCalculators.hpp.
|
inline |
Definition at line 53 of file src/TargetCalculator/ConcreteTargetCalculators.hpp.
References TargetCalculator::Ad, and WTargetCalculator::guideMatrix.
|
inlinevirtual |
virtual destructor ensures use of polymorphism during destruction
Definition at line 59 of file src/TargetCalculator/ConcreteTargetCalculators.hpp.