11#ifndef BEMBEL_SRC_LAPLACE_HYPERSINGULAROPERATOR_HPP_
12#define BEMBEL_SRC_LAPLACE_HYPERSINGULAROPERATOR_HPP_
17class LaplaceHypersingularOperator;
21 typedef Eigen::VectorXd EigenType;
22 typedef Eigen::VectorXd::Scalar Scalar;
25 Form = DifferentialForm::Continuous,
26 NumberOfFMMComponents = 2
40 void evaluateIntegrand_impl(
44 Eigen::Dynamic, Eigen::Dynamic> *
intval)
const {
45 auto polynomial_degree =
super_space.get_polynomial_degree();
46 auto polynomial_degree_plus_one_squared =
47 (polynomial_degree + 1) * (polynomial_degree + 1);
50 auto s =
p1.segment<2>(0);
51 auto t =
p2.segment<2>(0);
58 auto x_f =
p1.segment<3>(3);
61 auto y_f =
p2.segment<3>(3);
83 Eigen::Matrix<double, 2, 2> evaluateFMMInterpolation_impl(
86 auto s =
p1.segment<2>(0);
87 auto t =
p2.segment<2>(0);
90 auto x_f =
p1.segment<3>(3);
93 auto y_f =
p2.segment<3>(3);
101 Eigen::Matrix<double, 2, 2>
intval;
115 const Eigen::Vector3d &
y)
const {
116 return 1. / 4. / BEMBEL_PI / (
x -
y).
norm();
125template <
typename InterpolationPo
ints>
128 static std::vector<Eigen::MatrixXd> compute2DMoment(
double evaluateKernel(const Eigen::Vector3d &x, const Eigen::Vector3d &y) const
Fundamental solution of Laplace problem.
Eigen::Matrix< double, 12, 1 > SurfacePoint
typedef of SurfacePoint
Eigen::MatrixXd moment2DComputer(const SuperSpace< LinOp > &super_space, const int cluster_level, const int cluster_refinements, const int number_of_points)
Computes a single 2D moment for the FMM by tensorisation of the 1D moments.
Routines for the evalutation of pointwise errors.
constexpr int getFunctionSpaceOutputDimension()
Computes 1D moment for FMM using derivatives of the basis functions. All calculations ar performed on...
Computes 1D moment for FMM. All calculations ar performed on [0,1].
Computes all 2D moment for the FMM by tensorisation of the 1D moments. Specialice this for your linea...
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...
The superspace manages local polynomial bases on each element of the mesh and provides an interface t...