template class geode::CustomGridMetric

#include <custom_grid_metric.h>

template <index_t dimension>
class CustomGridMetric: public geode::Metric
{
public:
    // construction

    CustomGridMetric(
        const RegularGrid<dimension>& grid,
        absl::string_view attribute_name
        );

    // methods

    virtual double metric(const Point<dimension>& point) const;
    virtual double average_metric() const;
};

Inherited Members

public:
    // methods

    virtual double metric(const Point<dimension>& point) const = 0;
    virtual double average_metric() const = 0;