GCC Code Coverage Report


Directory: Bembel/src/
File: Bembel/src/LinearOperator/LocalOperatorBase.hpp
Date: 2024-03-19 14:38:05
Exec Total Coverage
Lines: 1 1 100.0%
Functions: 2 2 100.0%
Branches: 0 0 -%

Line Branch Exec Source
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
15 namespace Bembel {
16 /**
17 * \ingroup LocalOperator
18 * \brief local operator base class. this serves as a common interface for
19 * existing local operators
20 **/
21 template <typename Derived>
22 struct LocalOperatorBase : public LinearOperatorBase<Derived> {
23 // Constructors
24 2 LocalOperatorBase() {}
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:
36 using LinearOperatorBase<Derived>::getNearfieldQuadratureDegree;
37 using LinearOperatorBase<Derived>::evaluateFMMInterpolation;
38 };
39 } // namespace Bembel
40 #endif // BEMBEL_SRC_LINEAROPERATOR_LOCALOPERATORBASE_HPP_
41