There are some mistake about the function ”GridTools::collect_periodic_faces()"

35 views
Skip to first unread message

Xue Yu

unread,
Apr 17, 2024, 7:21:17 AM4/17/24
to deal.II User Group
Dear deal.ii community,

first of all, a big thank you for all the effort going into this
software.
With reference to step-45, I am solving the homogenization problem with dealii software. 
After drawing a grid for a 3D cuboid cell, a periodic boundary condition with equal displacement of opposite sides is created. My version of dealii is 9.4.0
But i meet an error while make run as following:
error: ‘collect_periodic_faces’ is not a member of ‘dealii::GridTools
And my code is attached. I've already added the corresponding header file, so why do I still have this problem? Could you please give me a debug direction?

test_hom.cc

Daniel Arndt

unread,
Apr 17, 2024, 8:44:07 AM4/17/24
to dea...@googlegroups.com
You will have to include

#include <deal.II/grid/grid_out.h>

Best,
Daniel
> --
> 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+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/4ad2f5e1-1015-44fb-8309-cf10166e1a55n%40googlegroups.com.

Daniel Arndt

unread,
Apr 17, 2024, 8:44:37 AM4/17/24
to dea...@googlegroups.com
I meant

#include <deal.II/grid/grid_tools.h>

Best,
Daniel

Daniel Arndt

8:43 AM (0 minutes ago)


to dealii
Reply all
Reply to author
Forward
0 new messages