21 #ifndef fiber_single_component_test_trial_integrand_functor_hpp
22 #define fiber_single_component_test_trial_integrand_functor_hpp
24 #include "../common/common.hpp"
27 #include "collection_of_3d_arrays.hpp"
28 #include "geometrical_data.hpp"
29 #include "conjugate.hpp"
30 #include "scalar_traits.hpp"
40 template <
typename BasisFunctionType_,
typename ResultType_>
44 typedef BasisFunctionType_ BasisFunctionType;
45 typedef ResultType_ ResultType;
49 size_t trialComponent) :
50 m_testComponent(testComponent), m_trialComponent(trialComponent)
54 void addGeometricalDependencies(
size_t& geomDeps)
const {
64 assert(testValues.size() >= 1);
65 assert(trialValues.size() >= 1);
66 assert(testValues[0].extent(0) >= m_testComponent);
67 assert(trialValues[0].extent(0) >= m_trialComponent);
69 return conjugate(testValues[0](m_testComponent)) *
70 trialValues[0](m_trialComponent);
74 size_t m_testComponent, m_trialComponent;
Traits of scalar types.
Definition: scalar_traits.hpp:40
Definition: collection_of_3d_arrays.hpp:151
This functor evaluates the integrand having the form of the product of a single component of a test f...
Definition: single_component_test_trial_integrand_functor.hpp:41
Access to slices of geometrical data.
Definition: geometrical_data.hpp:88