scratch_data (p),
currently_in_use (in_use)
{}
+
+ ScratchDataObject (const ScratchDataObject &o)
+ :
+ scratch_data (new ScratchData(*o.scratch_data)),
+ currently_in_use (false)
+ {}
};
/**
* This flag is used to know if graph coloring is used or not.
- */
+ */
bool color;
/**
template <typename Iterator,
typename ScratchData,
typename CopyData>
- class Worker : public tbb::filter
- {
- public:
+ class Worker : public tbb::filter
+ {
+ public:
/**
* Constructor. Takes a
* reference to the object on
Copier copier,
const ScratchData &sample_scratch_data,
const CopyData &sample_copy_data,
- const std_cxx1x::function<std::vector<types::global_dof_index> (const Iterator &)>
+ const std_cxx1x::function<std::vector<types::global_dof_index> (const Iterator &)>
&get_conflict_indices,
const unsigned int queue_length = 2*multithread_info.n_default_threads,
const unsigned int chunk_size = 8)