shortestDist.hh
A function class for trivial (constant equal 1.0) weight function.
Definition: shortestDist.hh:26
Real operator()(const SingularSet &, concepts::Real2d, const Quad< Real > *) const
Returns 1.
Definition: shortestDist.hh:29
std::ostream & operator<<(std::ostream &os, const TrivialWeight &p)
A function class for weighted regularization, which returns the square of the shortest distance of a ...
Definition: shortestDist.hh:43
Real operator()(const SingularSet &singularities, concepts::Real2d point, const Quad< Real > *elm) const
Uses DistClass to compute the weight function and Function to post process the weight.
Definition: shortestDist.hh:75
Real operator()(const SingularSet &singularities, concepts::Real2d point, const Quad< Real > *elm) const
Returns the square of the shortest distance of a point to the singular vertices.