I see. Then I will output the local matrices and check the overall structure accordingly. I wrote a simple function to output the cell matrix. Maybe someone as noob as me, may find it useful :)
template<int dim> void SolidMechanics<dim>::print_matrix (FullMatrix<double>& matrix, char* name) { std::cout << std::endl << name << std::endl; for (unsigned int i = 0; i < dim; ++i) { for (unsigned int j = 0; j < dim; ++j) std::cout << matrix(i,j) << " "; std::cout << std::endl; } std::cout << std::endl; } Thank you all. Kind regards, Seyed Ali Mohseni -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.