distribute_local_to_global(
VectorType & dst,
const unsigned int first_index = 0,
- const std::bitset<VectorizedArray<Number>::n_array_elements> mask =
+ const std::bitset<VectorizedArray<Number>::n_array_elements> &mask =
std::bitset<VectorizedArray<Number>::n_array_elements>().flip()) const;
/**
set_dof_values(
VectorType & dst,
const unsigned int first_index = 0,
- const std::bitset<VectorizedArray<Number>::n_array_elements> mask =
+ const std::bitset<VectorizedArray<Number>::n_array_elements> &mask =
std::bitset<VectorizedArray<Number>::n_array_elements>().flip()) const;
//@}
template <typename VectorType, typename VectorOperation>
void
read_write_operation(
- const VectorOperation & operation,
- VectorType * vectors[],
- const std::bitset<VectorizedArray<Number>::n_array_elements> mask,
+ const VectorOperation & operation,
+ VectorType * vectors[],
+ const std::bitset<VectorizedArray<Number>::n_array_elements> &mask,
const bool apply_constraints = true) const;
/**
template <typename VectorType, typename VectorOperation>
void
read_write_operation_contiguous(
- const VectorOperation & operation,
- VectorType * vectors[],
- const std::bitset<VectorizedArray<Number>::n_array_elements> mask) const;
+ const VectorOperation & operation,
+ VectorType * vectors[],
+ const std::bitset<VectorizedArray<Number>::n_array_elements> &mask) const;
/**
* A unified function to read from and write into vectors based on the given
template <typename VectorType, typename VectorOperation>
inline void
FEEvaluationBase<dim, n_components_, Number, is_face>::read_write_operation(
- const VectorOperation & operation,
- VectorType * src[],
- const std::bitset<VectorizedArray<Number>::n_array_elements> mask,
+ const VectorOperation & operation,
+ VectorType * src[],
+ const std::bitset<VectorizedArray<Number>::n_array_elements> &mask,
const bool apply_constraints) const
{
// Case 1: No MatrixFree object given, simple case because we do not need to
inline void
FEEvaluationBase<dim, n_components_, Number, is_face>::
read_write_operation_contiguous(
- const VectorOperation & operation,
- VectorType * src[],
- const std::bitset<VectorizedArray<Number>::n_array_elements> mask) const
+ const VectorOperation & operation,
+ VectorType * src[],
+ const std::bitset<VectorizedArray<Number>::n_array_elements> &mask) const
{
// This functions processes the functions read_dof_values,
// distribute_local_to_global, and set_dof_values with the same code for
inline void
FEEvaluationBase<dim, n_components_, Number, is_face>::
distribute_local_to_global(
- VectorType & dst,
- const unsigned int first_index,
- const std::bitset<VectorizedArray<Number>::n_array_elements> mask) const
+ VectorType & dst,
+ const unsigned int first_index,
+ const std::bitset<VectorizedArray<Number>::n_array_elements> &mask) const
{
Assert(dof_values_initialized == true,
internal::ExcAccessToUninitializedField());
template <typename VectorType>
inline void
FEEvaluationBase<dim, n_components_, Number, is_face>::set_dof_values(
- VectorType & dst,
- const unsigned int first_index,
- const std::bitset<VectorizedArray<Number>::n_array_elements> mask) const
+ VectorType & dst,
+ const unsigned int first_index,
+ const std::bitset<VectorizedArray<Number>::n_array_elements> &mask) const
{
Assert(dof_values_initialized == true,
internal::ExcAccessToUninitializedField());