DUNE PDELab (git)

Dune::PDELab::PointwiseScaleAdapterEngine< S > Class Template Reference

Scale the output value. More...

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

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
 

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

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 24, 23:30, 2024)