Vector<float> &error,
const std::vector<bool> &component_mask = std::vector<bool>(),
const Function<dim> *coefficients = 0,
- unsigned int n_threads = multithread_info.n_default_threads);
+ const unsigned int n_threads = multithread_info.n_default_threads);
/**
* Calls the @p{estimate}
std::vector<Vector<float>*> &errors,
const std::vector<bool> &component_mask,
const Function<dim> *coefficients,
- unsigned int n_threads)
+ const unsigned int n_threads_)
{
// sanity checks
Assert (solutions.size() > 0,
// if NOT multithreaded, set n_threads to one
+ unsigned int n_threads = n_threads_;
#ifndef DEAL_II_USE_MT
n_threads = 1;
#endif
const FunctionMap<1>::type&,
Vector<double> &,
std::vector<unsigned int> &,
- const Function<1> *)
+ const Function<1> * const)
{
// what would that be in 1d? the
// identity matrix on tehe boundary
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams