21 #ifndef bempp_elementary_integral_operator_base_hpp
22 #define bempp_elementary_integral_operator_base_hpp
24 #include "../common/common.hpp"
26 #include "abstract_boundary_operator.hpp"
28 #include "../common/shared_ptr.hpp"
37 template <
typename ResultType>
class LocalAssemblerForIntegralOperators;
38 template <
typename CoordinateType>
class RawGridGeometry;
39 template <
typename ValueType>
class Basis;
52 template <
typename BasisFunctionType_,
typename ResultType_>
74 const std::string&
label,
88 const shared_ptr<const GeometryFactory>& testGeometryFactory,
89 const shared_ptr<const GeometryFactory>& trialGeometryFactory,
94 const shared_ptr<const Fiber::OpenClHandler>& openClHandler,
96 VerbosityLevel::Level verbosityLevel,
97 bool cacheSingularIntegrals)
const;
118 shared_ptr<DiscreteBoundaryOperator<ResultType_> >
130 const shared_ptr<const GeometryFactory>& testGeometryFactory,
131 const shared_ptr<const GeometryFactory>& trialGeometryFactory,
136 const shared_ptr<const Fiber::OpenClHandler>& openClHandler,
138 VerbosityLevel::Level verbosityLevel,
139 bool cacheSingularIntegrals)
const = 0;
145 virtual shared_ptr<DiscreteBoundaryOperator<ResultType_> >
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
Parallel operation settings.
Definition: parallelization_options.hpp:32
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
virtual shared_ptr< DiscreteBoundaryOperator< ResultType_ > > assembleWeakFormInternalImpl2(LocalAssembler &assembler, const Context< BasisFunctionType_, ResultType_ > &options) const =0
Assemble the operator's weak form using a specified local assembler.
Assembly context.
Definition: context.hpp:30
Fiber::LocalAssemblerForIntegralOperators< ResultType > LocalAssembler
Type of the appropriate instantiation of Fiber::LocalAssemblerForOperators.
Definition: elementary_integral_operator_base.hpp:67
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
Base class of ElementaryIntegralOperator, containing functionality independent from KernelType...
Definition: elementary_integral_operator_base.hpp:53
shared_ptr< const Space< BasisFunctionType > > range() const
Range.
Definition: abstract_boundary_operator.cpp:135
Base::QuadratureStrategy QuadratureStrategy
Type of the appropriate instantiation of Fiber::QuadratureStrategy.
Definition: elementary_integral_operator_base.hpp:65
int symmetry() const
Return the symmetry properties of the operator.
Definition: abstract_boundary_operator.cpp:156
Collection of shape functions defined on a reference element.
Definition: default_local_assembler_for_operators_on_surfaces_utilities.hpp:34
ElementaryIntegralOperatorBase(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_integral_operator_base.cpp:35
Abstract (non-discretized) boundary operator.
Definition: abstract_boundary_operator.hpp:90
Abstract interface of a local assembler for integral operators.
Definition: local_assembler_for_integral_operators.hpp:48
~ElementaryIntegralOperatorBase()
Destructor.
Definition: elementary_integral_operator_base.cpp:47
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
std::auto_ptr< LocalAssembler > makeAssembler(const QuadratureStrategy &quadStrategy, const shared_ptr< const GeometryFactory > &testGeometryFactory, const shared_ptr< const GeometryFactory > &trialGeometryFactory, const shared_ptr< const Fiber::RawGridGeometry< CoordinateType > > &testRawGeometry, const shared_ptr< const Fiber::RawGridGeometry< CoordinateType > > &trialRawGeometry, const shared_ptr< const std::vector< const Fiber::Shapeset< BasisFunctionType > * > > &testShapesets, const shared_ptr< const std::vector< const Fiber::Shapeset< BasisFunctionType > * > > &trialShapesets, const shared_ptr< const Fiber::OpenClHandler > &openClHandler, const ParallelizationOptions ¶llelizationOptions, VerbosityLevel::Level verbosityLevel, bool cacheSingularIntegrals) const
Construct a local assembler suitable for this operator.
Definition: elementary_integral_operator_base.cpp:63
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
virtual std::auto_ptr< LocalAssembler > makeAssemblerImpl(const QuadratureStrategy &quadStrategy, const shared_ptr< const GeometryFactory > &testGeometryFactory, const shared_ptr< const GeometryFactory > &trialGeometryFactory, const shared_ptr< const Fiber::RawGridGeometry< CoordinateType > > &testRawGeometry, const shared_ptr< const Fiber::RawGridGeometry< CoordinateType > > &trialRawGeometry, const shared_ptr< const std::vector< const Fiber::Shapeset< BasisFunctionType > * > > &testShapesets, const shared_ptr< const std::vector< const Fiber::Shapeset< BasisFunctionType > * > > &trialShapesets, const shared_ptr< const Fiber::OpenClHandler > &openClHandler, const ParallelizationOptions ¶llelizationOptions, VerbosityLevel::Level verbosityLevel, bool cacheSingularIntegrals) const =0
Construct a local assembler suitable for this operator.
Definition: default_local_assembler_for_operators_on_surfaces_utilities.hpp:35
shared_ptr< DiscreteBoundaryOperator< ResultType_ > > assembleWeakFormInternal(LocalAssembler &assembler, const Context< BasisFunctionType, ResultType > &context) const
Assemble the operator's weak form using a specified local assembler.
Definition: elementary_integral_operator_base.cpp:54
Options determining how weak-form assembly is done.
Definition: assembly_options.hpp:43
Base::CoordinateType CoordinateType
Type used to represent coordinates.
Definition: elementary_integral_operator_base.hpp:63