35 #include "Vector3D.hpp"
36 #include "ShapeQualityMetric.hpp"
37 #include "QualityMetric.hpp"
39 #ifdef MSQ_USE_OLD_STD_HEADERS
46 using namespace Mesquite;
55 set_name(
"Corner Jacobian Volume (or Area)");
#define MSQ_ERRZERO(err)
Return zero/NULL on error.
Used to hold the error state and return it to the application.
bool evaluate_element(PatchData &pd, MsqMeshEntity *element, double &fval, MsqError &err)
evaluate using mesquite objects
CornerJacobianQualityMetric()
MsqMeshEntity is the Mesquite object that stores information about the elements in the mesh...
double compute_unsigned_volume(PatchData &pd, MsqError &err)
Computes the volume of the element.
void set_element_evaluation_mode(ElementEvaluationMode mode, MsqError &err)
Sets the evaluation mode for the ELEMENT_BASED metrics.
#define MSQ_CHKERR(err)
Mesquite's Error Checking macro.
double compute_unsigned_area(PatchData &pd, MsqError &err)
Computes the area of the element.
EntityTopology get_element_type() const
Returns element type.
void set_metric_type(MetricType t)
This function should be used in the constructor of every concrete quality metric. ...
AveragingMethod avgMethod
void set_name(msq_std::string st)
Sets the name of this metric.