MOAB: Mesh Oriented datABase
(version 5.4.1)
|
#include <WeightCalculator.hpp>
Public Member Functions | |
virtual | ~WeightCalculator () |
virtual void | initialize_queue (MeshDomainAssoc *mesh_and_domain, const Settings *settings, MsqError &err) |
Called at start of instruction queue processing. | |
virtual double | get_weight (PatchData &pd, size_t element, Sample sample, MsqError &err)=0 |
Get target metric weight. |
Definition at line 49 of file WeightCalculator.hpp.
MBMesquite::WeightCalculator::~WeightCalculator | ( | ) | [virtual] |
Definition at line 38 of file WeightCalculator.cpp.
{}
virtual double MBMesquite::WeightCalculator::get_weight | ( | PatchData & | pd, |
size_t | element, | ||
Sample | sample, | ||
MsqError & | err | ||
) | [pure 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. |
Implemented in FakeTargetCalc, ScaleWeight, MBMesquite::WeightReader, MBMesquite::InverseMetricWeight, MBMesquite::MetricWeight, and MBMesquite::RemainingWeight.
Referenced by MBMesquite::AffineMapMetric::evaluate(), MBMesquite::TMPQualityMetric::evaluate(), MBMesquite::TMPQualityMetric::evaluate_with_indices(), MBMesquite::RemainingWeight::get_weight(), MBMesquite::TargetWriter::loop_over_mesh(), and MBMesquite::TMPQualityMetric::weight().
void MBMesquite::WeightCalculator::initialize_queue | ( | MeshDomainAssoc * | mesh_and_domain, |
const Settings * | settings, | ||
MsqError & | err | ||
) | [virtual] |
Called at start of instruction queue processing.
Do any preliminary global initialization, consistency checking, etc. Default implementation does nothing.
Definition at line 40 of file WeightCalculator.cpp.
Referenced by MBMesquite::TMPQualityMetric::initialize_queue().
{}