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);
+
/**
* Same function as above, but
* accepts more than one solution
std::vector<Vector<float>*> &errors,
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 = 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);
/**
quadrature(* static_cast <const Quadrature<0> *> (0)),
neumann_bc(* static_cast <const FunctionMap<1>::type *> (0)),
solutions(* static_cast <const std::vector<const Vector<double>*> *> (0)),
+ n_threads (0),
+ n_solution_vectors (0),
face_integrals (* static_cast<FaceIntegrals*> (0))
{
Assert (false, ExcInternalError());
Vector<float> &error,
const std::vector<bool> &component_mask,
const Function<dim> *coefficients,
- unsigned int n_threads)
+ const unsigned int n_threads)
{
// just pass on to the other function
const std::vector<const Vector<double>*> solutions (1, &solution);
Vector<float> &error,
const std::vector<bool> &component_mask,
const Function<dim> *coefficients,
- unsigned int n_threads)
+ const unsigned int n_threads)
{
Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
static const MappingQ1<dim> mapping;
std::vector<Vector<float>*> &errors,
const std::vector<bool> &component_mask,
const Function<dim> *coefficients,
- unsigned int n_threads)
+ const unsigned int n_threads)
{
Assert (DEAL_II_COMPAT_MAPPING, ExcCompatibility("mapping"));
static const MappingQ1<dim> mapping;