21 #ifndef fiber_default_local_assembler_for_grid_functions_on_surfaces_hpp
22 #define fiber_default_local_assembler_for_grid_functions_on_surfaces_hpp
24 #include "../common/common.hpp"
26 #include "local_assembler_for_grid_functions.hpp"
28 #include "quadrature_options.hpp"
29 #include "test_function_integrator.hpp"
30 #include "scalar_traits.hpp"
32 #include <tbb/concurrent_unordered_map.h>
41 template <
typename CoordinateType>
class CollectionOfShapesetTransformations;
42 template <
typename ValueType>
class Function;
43 template <
typename CoordinateType>
class RawGridGeometry;
45 template <
typename CoordinateType>
class QuadratureDescriptorSelectorForGridFunctions;
46 template <
typename CoordinateType>
class SingleQuadratureRuleFamily;
49 template <
typename BasisFunctionType,
typename UserFunctionType,
50 typename ResultType,
typename GeometryFactory>
58 const shared_ptr<const GeometryFactory>& geometryFactory,
60 const shared_ptr<
const std::vector<
63 CoordinateType> >& testTransformations,
65 const shared_ptr<const OpenClHandler>& openClHandler,
67 CoordinateType> >& quadDescSelector,
69 CoordinateType> >& quadRuleFamily);
74 const std::vector<int>& elementIndices,
75 std::vector<arma::Col<ResultType> >& result);
80 const Integrator& selectIntegrator(
int elementIndex);
89 shared_ptr<const GeometryFactory> m_geometryFactory;
90 shared_ptr<const RawGridGeometry<CoordinateType> > m_rawGeometry;
91 shared_ptr<const std::vector<const Shapeset<BasisFunctionType>*> > m_testShapesets;
92 shared_ptr<const CollectionOfShapesetTransformations<CoordinateType> > m_testTransformations;
93 shared_ptr<const Function<UserFunctionType> > m_function;
94 shared_ptr<const OpenClHandler> m_openClHandler;
95 shared_ptr<const QuadratureDescriptorSelectorForGridFunctions<CoordinateType> > m_quadDescSelector;
96 shared_ptr<const SingleQuadratureRuleFamily<CoordinateType> > m_quadRuleFamily;
98 IntegratorMap m_testFunctionIntegrators;
103 #include "default_local_assembler_for_grid_functions_on_surfaces_imp.hpp"
Traits of scalar types.
Definition: scalar_traits.hpp:40
Integration of products of test functions and arbitrary functions over elements.
Definition: test_function_integrator.hpp:41
Definition: default_local_assembler_for_grid_functions_on_surfaces.hpp:51
Collection of shape functions defined on a reference element.
Definition: default_local_assembler_for_operators_on_surfaces_utilities.hpp:34
Quadrature descriptor selector used during the discretization of functions.
Definition: quadrature_descriptor_selector_factory.hpp:36
Definition: default_local_assembler_for_operators_on_surfaces_utilities.hpp:35
Family of quadrature rules over single elements.
Definition: numerical_quadrature_strategy.hpp:35
Local assembler for grid functions.
Definition: local_assembler_for_grid_functions.hpp:41
virtual void evaluateLocalWeakForms(const std::vector< int > &elementIndices, std::vector< arma::Col< ResultType > > &result)
Assemble local weak forms of a source term on specified elements.
Definition: default_local_assembler_for_grid_functions_on_surfaces_imp.hpp:80
Parameters of a quadrature rule used in the evaluation of integrals over single elements.
Definition: single_quadrature_descriptor.hpp:34