[deal.II] Re: How to change material ids during iteration.

2016-11-23 Thread hanks0227
Thanks for your reply. you are right, I shouldn't have been in a hurry to show some results to my boss... I should have asked, after looking through several examples especially step49 that includes GridTools::laplace_transform. I guess, using GridTools::laplace_transform, I can solve my proble

[deal.II] Re: How to change material ids during iteration.

2016-11-21 Thread Jean-Paul Pelteret
> > First of all, Thank you very much for your kind reply. > You're welcome :-) > So, is it better for me to study step-28 than step-18? > > Or, both examples would help for me to solve my problem(change of boundary > between two different materials during iteration)? > I'm not 100% certain

[deal.II] Re: How to change material ids during iteration.

2016-11-20 Thread hanks0227
First of all, Thank you very much for your kind reply. > you mean physically move the triangulation to change the spatial position > of the interface between two different materials, then this is also > possible. Look at step-18 >

[deal.II] Re: How to change material ids during iteration.

2016-11-19 Thread Jean-Paul Pelteret
Dear Kyusik, Cell iterators have the function set_material_id , so you can change the material ID of any cell at any time. If by change the boundary of 2 materials you mean physically