NiHu  2.0
NiHu::weighted_residual< TestSpace, Projection > Class Template Reference

A weighted residual proxy storing a function_space and an integral_transform. More...

#include <weighted_residual.hpp>

Public Member Functions

 weighted_residual (TestSpace &&test, Projection &&proj)
 constructor from test reference and integral_transform reference More...
 
template<class result_t >
result_t & eval (result_t &result) const
 evaluate wr into result More...
 
- Public Member Functions inherited from NiHu::wr_base< weighted_residual< TestSpace, Projection > >
NIHU_CRTP_HELPERS result_t & eval (result_t &result) const
 evaluate weighted residual into matrix More...
 

Detailed Description

template<class TestSpace, class Projection>
class NiHu::weighted_residual< TestSpace, Projection >

A weighted residual proxy storing a function_space and an integral_transform.

Template Parameters
TestSpacethe test function space
Projectionthe integral_transform

Definition at line 66 of file weighted_residual.hpp.

Constructor & Destructor Documentation

◆ weighted_residual()

template<class TestSpace , class Projection >
NiHu::weighted_residual< TestSpace, Projection >::weighted_residual ( TestSpace &&  test,
Projection &&  proj 
)
inline

constructor from test reference and integral_transform reference

Parameters
[in]testreference to the test space
[in]projreference to the integral_transform

Definition at line 74 of file weighted_residual.hpp.

Member Function Documentation

◆ eval()

template<class TestSpace , class Projection >
template<class result_t >
result_t& NiHu::weighted_residual< TestSpace, Projection >::eval ( result_t &  result) const
inline

evaluate wr into result

Template Parameters
result_tthe result matrix type
Parameters
[out]resultthe result matrix
Returns
reference to the result

Definition at line 88 of file weighted_residual.hpp.


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