Re: [deal.II] Trouble using VectorTools::interpolate_based_on_material_id

2018-12-12 Thread Hamed Babaei
Dear Wolfgang, In the meanwhile that the VectorTools::interpolate_based_on_material_id function is taking care of, I just did the same through the following code to change my solution vector in the specific regions with designated material_id, which may be used by those who have the same issue

Re: [deal.II] Trouble using VectorTools::interpolate_based_on_material_id

2018-12-12 Thread Hamed Babaei
Dear Wolfgang: Thank you for your time addressing this issue. -- 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 Us

Re: [deal.II] Trouble using VectorTools::interpolate_based_on_material_id

2018-12-12 Thread Wolfgang Bangerth
> Thank you for opening the Github issue. I've been looking around the function > implementation and will be trying to figure out the issue. I will update you > once I have some understanding. Hamed: I think I have a fix for this. Take a look at the pull request linked to from the github page

Re: [deal.II] Trouble using VectorTools::interpolate_based_on_material_id

2018-12-11 Thread Hamed Babaei
Dear Wolfgang, Thank you for opening the Github issue. I've been looking around the function implementation and will be trying to figure out the issue. I will update you once I have some understanding. Regards, -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum

Re: [deal.II] Trouble using VectorTools::interpolate_based_on_material_id

2018-12-11 Thread Wolfgang Bangerth
Hamed, > Thank you very much for your help. In fact, what you got is for the case that > the material_id for the entire domain (both half of cubes) is included in > function_map. My domain is a cube divided into two equal part at the plane > x=0.5. One half has material_id=0 and the other hal

Re: [deal.II] Trouble using VectorTools::interpolate_based_on_material_id

2018-12-10 Thread Hamed Babaei
I forgot to mention that I am using deal.ii 9.0.0 version. Thanks -- 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.

Re: [deal.II] Trouble using VectorTools::interpolate_based_on_material_id

2018-12-10 Thread Hamed Babaei
Dear Wolfgang, > In other words, there are no NaNs for me. What do you get? And what > version of > deal.II are you using? > Thank you very much for your help. In fact, what you got is for the case that the material_id for the entire domain (both half of cubes) is included in function_map

Re: [deal.II] Trouble using VectorTools::interpolate_based_on_material_id

2018-12-10 Thread Wolfgang Bangerth
On 12/10/18 10:17 AM, Hamed Babaei wrote: > > I would like to forcefully determine the solution at some regions of my > domain > in which I solve an initial value problem. Therefore, I chose to > use VectorTools::interpolate_based_on_material_id function to implement the > desired constant val