NiHu  2.0
NiHu::fmm::x2p_integral< Operator, TestField > Class Template Reference

integrate an x2p-operator over a test field More...

#include <x2p_integral.hpp>

Public Types

typedef integral_operator_expression< x2p_integral< Operator, TestField > > base_t
 
typedef std::decay< Operator >::type operator_t
 
typedef TestField test_field_t
 
typedef base_t::trial_input_t trial_input_t
 
typedef base_t::test_input_t test_input_t
 
typedef base_t::result_t result_t
 
typedef test_field_t::elem_t elem_t
 
typedef test_field_t::nset_t nset_t
 
typedef elem_t::domain_t domain_t
 
typedef domain_t::xi_t xi_t
 
typedef NiHu::gaussian_quadrature< domain_t > quadrature_t
 

Public Member Functions

 x2p_integral (Operator &&op, size_t order)
 
size_t rows (test_input_t const &) const
 
size_t cols (trial_input_t const &from) const
 
result_t operator() (test_input_t const &to, trial_input_t const &from) const
 evaluate the operator between two inputs More...
 

Static Public Attributes

static const size_t op_num_rows = num_rows<typename operator_t::result_t>::value
 
static const size_t result_rows
 

Detailed Description

template<class Operator, class TestField>
class NiHu::fmm::x2p_integral< Operator, TestField >

integrate an x2p-operator over a test field

specialisation for integrals with general test fields

Template Parameters
Operatorthe operator to integrate
TestFieldthe test field type

Definition at line 32 of file x2p_integral.hpp.

Member Function Documentation

◆ operator()()

template<class Operator , class TestField >
result_t NiHu::fmm::x2p_integral< Operator, TestField >::operator() ( test_input_t const &  to,
trial_input_t const &  from 
) const
inline

evaluate the operator between two inputs

Parameters
[in]tothe result field
[in]fromthe source cluster or field The operator evaluates th stored kernel for each integration point over the field, weights by the weigting function and sums the results

Definition at line 98 of file x2p_integral.hpp.

Member Data Documentation

◆ result_rows

template<class Operator , class TestField >
const size_t NiHu::fmm::x2p_integral< Operator, TestField >::result_rows
static
Initial value:
=
op_num_rows * nset_t::num_nodes

Definition at line 73 of file x2p_integral.hpp.


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