Medusa  1.1
Coordinate Free Mehless Method implementation
mm::ScaleToClosest Class Reference

#include <ScaleFunction.hpp>

Detailed Description

Scale function that scales to the closest neighbor.

Used as a template parameter in WLS computations of shape functions. This function satisfies the Scale function concept.

See also
NoScale, ScaleToFarthest

Definition at line 23 of file ScaleFunction.hpp.

Static Public Member Functions

template<typename vec_t >
static vec_t::scalar_t scale (const vec_t &p, const std::vector< vec_t > &support)
 Returns local scale of given point and its support. More...
 

Friends

std::ostream & operator<< (std::ostream &os, const ScaleToClosest &)
 Print information about this scale function. More...
 

Member Function Documentation

◆ scale()

template<typename vec_t >
static vec_t::scalar_t mm::ScaleToClosest::scale ( const vec_t &  p,
const std::vector< vec_t > &  support 
)
inlinestatic

Returns local scale of given point and its support.

Definition at line 27 of file ScaleFunction.hpp.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const ScaleToClosest  
)
friend

Print information about this scale function.

Definition at line 32 of file ScaleFunction.hpp.


The documentation for this class was generated from the following file: