BEM++  2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
elementary_singular_integral_operator.hpp
1 // Copyright (C) 2011-2012 by the BEM++ Authors
2 //
3 // Permission is hereby granted, free of charge, to any person obtaining a copy
4 // of this software and associated documentation files (the "Software"), to deal
5 // in the Software without restriction, including without limitation the rights
6 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 // copies of the Software, and to permit persons to whom the Software is
8 // furnished to do so, subject to the following conditions:
9 //
10 // The above copyright notice and this permission notice shall be included in
11 // all copies or substantial portions of the Software.
12 //
13 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 // THE SOFTWARE.
20 
21 #ifndef bempp_elementary_singular_integral_operator_hpp
22 #define bempp_elementary_singular_integral_operator_hpp
23 
24 #include "../common/common.hpp"
25 
26 #include "elementary_integral_operator.hpp"
27 
28 namespace Bempp
29 {
30 
34 template <typename BasisFunctionType_, typename KernelType_, typename ResultType_>
36  public ElementaryIntegralOperator<BasisFunctionType_, KernelType_, ResultType_>
37 {
39 public:
43  typedef typename Base::KernelType KernelType;
45  typedef typename Base::ResultType ResultType;
58 
61  const shared_ptr<const Space<BasisFunctionType> >& domain,
62  const shared_ptr<const Space<BasisFunctionType> >& range,
63  const shared_ptr<const Space<BasisFunctionType> >& dualToRange,
64  const std::string& label,
65  int symmetry) :
66  Base(domain, range, dualToRange, label, symmetry) {
67  }
68 
69  virtual bool isRegular() const {
70  return false;
71  }
72 };
73 
74 } // namespace Bempp
75 
76 #endif
Base::BasisFunctionType BasisFunctionType
Type of the values of the (components of the) basis functions into which functions acted upon by the ...
Definition: elementary_singular_integral_operator.hpp:41
std::string label() const
Return the label of the operator.
Definition: abstract_boundary_operator.cpp:149
virtual bool isRegular() const
Return whether applying this operator to a regular function yields a regular integral.
Definition: elementary_singular_integral_operator.hpp:69
Elementary boundary integral operator with weak form whose integrand has a singularity at origin...
Definition: elementary_singular_integral_operator.hpp:35
ElementarySingularIntegralOperator(const shared_ptr< const Space< BasisFunctionType > > &domain, const shared_ptr< const Space< BasisFunctionType > > &range, const shared_ptr< const Space< BasisFunctionType > > &dualToRange, const std::string &label, int symmetry)
Constructor.
Definition: elementary_singular_integral_operator.hpp:60
Base::BasisFunctionType BasisFunctionType
Type of the values of the (components of the) basis functions into which functions acted upon by the ...
Definition: elementary_integral_operator_base.hpp:59
Base::ResultType ResultType
Type used to represent elements of the weak form of the operator.
Definition: elementary_integral_operator_base.hpp:61
Function space.
Definition: assembled_potential_operator.hpp:35
Base::CollectionOfKernels CollectionOfKernels
Type of the appropriate instantiation of Fiber::CollectionOfKernels.
Definition: elementary_singular_integral_operator.hpp:55
Elementary integral boundary operator.
Definition: elementary_integral_operator.hpp:99
Base class of ElementaryIntegralOperator, containing functionality independent from KernelType...
Definition: elementary_integral_operator_base.hpp:53
KernelType_ KernelType
Type of the values of the (components of the) kernel functions.
Definition: elementary_integral_operator.hpp:115
shared_ptr< const Space< BasisFunctionType > > range() const
Range.
Definition: abstract_boundary_operator.cpp:135
Base::CollectionOfBasisTransformations CollectionOfBasisTransformations
Type of the appropriate instantiation of Fiber::CollectionOfBasisTransformations. ...
Definition: elementary_singular_integral_operator.hpp:50
int symmetry() const
Return the symmetry properties of the operator.
Definition: abstract_boundary_operator.cpp:156
Base::CoordinateType CoordinateType
Type used to represent coordinates.
Definition: elementary_singular_integral_operator.hpp:47
Fiber::TestKernelTrialIntegral< BasisFunctionType, KernelType, ResultType > TestKernelTrialIntegral
Type of the appropriate instantiation of Fiber::TestKernelTrialIntegral.
Definition: elementary_integral_operator.hpp:129
Base::TestKernelTrialIntegral TestKernelTrialIntegral
Type of the appropriate instantiation of Fiber::TestKernelTrialIntegral.
Definition: elementary_singular_integral_operator.hpp:57
shared_ptr< const Space< BasisFunctionType > > dualToRange() const
Dual to range.
Definition: abstract_boundary_operator.cpp:142
shared_ptr< const Space< BasisFunctionType > > domain() const
Domain.
Definition: abstract_boundary_operator.cpp:128
Fiber::CollectionOfKernels< KernelType > CollectionOfKernels
Type of the appropriate instantiation of Fiber::CollectionOfKernels.
Definition: elementary_integral_operator.hpp:126
Base::CollectionOfShapesetTransformations CollectionOfShapesetTransformations
Type of the appropriate instantiation of Fiber::CollectionOfShapesetTransformations.
Definition: elementary_singular_integral_operator.hpp:53
Base::ResultType ResultType
Type used to represent elements of the weak form of the operator.
Definition: elementary_singular_integral_operator.hpp:45
Fiber::CollectionOfShapesetTransformations< CoordinateType > CollectionOfBasisTransformations
Type of the appropriate instantiation of Fiber::CollectionOfBasisTransformations. ...
Definition: elementary_integral_operator.hpp:124
Base::KernelType KernelType
Type of the values of the (components of the) kernel functions.
Definition: elementary_singular_integral_operator.hpp:43
Fiber::CollectionOfShapesetTransformations< CoordinateType > CollectionOfShapesetTransformations
Type of the appropriate instantiation of Fiber::CollectionOfShapesetTransformations.
Definition: elementary_integral_operator.hpp:118
Base::CoordinateType CoordinateType
Type used to represent coordinates.
Definition: elementary_integral_operator_base.hpp:63