Medusa  1.1
Coordinate Free Mehless Method implementation
mm::NoWeight< vec_t > Class Template Reference

#include <WeightFunction_fwd.hpp>

Detailed Description

template<class vec_t>
class mm::NoWeight< vec_t >

Class representing no weight function, i.e. a constant 1.

Used in WLS computations of shape functions. This class satisfies the Weight function concept. Usage example: see WLS.

See also
RBFWeight, GaussianWeight, MQWeight, IMQWeight, PHWeight
Examples
test/end2end/poisson_explicit.cpp.

Definition at line 25 of file WeightFunction_fwd.hpp.

Public Member Functions

scalar_t operator() (const vector_t &) const
 Evaluate weight function at point. Returns 1. More...
 

Public Types

enum  { dim = vec_t::dim }
 Store dimension of the domain. More...
 
typedef vec_t vector_t
 Vector type. More...
 
typedef vector_t::scalar_t scalar_t
 Scalar type. More...
 

Friends

template<typename V >
std::ostream & operator<< (std::ostream &os, const NoWeight< V > &m)
 Output basic info about given weight function. More...
 

Member Enumeration Documentation

◆ anonymous enum

template<class vec_t >
anonymous enum

Store dimension of the domain.

Enumerator
dim 

Dimensionality of the function domain.

Definition at line 30 of file WeightFunction_fwd.hpp.

Member Function Documentation

◆ operator()()

template<class vec_t >
scalar_t mm::NoWeight< vec_t >::operator() ( const vector_t ) const
inline

Evaluate weight function at point. Returns 1.

Definition at line 34 of file WeightFunction_fwd.hpp.

Friends And Related Function Documentation

◆ operator<<

template<class vec_t >
template<typename V >
std::ostream& operator<< ( std::ostream &  os,
const NoWeight< V > &  m 
)
friend

Output basic info about given weight function.

Definition at line 43 of file WeightFunction_fwd.hpp.


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