Am Dienstag, 2. April 2019 01:48:41 UTC+2 schrieb Daniel Arndt: > > Alex, > > Hey I just added my changes to a github branch ( >> https://github.com/gabpeters/dealii/tree/sparsity ) >> I changed the make_sparsity_pattern(dof_row,dor_col,sparsity) function >> and also changed the header in the >> dof_tools.h file and the signature in the dof_tools_sparsity.inst.in >> file. >> But still I get the following error, when I compile my code: >> >> undefined reference to `void >> dealii::DoFTools::make_sparsity_pattern<dealii::DoFHandler<3, 3>, >> >> dealii::DynamicSparsityPattern>(dealii::DoFHandler<3, 3> const&, >> dealii::DoFHandler<3, 3> >> const&, >> dealii::DynamicSparsityPattern&, dealii::ConstraintMatrix const&, bool)' >> >> Did I still forget to change any reference? >> > > Looking at the GitHub branch it seems that you copied a lot of files from > an older deal.II version (you probably modified) to a recent developer > version. That is not going to work. > It's best if you make modifications on top off the master branch. > Otherwise, it is also fine to make the modifications to an older release. > We can certainly sort out how to convert such a patch to one to the recent > master. > > Best, > Daniel >
Hey, you are right, that github branch doesnt look very serious. Now I cloned a more recent version, and added the Constraintsmatrix and changed the instantiations. https://github.com/gabpeters/dealii/tree/sparse But somehow it still doesn't work. I still get the error "undefined reference..." I hope I dont bother you too much with all these questions. Best Gabriel -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
