Dear Bruno Thanks for clarifying that as I am using 9.0.0 version .I will look into it and update my version of it.
Regards Pushkar On Thu, Mar 25, 2021 at 6:24 PM Bruno Turcksin <[email protected]> wrote: > Pushkar, > > Which version of deal.II are you using? That function was introduced in > version 9.1. > > Here is the documentation to the constructor of the Bessel functio: > https://dealii.org/current/doxygen/deal.II/classFunctions_1_1Bessel1.html#ac102d190a35cfc17f1876c82bab41004 > Is the documentation unclear? > > Best, > > Bruno > > On Thursday, March 25, 2021 at 1:40:57 AM UTC-4 [email protected] > wrote: > >> Dear deal.II Community >> >> While trying to modify the BC to homogeneous Neumann on some of the faces >> , I followed the suggestion given in step-3 to iterate the faces and flag >> them using : >> >> for (auto &face : triangulation.active_face_iterators >> <https://www.dealii.org/current/doxygen/deal.II/group__CPP11.html#ga1bf11e9e1e5c2ff59a9c7b3f5a2bc5ad> >> ()) >> if (std::fabs >> <https://www.dealii.org/current/doxygen/deal.II/namespaceDifferentiation_1_1SD.html#a592560ee80355620422a86087f11b9df>(face->center()(1) >> - (-1.0)) < 1e >> <https://www.dealii.org/current/doxygen/deal.II/namespacePhysics_1_1Elasticity_1_1Kinematics.html#a9587d5229555daa5b1fa1ba2f8a40adb>-12 >> || >> std::fabs >> <https://www.dealii.org/current/doxygen/deal.II/namespaceDifferentiation_1_1SD.html#a592560ee80355620422a86087f11b9df>(face->center()(1) >> - (1.0)) < 1e >> <https://www.dealii.org/current/doxygen/deal.II/namespacePhysics_1_1Elasticity_1_1Kinematics.html#a9587d5229555daa5b1fa1ba2f8a40adb> >> -12) >> face->set_boundary_id(1); >> >> But this fails the program when added in a hyper_L mesh and the program >> exits with error as : >> /home/pushkar/examples/step-8/step-8.cc: In instantiation of ‘void >> Step8::ElasticProblem<dim>::run() [with int dim = 2]’: >> /home/pushkar/examples/step-8/step-8.cc:392:31: required from here >> /home/pushkar/examples/step-8/step-8.cc:359:45: error: ‘class >> dealii::Triangulation<2, 2>’ has no member named ‘active_face_iterators’; >> did you mean ‘active_face_iterator’? >> 359 | for (auto &face : >> triangulation.active_face_iterators()) >> | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ >> | active_face_iterator >> make[3]: *** [CMakeFiles/step-8.dir/build.make:82: >> CMakeFiles/step-8.dir/step-8.cc.o] Error 1 >> make[2]: *** [CMakeFiles/Makefile2:183: CMakeFiles/step-8.dir/all] Error 2 >> make[1]: *** [CMakeFiles/Makefile2:163: CMakeFiles/run.dir/rule] Error 2 >> make: *** [Makefile:163: run] Error 2 >> I have changed from active_face_iterators() to active_face_iterator() >> which has produced the following error as : >> /home/pushkar/examples/step-8/step-8.cc: In instantiation of ‘void >> Step8::ElasticProblem<dim>::run() [with int dim = 2]’: >> /home/pushkar/examples/step-8/step-8.cc:392:31: required from here >> /home/pushkar/examples/step-8/step-8.cc:359:45: error: invalid use of >> ‘dealii::Triangulation<2, 2>::active_face_iterator’ >> 359 | for (auto &face : >> triangulation.active_face_iterator()) >> | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ >> make[3]: *** [CMakeFiles/step-8.dir/build.make:82: >> CMakeFiles/step-8.dir/step-8.cc.o] Error 1 >> make[2]: *** [CMakeFiles/Makefile2:183: CMakeFiles/step-8.dir/all] Error 2 >> make[1]: *** [CMakeFiles/Makefile2:163: CMakeFiles/run.dir/rule] Error 2 >> make: *** [Makefile:163: run] Error 2 >> Any help in this context will be beneficial . >> >> Moreover, I wish to employ bessel function for dirichlet BC is step-8 >> which is a vector valued problem but I couldnt find the relevent >> constructor in the documentation. >> >> Regards >> Pushkar >> >> -- > 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 a topic in the > Google Groups "deal.II User Group" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/dealii/tdCofuuAdNA/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/dealii/82c5807b-a98c-49ef-9a1e-8a6e9a8856aan%40googlegroups.com > <https://groups.google.com/d/msgid/dealii/82c5807b-a98c-49ef-9a1e-8a6e9a8856aan%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/CAKWKLQJ3h8FTXkdG5g%3D%2BiHyWeLP_9axEyxjvvEZtQuQzs06PgQ%40mail.gmail.com.
