NiHu  2.0
NiHu::wr_sum< Left, Right > Class Template Reference

the sum of two weighted residual expressions More...

#include <weighted_residual.hpp>

Public Member Functions

 wr_sum (Left &&left, Right &&right)
 constructor More...
 
template<class result_t >
result_t & eval (result_t &result) const
 evaluate wr sum into result More...
 
- Public Member Functions inherited from NiHu::wr_base< wr_sum< Left, Right > >
NIHU_CRTP_HELPERS result_t & eval (result_t &result) const
 evaluate weighted residual into matrix More...
 

Detailed Description

template<class Left, class Right>
class NiHu::wr_sum< Left, Right >

the sum of two weighted residual expressions

Template Parameters
LeftDerivedthe left hand side class
RightDerivedthe right hand side class

Definition at line 117 of file weighted_residual.hpp.

Constructor & Destructor Documentation

◆ wr_sum()

template<class Left , class Right >
NiHu::wr_sum< Left, Right >::wr_sum ( Left &&  left,
Right &&  right 
)
inline

constructor

Parameters
[in]leftthe left hand side wr reference
[in]rightthe right hand side wr reference

Definition at line 125 of file weighted_residual.hpp.

Member Function Documentation

◆ eval()

template<class Left , class Right >
template<class result_t >
result_t& NiHu::wr_sum< Left, Right >::eval ( result_t &  result) const
inline

evaluate wr sum into result

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

Definition at line 136 of file weighted_residual.hpp.


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