Dear Kyusik, > /user2/hanks318/dealii/dealii_pre/examples/step-20/step-20.cc:575: error: > no matching function for call to > ‘project_boundary_values(dealii::DoFHandler<2, 2>&, dealii::ZeroFunction<2, > double>, dealii::QGauss<1>&, std::map<unsigned int, double, > std::less<unsigned int>, std::allocator<std::pair<const unsigned int, > double> > >&, dealii::ComponentMask&)’ >
I think that the problem is that for the VectorTools:: project_boundary_values <https://www.dealii.org/8.4.1/doxygen/deal.II/namespaceVectorTools.html#a0c684536027758309d42a546d8e6ca48> function the argument that specifies the function to be projected is not a Function itself, but rather a FunctionMap <https://www.dealii.org/8.4.1/doxygen/deal.II/structFunctionMap.html>. You'll notice that this is necessary because you no longer specify the boundary id for the Dirichlet Function to be applied to as a parameter to the projection function. I hope that this helps you solve the issue. Regards, Jean-Paul -- 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.
