void set_averaging_method(AveragingMethod method, MsqError &err)
static const double MSQ_TWO_THIRDS
Base class for the computation of the distance from target between the target matrices W and the actu...
double p_get_gamma()
access function to get mGamma
Used to hold the error state and return it to the application.
double p_get_alpha()
access function to get mAlpha
MsqMeshEntity is the Mesquite object that stores information about the elements in the mesh...
Vector3D is the object that effeciently stores information about about three-deminsional vectors...
bool p_get_use_barrier_delta()
access function to get useBarrierDelta
bool compute_element_analytical_hessian(PatchData &pd, MsqMeshEntity *e, MsqVertex *fv[], Vector3D g[], Matrix3D h[], int nfv, double &m, MsqError &err)
void set_hessian_type(HESSIAN_TYPE ht)
Sets hessianType for this metric.
void p_set_gamma(double gamma)
access function to set mGamma
void p_set_alpha(double alpha)
access function to set mAlpha
void p_set_use_barrier_delta(bool use_delta)
access function to set useBarrierDelta
bool compute_element_analytical_gradient(PatchData &pd, MsqMeshEntity *e, MsqVertex *fv[], Vector3D g[], int nfv, double &m, MsqError &err)
Virtual function that computes the gradient of the QualityMetric analytically. The base class impleme...
void p_set_beta(double beta)
access function to set mBeta
double p_get_beta()
access function to get mBeta
virtual ~I_DFT()
virtual destructor ensures use of polymorphism during destruction
3*3 Matric class, row-oriented, 0-based [i][j] indexing.
bool evaluate_element(PatchData &pd, MsqMeshEntity *e, double &m, MsqError &err)
Evaluate the metric for an element.
void set_gradient_type(GRADIENT_TYPE grad)
Sets gradType for this metric.
void set_metric_type(MetricType t)
This function should be used in the constructor of every concrete quality metric. ...
MsqVertex is the Mesquite object that stores information about the vertices in the mesh...
void set_name(msq_std::string st)
Sets the name of this metric.
Class containing the target corner matrices for the context based smoothing.