template threaded_vmult<OutVector,InVector>);
Threads::ThreadGroup<> threads;
for (unsigned int i=0; i<n_threads; ++i)
- threads += Threads::spawn (*this, comp) (dst, src,
+ threads += Threads::spawn<void, SparseMatrix<number> > (*this, comp) (dst, src,
n_rows * i / n_threads,
n_rows * (i+1) / n_threads);
threads.join_all();
template threaded_matrix_norm_square<somenumber>);
Threads::ThreadGroup<> threads;
for (unsigned int i=0; i<n_threads; ++i)
- threads += Threads::spawn (*this, comp)(v,
+ threads += Threads::spawn<void, SparseMatrix<number> > (*this, comp)(v,
n_rows * i / n_threads,
n_rows * (i+1) / n_threads,
&partial_sums[i]);
template threaded_matrix_scalar_product<somenumber>);
Threads::ThreadGroup<> threads;
for (unsigned int i=0; i<n_threads; ++i)
- threads += Threads::spawn (*this, comp)(u, v,
+ threads += Threads::spawn<void, SparseMatrix<number> > (*this, comp)(u, v,
n_rows * i / n_threads,
n_rows * (i+1) / n_threads,
&partial_sums[i]);
template threaded_residual<somenumber>;
Threads::ThreadGroup<> threads;
for (unsigned int i=0; i<n_threads; ++i)
- threads += Threads::spawn (*this, comp_residual)(dst, u, b,
+ threads += Threads::spawn<void, SparseMatrix<number> > (*this, comp_residual)(dst, u, b,
std::pair<unsigned int,unsigned int>
(n_rows * i / n_threads,
n_rows * (i+1) / n_threads),
= &SparseVanka<number>::template apply_preconditioner<number2>;
Threads::ThreadGroup<> threads;
for (unsigned int block=0; block<n_blocks; ++block)
- threads += Threads::spawn(*static_cast<const SparseVanka<number>*>(this), comp)
+ threads += Threads::spawn<void,SparseVanka<number> >(*static_cast<const SparseVanka<number>*>(this), comp)
(dst, src,&dof_masks[block]);
threads.join_all ();
}