dune-localfunctions 2.9.1
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | List of all members
Dune::LocalLagrangeInterpolation< LP, dim, F > Class Template Reference

#include <dune/localfunctions/lagrange/interpolation.hh>

Public Types

typedef LP< F, dim > LagrangePointSet
 
typedef LagrangePointSet::Field Field
 

Public Member Functions

template<class Fn , class Vector >
auto interpolate (const Fn &fn, Vector &coefficients) const -> std::enable_if_t< std::is_same< decltype(std::declval< Vector >().resize(1)), void >::value, void >
 
template<class Basis , class Matrix >
auto interpolate (const Basis &basis, Matrix &coefficients) const -> std::enable_if_t< std::is_same< decltype(std::declval< Matrix >().rowPtr(0)), typename Matrix::Field * >::value, void >
 
const LagrangePointSetlagrangePoints () const
 

Static Public Attributes

static const unsigned int dimension = LagrangePointSet::dimension
 

Member Typedef Documentation

◆ Field

template<template< class, unsigned int > class LP, unsigned int dim, class F >
typedef LagrangePointSet::Field Dune::LocalLagrangeInterpolation< LP, dim, F >::Field

◆ LagrangePointSet

template<template< class, unsigned int > class LP, unsigned int dim, class F >
typedef LP<F,dim> Dune::LocalLagrangeInterpolation< LP, dim, F >::LagrangePointSet

Member Function Documentation

◆ interpolate() [1/2]

template<template< class, unsigned int > class LP, unsigned int dim, class F >
template<class Basis , class Matrix >
auto Dune::LocalLagrangeInterpolation< LP, dim, F >::interpolate ( const Basis &  basis,
Matrix &  coefficients 
) const -> std::enable_if_t< std::is_same< decltype(std::declval<Matrix>().rowPtr(0)), typename Matrix::Field* >::value,void>
inline

◆ interpolate() [2/2]

template<template< class, unsigned int > class LP, unsigned int dim, class F >
template<class Fn , class Vector >
auto Dune::LocalLagrangeInterpolation< LP, dim, F >::interpolate ( const Fn &  fn,
Vector &  coefficients 
) const -> std::enable_if_t< std::is_same< decltype(std::declval<Vector>().resize(1) ),void >::value,void>
inline

◆ lagrangePoints()

template<template< class, unsigned int > class LP, unsigned int dim, class F >
const LagrangePointSet & Dune::LocalLagrangeInterpolation< LP, dim, F >::lagrangePoints ( ) const
inline

Member Data Documentation

◆ dimension

template<template< class, unsigned int > class LP, unsigned int dim, class F >
const unsigned int Dune::LocalLagrangeInterpolation< LP, dim, F >::dimension = LagrangePointSet::dimension
static

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