BEM++  2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
elementary_regular_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_regular_integral_operator_hpp
22 #define bempp_elementary_regular_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 true;
71  }
72 };
73 
74 } // namespace Bempp
75 
76 #endif
std::string label() const
Return the label of the operator.
Function space.
Definition: assembled_potential_operator.hpp:35
Base::TestKernelTrialIntegral TestKernelTrialIntegral
Type of the appropriate instantiation of Fiber::TestKernelTrialIntegral.
Definition: elementary_regular_integral_operator.hpp:57
Base::CollectionOfBasisTransformations CollectionOfBasisTransformations
Type of the appropriate instantiation of Fiber::CollectionOfBasisTransformations. ...
Definition: elementary_regular_integral_operator.hpp:50
Elementary integral boundary operator.
Definition: elementary_integral_operator.hpp:99
Base::CollectionOfShapesetTransformations CollectionOfShapesetTransformations
Type of the appropriate instantiation of Fiber::CollectionOfShapesetTransformations.
Definition: elementary_regular_integral_operator.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.
int symmetry() const
Return the symmetry properties of the operator.
ElementaryRegularIntegralOperator(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_regular_integral_operator.hpp:60
Base::BasisFunctionType BasisFunctionType
Definition: elementary_integral_operator.hpp:105
Base::CoordinateType CoordinateType
Definition: elementary_integral_operator.hpp:109
shared_ptr< const Space< BasisFunctionType > > dualToRange() const
Dual to range.
Base::ResultType ResultType
Definition: elementary_integral_operator.hpp:107
shared_ptr< const Space< BasisFunctionType > > domain() const
Domain.
Base::CollectionOfKernels CollectionOfKernels
Type of the appropriate instantiation of Fiber::CollectionOfKernels.
Definition: elementary_regular_integral_operator.hpp:55
Elementary boundary integral operator with weak form whose integrand is a regular function...
Definition: elementary_regular_integral_operator.hpp:35
Base::CoordinateType CoordinateType
Type used to represent coordinates.
Definition: elementary_regular_integral_operator.hpp:47
virtual bool isRegular() const
Return whether applying this operator to a regular function yields a regular integral.
Definition: elementary_regular_integral_operator.hpp:69
Base::KernelType KernelType
Type of the values of the (components of the) kernel functions.
Definition: elementary_regular_integral_operator.hpp:43
Base::ResultType ResultType
Type used to represent elements of the weak form of the operator.
Definition: elementary_regular_integral_operator.hpp:45
Base::BasisFunctionType BasisFunctionType
Type of the values of the (components of the) basis functions into which functions acted upon by the ...
Definition: elementary_regular_integral_operator.hpp:41