Arvind, Wolfgang,
/home/arvind/sim/workspace/deal.II.6.2.1/trunk/lac/include/lac/constraint_m
atrix.templates.h:1517: error: no matching function for call to
‘dealii::PETScWrappers::SparseMatrix::add(const unsigned int&, const
unsigned int&, unsigned int*, double*, bool, bool)’
This comes from the fact that the function has an array of doubles that it
wants to write into the matrix, but the matrix wants an array of PetscScalars
as the third to last element. Can you try, in the function in
constraint_matrix.templates.h in which this errors happens, to declare
the 'vals' array in line 1332 as
std::vector<typename MatrixType::value_type> vals (...);
It will require a few changes from 'double*' to
typename MatrixType::value_type *
later on as well, I suppose.
I just did some of these changes in the latest svn revision in order
not to force Arvin to understand all the internals that are going on
in the distribute_local_to_global functions. I can't check this with
PETSc right now. Arvin, can you please try the new code? If I missed
something, it should be easier for you to track that down now...
Best,
Martin
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii