Hello Toby, I have recently modified the ConstraintMatrix::distribute_local_to_global() function. (see My last change was at 2011-11-02 14:45:18. When did you get your error messages?
Best, Joerg ________________________________________ Von: [email protected] [[email protected]] im Auftrag von Toby D. Young [[email protected]] Gesendet: Mittwoch, 2. November 2011 11:17 An: [email protected] Betreff: [deal.II] constraint_matrix with PETScSparseMatrix bug Greetings, After a recent update I get this error from step-17, step-36... (and 98% of my code that uses deal.ii): In file included from step-17.cc:22:0: /home/tyoung/research.dev/deal.II/include/deal.II/lac/constraint_matrix.h: In member function 'void dealii::ConstraintMatrix::distribute_local_to_global(const dealii::FullMatrix<double>&, const std::vector<unsigned int>&, MatrixType&) const [with MatrixType = dealii::PETScWrappers::MPI::SparseMatrix]': step-17.cc:665:4: instantiated from 'void Step17::ElasticProblem<dim>::assemble_system() [with int dim = 2]' step-17.cc:1202:2: instantiated from 'void Step17::ElasticProblem<dim>::run() [with int dim = 2]' step-17.cc:1251:30: instantiated from here /home/tyoung/research.dev/deal.II/include/deal.II/lac/constraint_matrix.h:2054:3: error: no matching function for call to 'dealii::ConstraintMatrix::distribute_local_to_global(const dealii::FullMatrix<double>&, dealii::Vector<double>&, const std::vector<unsigned int>&, dealii::PETScWrappers::MPI::SparseMatrix&, dealii::Vector<double>&, dealii::internal::bool2type<false>) const' make: *** [step-17.g.o] Error 1 I got lost tracking down the origin of this one; somone else should know this better. Is PETScSparseMatrix not defined as a MatrixType? PETScVector is unaffected by the anological routine. Thanks. Best, Toby -- Toby D. Young Assistant Professor Philosophy & Physics Polish Academy of Sciences www: http://www.ippt.gov.pl/~tyoung skype: stenografia _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
