Go to the source code of this file.
Macros | |
#define | VERDICT_EXPORTS |
Functions | |
C_FUNC_DEF double | v_knife_volume (int num_nodes, double coordinates[][3]) |
Calculates knife volume. More... | |
C_FUNC_DEF void | v_knife_quality (int num_nodes, double coordinates[][3], unsigned int metrics_request_flag, KnifeMetricVals *metric_vals) |
Calculates quality metrics for knife elements. More... | |
#define VERDICT_EXPORTS |
Definition at line 23 of file V_KnifeMetric.cpp.
C_FUNC_DEF void v_knife_quality | ( | int | num_nodes, |
double | coordinates[][3], | ||
unsigned int | metrics_request_flag, | ||
KnifeMetricVals * | metric_vals | ||
) |
Calculates quality metrics for knife elements.
calculate the quality metrics of a knife element.
There is only one, but we put this here to be consistent with functions for other element types. Who knows if we'll add more metrics.
Definition at line 117 of file V_KnifeMetric.cpp.
References V_KNIFE_VOLUME, v_knife_volume(), and KnifeMetricVals::volume.
C_FUNC_DEF double v_knife_volume | ( | int | num_nodes, |
double | coordinates[][3] | ||
) |
Calculates knife volume.
calculates the volume of a knife element
this is done by dividing the knife into 4 tets and summing the volumes of each.
Definition at line 58 of file V_KnifeMetric.cpp.
References VerdictVector::set().
Referenced by moab::VerdictWrapper::all_quality_measures(), moab::VerdictWrapper::quality_measure(), and v_knife_quality().