21 #ifndef fiber_maxwell_3d_test_trial_integrand_functor_hpp
22 #define fiber_maxwell_3d_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"
39 template <
typename BasisFunctionType_,
typename ResultType_>
43 typedef BasisFunctionType_ BasisFunctionType;
44 typedef ResultType_ ResultType;
47 void addGeometricalDependencies(
size_t& geomDeps)
const {
57 assert(testValues.size() >= 1);
58 assert(trialValues.size() >= 1);
59 assert(testValues[0].extent(0) == 3);
60 assert(trialValues[0].extent(0) == 3);
62 return -((conjugate(testValues[0](1)) * geomData.normal(2) -
63 conjugate(testValues[0](2)) * geomData.normal(1)) *
65 (conjugate(testValues[0](2)) * geomData.normal(0) -
66 conjugate(testValues[0](0)) * geomData.normal(2)) *
68 (conjugate(testValues[0](0)) * geomData.normal(1) -
69 conjugate(testValues[0](1)) * geomData.normal(0)) *
Traits of scalar types.
Definition: scalar_traits.hpp:40
Functor evaluating the integrand of the identity operator under the pseudo-inner product relevant to ...
Definition: maxwell_3d_test_trial_integrand_functor.hpp:40
Definition: collection_of_3d_arrays.hpp:151
Access to slices of geometrical data.
Definition: geometrical_data.hpp:88