21 #ifndef fiber_simple_test_trial_integrand_functor_hpp
22 #define fiber_simple_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"
42 template <
typename BasisFunctionType_,
typename ResultType_>
46 typedef BasisFunctionType_ BasisFunctionType;
47 typedef ResultType_ ResultType;
50 void addGeometricalDependencies(
size_t& geomDeps)
const {
60 assert(testValues.size() >= 1);
61 assert(trialValues.size() >= 1);
62 assert(testValues[0].extent(0) == trialValues[0].extent(0));
64 const int transformationDim = testValues[0].extent(0);
66 BasisFunctionType result = 0.;
67 for (
int dim = 0; dim < transformationDim; ++dim)
68 result += conjugate(testValues[0](dim)) *
Traits of scalar types.
Definition: scalar_traits.hpp:40
Definition: collection_of_3d_arrays.hpp:151
Access to slices of geometrical data.
Definition: geometrical_data.hpp:88
Functor evaluating the integrand of the standard identity operator.
Definition: simple_test_trial_integrand_functor.hpp:43