MOAB: Mesh Oriented datABase
(version 5.4.1)
|
#include <TMPQualityMetricTest.hpp>
Public Member Functions | |
ScaleWeight (double s) | |
double | get_weight (PatchData &, size_t, Sample, MsqError &) |
Get target metric weight. | |
Public Attributes | |
double | value |
Weight calculator used for testing. Returns constant weight.
Definition at line 106 of file TMPQualityMetricTest.hpp.
ScaleWeight::ScaleWeight | ( | double | s | ) | [inline] |
Definition at line 109 of file TMPQualityMetricTest.hpp.
: value( s ) {}
double ScaleWeight::get_weight | ( | PatchData & | pd, |
size_t | element, | ||
Sample | sample, | ||
MsqError & | err | ||
) | [inline, virtual] |
Get target metric weight.
pd | The current PatchData |
element | The index an element within the patch data. |
sample | The sample point in the element. |
Implements MBMesquite::WeightCalculator.
Definition at line 110 of file TMPQualityMetricTest.hpp.
References value().
{ return value; }
double ScaleWeight::value |
Definition at line 114 of file TMPQualityMetricTest.hpp.