dune-pdelab  2.5-dev
Public Member Functions | List of all members
Dune::PDELab::PointwiseScaleAdapterEngine< S > Class Template Reference

Scale the output value. More...

#include <dune/pdelab/common/functionwrappers.hh>

Inheritance diagram for Dune::PDELab::PointwiseScaleAdapterEngine< S >:
Inheritance graph

Public Member Functions

 PointwiseScaleAdapterEngine (const S scale_)
 create a PointwiseScaleAdapterEngine More...
 
template<typename Domain , typename Range >
void evaluate (Range &out, const std::vector< Domain > &in) const
 calculate the adapted value from a set of input values More...
 

Related Functions

(Note that these are not member functions.)

template<typename S >
PointwiseScaleAdapterEngine< S > makePointwiseScaleAdapterEngine (const S scale)
 syntactic sugar to create a PointwiseScaleAdapterEngine More...
 

Detailed Description

template<typename S>
class Dune::PDELab::PointwiseScaleAdapterEngine< S >

Scale the output value.

Template Parameters
Stype of the scaling factor

Constructor & Destructor Documentation

◆ PointwiseScaleAdapterEngine()

template<typename S >
Dune::PDELab::PointwiseScaleAdapterEngine< S >::PointwiseScaleAdapterEngine ( const S  scale_)
inline

create a PointwiseScaleAdapterEngine

Parameters
scale_The scaling factor

Member Function Documentation

◆ evaluate()

template<typename S >
template<typename Domain , typename Range >
void Dune::PDELab::PointwiseScaleAdapterEngine< S >::evaluate ( Range &  out,
const std::vector< Domain > &  in 
) const
inline

calculate the adapted value from a set of input values

Template Parameters
Domaintype of input value
Rangetype of output value
Parameters
outWhere to store the output value
inThe list of input values

Friends And Related Function Documentation

◆ makePointwiseScaleAdapterEngine()

template<typename S >
PointwiseScaleAdapterEngine< S > makePointwiseScaleAdapterEngine ( const S  scale)
related

syntactic sugar to create a PointwiseScaleAdapterEngine


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