</p>
<ol>
+ <li> Changed: ConstraintMatrix::distribute_local_to_global() now requires
+ matching data types. This is done to correctly handle complex-valued case.
+ <br>
+ (Denis Davydov, 2016/02/22)
+ </li>
</ol>
VectorType &condensed) const;\
template void ConstraintMatrix::condense<VectorType >(VectorType &vec) const;\
template void ConstraintMatrix:: \
- distribute_local_to_global<VectorType > (const Vector<double> &, \
+ distribute_local_to_global<VectorType > (const Vector<VectorType::value_type> &, \
const std::vector<ConstraintMatrix::size_type> &, \
VectorType &, \
- const FullMatrix<double> &) const
+ const FullMatrix<VectorType::value_type> &) const
+
#define PARALLEL_VECTOR_FUNCTIONS(VectorType) \
template void ConstraintMatrix:: \
- distribute_local_to_global<VectorType > (const Vector<double> &, \
+ distribute_local_to_global<VectorType > (const Vector<VectorType::value_type> &, \
const std::vector<ConstraintMatrix::size_type> &, \
VectorType &, \
- const FullMatrix<double> &) const
+ const FullMatrix<VectorType::value_type> &) const
#ifdef DEAL_II_WITH_PETSC
template void ConstraintMatrix::condense<V >(const V&, V&) const;
template void ConstraintMatrix::condense<V >(V&vec) const;
template void ConstraintMatrix::distribute_local_to_global<V > (
- const Vector<double>&, const std::vector<types::global_dof_index> &, V&, const FullMatrix<double>&) const;
+ const Vector<V::value_type>&, const std::vector<types::global_dof_index> &, V&, const FullMatrix<V::value_type>&) const;
template void ConstraintMatrix::set_zero<V >(V&) const;
}
{
template void ConstraintMatrix::distribute<Vec>(Vec &) const;
}
+
+for (S: COMPLEX_SCALARS; T : DEAL_II_VEC_TEMPLATES)
+ {
+ template void ConstraintMatrix::distribute<T<S> >(T<S> &) const;
+ }
+