[deal.II] Re: About applying periodic boundary condition on the same mesh by different methods

2017-06-26 Thread Daniel Arndt
Chuyi, I still have a question about how to apply periodic boundary conditons: Is > there any possibility now to apply PBC with a value 1.0 in x_component and > y_component while -1.0 in z_component? I've read an older version of > step-45 before (like 8.3.0), which showed we could change that

[deal.II] Re: About applying periodic boundary condition on the same mesh by different methods

2017-06-26 Thread Chuyi Duan
Hi Daniel, I still have a question about how to apply periodic boundary conditons: Is there any possibility now to apply PBC with a value 1.0 in x_component and y_component while -1.0 in z_component? I've read an older version of step-45 before (like 8.3.0), which showed we could change that

[deal.II] Re: About applying periodic boundary condition on the same mesh by different methods

2017-06-13 Thread Chuyi Duan
Hello Daniel, I think i've found where the problem was. It's because I used set_boundary_id with active_cell_iterator after global_refinement. But I found in source codes of collect_periodic_faces function it's just cell_iterator that has been used. I've instead called set_boundary_id at

[deal.II] Re: About applying periodic boundary condition on the same mesh by different methods

2017-06-01 Thread Daniel Arndt
Chuyi, > i was trying to use Dealii to solve a 3-dimensional elastic-plastic > question on a cubic by applying periodic boundary condition like in step-45 > (v. 8.5.0). > std::vector cell_iterator> > periodicity_vector; >