Bembel
 
Loading...
Searching...
No Matches
LocalOperatorBase.hpp
1// This file is part of Bembel, the higher order C++ boundary element library.
2//
3// Copyright (C) 2022 see <http://www.bembel.eu>
4//
5// It was written as part of a cooperation of J. Doelz, H. Harbrecht, S. Kurz,
6// M. Multerer, S. Schoeps, and F. Wolf at Technische Universitaet Darmstadt,
7// Universitaet Basel, and Universita della Svizzera italiana, Lugano. This
8// source code is subject to the GNU General Public License version 3 and
9// provided WITHOUT ANY WARRANTY, see <http://www.bembel.eu> for further
10// information.
11
12#ifndef BEMBEL_SRC_LINEAROPERATOR_LOCALOPERATORBASE_HPP_
13#define BEMBEL_SRC_LINEAROPERATOR_LOCALOPERATORBASE_HPP_
14
15namespace Bembel {
21template <typename Derived>
22struct LocalOperatorBase : public LinearOperatorBase<Derived> {
23 // Constructors
25 // the user has to provide the implementation of this function, which
26 // is able to evaluate the integrand of the Galerkin formulation at a
27 // quadrature point represented as a
28 // Surface point [xi; h * w; Chi(xi); dsChi(xi); dtChi(xi)]
29 using LinearOperatorBase<Derived>::evaluateIntegrand;
30 // return the required quadrature degree for the far-field
31 using LinearOperatorBase<Derived>::get_FarfieldQuadratureDegree;
32 // pointer to the derived object
33 using LinearOperatorBase<Derived>::derived;
34
35 private:
37 using LinearOperatorBase<Derived>::evaluateFMMInterpolation;
38};
39} // namespace Bembel
40#endif // BEMBEL_SRC_LINEAROPERATOR_LOCALOPERATORBASE_HPP_
Routines for the evalutation of pointwise errors.
linear operator base class. this serves as a common interface for existing linear operators.
int getNearfieldQuadratureDegree(int ansatz_degree, double distance, int level) const
Compute quadrature degree for numerical integretation close to the singularity based on distance,...
local operator base class. this serves as a common interface for existing local operators