* double and float. The definition of a vectorized array does not
* initialize the data field but rather leaves it undefined, as is the case
* for double and float. However, when calling something like
- * VectorType<double> a = VectorType<double>(), it sets all numbers in this
+ * VectorizedArray<double> a = VectorizedArray<double>(), it sets all numbers in this
* field to zero. In other words, this class is a plain old data (POD) type
* which has an equivalent C representation and can e.g. be safely copied
* with std::memcpy. This POD layout is also necessary for ensuring correct
// write access to distributed MPI vectors
- // that have operator [] to access data in
+ // that have a local_element(uint) method to access data in
// local index space, which is what we use in
// DoFInfo and hence in read_dof_values etc.
template <typename Number>
// read access to distributed MPI vectors that
- // have operator [] to access data in local
+ // have a local_element(uint) method to access data in local
// index space, which is what we use in
// DoFInfo and hence in read_dof_values etc.
template <typename Number>
// same as stored in MatrixFree
template <typename VectorType>
inline
- void check_vector_compatibility (const VectorType &vec,
- const internal::MatrixFreeFunctions::DoFInfo &dof_info)
+ void check_vector_compatibility (const VectorType &vec,
+ const internal::MatrixFreeFunctions::DoFInfo &dof_info)
{
AssertDimension (vec.size(),
dof_info.vector_partitioner->size());
template <typename Number>
inline
- void check_vector_compatibility (const parallel::distributed::Vector<Number> &vec,
- const internal::MatrixFreeFunctions::DoFInfo &dof_info)
+ void check_vector_compatibility (const parallel::distributed::Vector<Number> &vec,
+ const internal::MatrixFreeFunctions::DoFInfo &dof_info)
{
Assert (vec.partitioners_are_compatible(*dof_info.vector_partitioner),
ExcMessage("The parallel layout of the given vector is not "