BEM++  2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
adjoint_abstract_boundary_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_adjoint_abstract_boundary_operator_hpp
22 #define bempp_adjoint_abstract_boundary_operator_hpp
23 
24 #include "abstract_boundary_operator.hpp"
25 #include "boundary_operator.hpp"
26 
27 namespace Bempp
28 {
29 
60 template <typename BasisFunctionType_, typename ResultType_>
62  public AbstractBoundaryOperator<BasisFunctionType_, ResultType_>
63 {
65 public:
69  typedef typename Base::ResultType ResultType;
74 
87  int symmetry = AUTO_SYMMETRY);
88 
97  const shared_ptr<const Space<BasisFunctionType> >& range,
98  int symmetry = AUTO_SYMMETRY);
99 
100 
101  virtual bool isLocal() const;
102 
103 protected:
104  virtual shared_ptr<DiscreteBoundaryOperator<ResultType_> >
106  const Context<BasisFunctionType, ResultType>& context) const;
107 
108 private:
110 };
111 
112 } // namespace Bempp
113 
114 #endif
Base class for quadrature strategies.
Definition: quadrature_strategy.hpp:242
Base::QuadratureStrategy QuadratureStrategy
Type of the appropriate instantiation of Fiber::QuadratureStrategy.
Definition: adjoint_abstract_boundary_operator.hpp:73
Function space.
Definition: assembled_potential_operator.hpp:35
Assembly context.
Definition: context.hpp:30
BasisFunctionType_ BasisFunctionType
Type of the values of the (components of the) basis functions into which functions acted upon by the ...
Definition: abstract_boundary_operator.hpp:95
shared_ptr< const Space< BasisFunctionType > > range() const
Range.
Definition: abstract_boundary_operator.cpp:135
int symmetry() const
Return the symmetry properties of the operator.
Definition: abstract_boundary_operator.cpp:156
Base::ResultType ResultType
Type used to represent elements of the weak form of the operator.
Definition: adjoint_abstract_boundary_operator.hpp:69
Operator acting on functions defined on a surface.
Definition: boundary_operator.hpp:63
Abstract (non-discretized) boundary operator.
Definition: abstract_boundary_operator.hpp:90
ScalarTraits< ResultType >::RealType CoordinateType
Type used to represent coordinates.
Definition: abstract_boundary_operator.hpp:99
AdjointAbstractBoundaryOperator(const BoundaryOperator< BasisFunctionType, ResultType > &boundaryOp, int symmetry=AUTO_SYMMETRY)
Constructor.
Definition: adjoint_abstract_boundary_operator.cpp:38
ResultType_ ResultType
Type used to represent elements of the weak form of the operator.
Definition: abstract_boundary_operator.hpp:97
Base::BasisFunctionType BasisFunctionType
Type of the values of the (components of the) basis functions into which functions acted upon by the ...
Definition: adjoint_abstract_boundary_operator.hpp:67
Adjoint abstract boundary operator.
Definition: adjoint_abstract_boundary_operator.hpp:61
virtual shared_ptr< DiscreteBoundaryOperator< ResultType_ > > assembleWeakFormImpl(const Context< BasisFunctionType, ResultType > &context) const
Assemble and return the operator&#39;s weak form.
Definition: adjoint_abstract_boundary_operator.cpp:99
Base::CoordinateType CoordinateType
Type used to represent coordinates.
Definition: adjoint_abstract_boundary_operator.hpp:71
virtual bool isLocal() const
Return whether this operator is local.
Definition: adjoint_abstract_boundary_operator.cpp:91