11 #ifndef BEMBEL_SRC_LINEAROPERATOR_DUMMY_DUMMYOPERATOR_HPP_
12 #define BEMBEL_SRC_LINEAROPERATOR_DUMMY_DUMMYOPERATOR_HPP_
22 typedef Eigen::VectorXd EigenType;
23 typedef Eigen::VectorXd::Scalar Scalar;
26 Form = DifferentialForm::Discontinuous,
27 NumberOfFMMComponents = 1
33 std::function<double(
const Eigen::Vector2d &,
const Eigen::Vector2d &)>
34 DummyOperator_test_function =
35 [](
const Eigen::Vector2d &x,
const Eigen::Vector2d &y) {
return 1.; };
56 std::function<
double(
const Eigen::Vector2d &,
const Eigen::Vector2d &)>
58 test_func_ = test_func;
72 Eigen::Dynamic, Eigen::Dynamic> *intval)
const {
74 test_func_(p1.segment(3, 2), p2.segment(3, 2)) * p1(2) * p2(2);
79 std::function<double(
const Eigen::Vector2d &,
const Eigen::Vector2d &)>
This class provides a dummy specialization of the LinearOperator and corresponding Traits for testing...
DummyOperator(std::function< double(const Eigen::Vector2d &, const Eigen::Vector2d &)> test_func)
Constructor with a given test function.
DummyOperator()
Default constructor.
void evaluateIntegrand_impl(const T &super_space, const SurfacePoint &p1, const SurfacePoint &p2, Eigen::Matrix< typename LinearOperatorTraits< DummyOperator >::Scalar, Eigen::Dynamic, Eigen::Dynamic > *intval) const
Implements the integration routine.
Eigen::Matrix< double, 12, 1 > SurfacePoint
typedef of SurfacePoint
Routines for the evalutation of pointwise errors.
linear operator base class. this serves as a common interface for existing linear operators.
struct containing specifications on the linear operator has to be specialized or derived for any part...