21 #ifndef bempp_component_lists_cache_hpp
22 #define bempp_component_lists_cache_hpp
24 #include "../common/common.hpp"
25 #include "../common/shared_ptr.hpp"
26 #include "../common/types.hpp"
28 #include <tbb/concurrent_unordered_map.h>
36 template <
typename BasisFunctionType>
class Space;
45 std::vector<int> pointIndices;
46 std::vector<std::vector<int> > componentIndices;
47 std::vector<std::vector<int> > arrayIndices;
62 shared_ptr<const ComponentLists>
get(
63 int start,
int indexCount);
69 std::vector<int>& pointIndices,
70 std::vector<std::vector<int> >& componentIndices,
71 std::vector<std::vector<int> >& arrayIndices)
const;
75 std::vector<int>& pointIndices,
76 std::vector<std::vector<int> >& componentIndices,
77 std::vector<std::vector<int> >& arrayIndices)
const;
81 const std::vector<unsigned int>& m_p2o;
84 typedef tbb::concurrent_unordered_map<std::pair<int, int>,
86 ComponentListsMap m_map;
Data used by PotentialOperatorAcaAssemblyHelper to convert between H-matrix indices, point and component indices.
Definition: component_lists_cache.hpp:43
Cache of ComponentLists objects.
Definition: component_lists_cache.hpp:53