22 #ifndef bempp_null_operator_hpp
23 #define bempp_null_operator_hpp
25 #include "../common/common.hpp"
27 #include "abstract_boundary_operator.hpp"
29 #include "abstract_boundary_operator_id.hpp"
35 template <
typename ResultType>
class LocalAssemblerForOperators;
44 template <
typename BasisFunctionType,
typename ResultType>
class BoundaryOperator;
45 template <
typename BasisFunctionType,
typename ResultType>
class NullOperator;
48 template <
typename BasisFunctionType,
typename ResultType>
53 virtual size_t hash()
const;
73 template <
typename BasisFunctionType_,
typename ResultType_>
109 const std::string&
label =
"",
127 virtual shared_ptr<DiscreteBoundaryOperator<ResultType_> >
131 shared_ptr<DiscreteBoundaryOperator<ResultType_> >
132 reallyAssembleWeakForm()
const;
135 shared_ptr<const AbstractBoundaryOperatorId> m_id;
162 template <
typename BasisFunctionType,
typename ResultType>
168 const std::string& label =
"",
169 int symmetry = AUTO_SYMMETRY);
virtual shared_ptr< DiscreteBoundaryOperator< ResultType_ > > assembleWeakFormImpl(const Context< BasisFunctionType, ResultType > &context) const
Assemble and return the operator's weak form.
Definition: null_operator.cpp:117
Definition: null_operator.hpp:49
std::string label() const
Return the label of the operator.
Definition: abstract_boundary_operator.cpp:149
Base class for quadrature strategies.
Definition: quadrature_strategy.hpp:242
Function space.
Definition: assembled_potential_operator.hpp:35
virtual bool isLocal() const
Return true.
Definition: null_operator.cpp:110
#define BEMPP_DEPRECATED
Macro used to mark deprecated functions or classes.
Definition: deprecated.hpp:41
virtual BEMPP_DEPRECATED shared_ptr< const AbstractBoundaryOperatorId > id() const
Return the identifier of this operator.
Definition: null_operator.cpp:104
Base::QuadratureStrategy QuadratureStrategy
Type of the appropriate instantiation of Fiber::QuadratureStrategy.
Definition: null_operator.hpp:86
Assembly context.
Definition: context.hpp:30
Base::CoordinateType CoordinateType
Type used to represent coordinates.
Definition: null_operator.hpp:84
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
Base::BasisFunctionType BasisFunctionType
Type of the values of the (components of the) basis functions into which functions acted upon by the ...
Definition: null_operator.hpp:80
int symmetry() const
Return the symmetry properties of the operator.
Definition: abstract_boundary_operator.cpp:156
NullOperator(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=AUTO_SYMMETRY)
Constructor.
Definition: null_operator.cpp:80
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
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
ResultType_ ResultType
Type used to represent elements of the weak form of the operator.
Definition: abstract_boundary_operator.hpp:97
Null operator.
Definition: null_operator.hpp:74
Base::ResultType ResultType
Type used to represent elements of the weak form of the operator.
Definition: null_operator.hpp:82
Base class for identifiers of an abstract boundary operator.
Definition: abstract_boundary_operator_id.hpp:21