I am trying to incorporate the extensions provided in step-3, particularly 
the one where the boundary ID is changed to 1 right after development of 
the grid using GridGenerator. 

triangulation.begin_active 
<https://dealii.org/current/doxygen/deal.II/classTriangulation.html#a9388e821c728eab8d0e699d0ca112482>
()->face(0)->set_boundary_id(1);

However, I am getting the following error 
 error: ‘class dealii::TriaAccessor<1, 2, 2>’ has no member named 
‘set_boundary_id’
   triangulation.begin_active()->face(0)->set_boundary_id(1);

I was also trying a problem on my own where I wanted to give the boundaries 
of a square grid different Dirichlet boundary conditions. I planned on 
doing this by setting different boundary Ids on different edges as shown in 
step-3. I encountered the same error over there too. 

Are there other ways by which I can set boundary ids or can give different 
Dirichlet BC's to different edges? 
Thank you 

-- 
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/37f4c10b-f9e2-4954-abc1-208d0f0e3125%40googlegroups.com.

Reply via email to