NiHu  2.0
NiHu::integral_operator_base< Derived > Class Template Reference

CRTP base of integral operator expressions. More...

#include <integral_operator.hpp>

Classes

struct  wr_result_type
 metafunction obtained from the traits class More...
 

Public Member Functions

template<class TestField , class TrialField , class OnSameMesh >
wr_result_type< TestField, TrialField >::type eval_on_fields (field_base< TestField > const &test_field, field_base< TrialField > const &trial_field, OnSameMesh) const
 sub-weighted residual on a test and a trial field More...
 
template<class FuncSpace >
integral_transform< Derived, typename std::enable_if< is_function_space< FuncSpace >::value, FuncSpace >::type > operator[] (FuncSpace &&funcspace)
 apply the integral operator on a function space and create a NiHu::integral_transform More...
 

Public Attributes

NIHU_CRTP_HELPERS typedef integral_operator_traits< Derived > traits_t
 the traits class of the derived integral operator
 

Detailed Description

template<class Derived>
class NiHu::integral_operator_base< Derived >

CRTP base of integral operator expressions.

Template Parameters
Derivedthe CRTP derived class

Definition at line 46 of file integral_operator.hpp.

Member Function Documentation

◆ eval_on_fields()

template<class Derived >
template<class TestField , class TrialField , class OnSameMesh >
wr_result_type<TestField, TrialField>::type NiHu::integral_operator_base< Derived >::eval_on_fields ( field_base< TestField > const &  test_field,
field_base< TrialField > const &  trial_field,
OnSameMesh   
) const
inline

sub-weighted residual on a test and a trial field

Template Parameters
TestFieldthe test field type
TrialFieldthe trial field type
Parameters
[in]test_fieldthe test field reference
[in]trial_fieldthe trial field reference
Returns
the result submatrix

Definition at line 67 of file integral_operator.hpp.

◆ operator[]()

template<class Derived >
template<class FuncSpace >
integral_transform< Derived, typename std::enable_if<is_function_space<FuncSpace>::value, FuncSpace>::type > NiHu::integral_operator_base< Derived >::operator[] ( FuncSpace &&  funcspace)
inline

apply the integral operator on a function space and create a NiHu::integral_transform

Template Parameters
FuncSpacethe trial function space
Parameters
[in]funcspacethe function space reference
Returns
integral_transform proxy object

Definition at line 84 of file integral_operator.hpp.


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