template <typename U>
static decltype(std::declval<U>().initialize_dof_vector(
- LinearAlgebra::distributed::Vector<double>()))
+ std::declval<LinearAlgebra::distributed::Vector<Number> &>()))
detect(const U &);
public:
MatrixType>::type * = nullptr>
static void
reinit_domain_vector(MatrixType & mat,
- LinearAlgebra::distributed::Vector<double> &vec,
+ LinearAlgebra::distributed::Vector<Number> &vec,
bool /*omit_zeroing_entries*/)
{
vec.reinit(mat.locally_owned_domain_indices(),
MatrixType>::type * = nullptr>
static void
reinit_domain_vector(MatrixType & mat,
- LinearAlgebra::distributed::Vector<double> &vec,
+ LinearAlgebra::distributed::Vector<Number> &vec,
bool omit_zeroing_entries)
{
mat.initialize_dof_vector(vec);
MatrixType>::type * = nullptr>
static void
reinit_range_vector(MatrixType & mat,
- LinearAlgebra::distributed::Vector<double> &vec,
+ LinearAlgebra::distributed::Vector<Number> &vec,
bool /*omit_zeroing_entries*/)
{
vec.reinit(mat.locally_owned_range_indices(),
MatrixType>::type * = nullptr>
static void
reinit_range_vector(MatrixType & mat,
- LinearAlgebra::distributed::Vector<double> &vec,
+ LinearAlgebra::distributed::Vector<Number> &vec,
bool omit_zeroing_entries)
{
mat.initialize_dof_vector(vec);