NiHu  2.0
NiHu::scaled_integral_operator< Scalar, IntOp > Class Template Reference

Proxy class representing an integral operator multiplied by a scalar. More...

#include <integral_operator.hpp>

Public Types

typedef integral_operator_base< scaled_integral_operator< Scalar, IntOp > > base_t
 the CRTP base class
 

Public Member Functions

 scaled_integral_operator (Scalar &&scalar, IntOp &&parent)
 constructor from a scalar and an integral operator instance More...
 
template<class TestField , class TrialField , class OnSameMesh >
base_t::template wr_result_type< TestField, TrialField >::type derived_eval_on_fields (field_base< TestField > const &test_field, field_base< TrialField > const &trial_field, OnSameMesh) const
 evaluate a scaled integral operator on a test and a trial field More...
 

Detailed Description

template<class Scalar, class IntOp>
class NiHu::scaled_integral_operator< Scalar, IntOp >

Proxy class representing an integral operator multiplied by a scalar.

Template Parameters
Scalarthe scalar type
IntOpthe integral operator's type

Definition at line 102 of file integral_operator.hpp.

Constructor & Destructor Documentation

◆ scaled_integral_operator()

template<class Scalar , class IntOp >
NiHu::scaled_integral_operator< Scalar, IntOp >::scaled_integral_operator ( Scalar &&  scalar,
IntOp &&  parent 
)
inline

constructor from a scalar and an integral operator instance

Parameters
[in]scalarthe scalar instance
parentthe integral operator to multiply with the scalar

Definition at line 144 of file integral_operator.hpp.

Member Function Documentation

◆ derived_eval_on_fields()

template<class Scalar , class IntOp >
template<class TestField , class TrialField , class OnSameMesh >
base_t::template wr_result_type<TestField, TrialField>::type NiHu::scaled_integral_operator< Scalar, IntOp >::derived_eval_on_fields ( field_base< TestField > const &  test_field,
field_base< TrialField > const &  trial_field,
OnSameMesh   
) const
inline

evaluate a scaled integral operator on a test and a trial field

Template Parameters
TestFieldthe test field's type
TrialFieldthe trial field's type
Parameters
[in]test_fieldthe test field
[in]trial_fieldthe trial field
Returns
the result matrix of the double integral

Definition at line 161 of file integral_operator.hpp.


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