11 #ifndef BEMBEL_SRC_LAPLACE_SINGLELAYERPOTENTIAL_HPP_
12 #define BEMBEL_SRC_LAPLACE_SINGLELAYERPOTENTIAL_HPP_
17 template <
typename LinOp>
18 class LaplaceSingleLayerPotential;
22 template <
typename LinOp>
24 typedef Eigen::VectorXd::Scalar Scalar;
25 static constexpr
int OutputSpaceDimension = 1;
33 template <
typename LinOp>
35 :
public PotentialBase<LaplaceSingleLayerPotential<LinOp>, LinOp> {
46 const Eigen::Vector3d &point,
49 auto s = p.segment<2>(0);
55 auto x_f = p.segment<3>(3);
56 auto x_f_dx = p.segment<3>(6);
57 auto x_f_dy = p.segment<3>(9);
60 auto x_kappa = x_f_dx.cross(x_f_dy).norm();
66 auto cauchy_value = fun_ev.evaluate(element, p);
69 auto integrand = kernel * cauchy_value * x_kappa * ws;
78 const Eigen::Vector3d &y)
const {
79 return 1. / 4. / BEMBEL_PI / (x - y).norm();
The ElementTreeNode corresponds to an element in the element tree.
This class implements the specification of the integration for the single layer potential for Laplace...
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
Routines for the evalutation of pointwise errors.
struct containing specifications on the linear operator has to be specialized or derived for any part...
functional base class. this serves as a common interface for existing functionals.
Base case for specifying the return type of the potential.
struct containing specifications on the functional has to be specialized or derived for any particula...