Re: [deal.II] Re: AMR , how to pass solution vector to refined mesh

2017-03-21 Thread Jaekwang Kim
Thank you!! Just got what've meant. and fixed my code properly Thanks ! Jaekwang Kim 2017년 3월 21일 화요일 오후 12시 55분 7초 UTC-4, Jean-Paul Pelteret 님의 말: > > Hi Jaekwang, > > No, you've misunderstood in that I was just showing that to you as an > example. You don't need to use that exact Vector

Re: [deal.II] Re: AMR , how to pass solution vector to refined mesh

2017-03-21 Thread Jean-Paul Pelteret
Hi Jaekwang, No, you've misunderstood in that I was just showing that to you as an example. You don't need to use that exact Vector class. You were nearly at the answer with what you've posted - you just need to read the compiler error more carefully to understand what its telling you is

Re: [deal.II] Re: AMR , how to pass solution vector to refined mesh

2017-03-21 Thread Jaekwang Kim
thank you for your response. I am trying to following this... but it seems that I have to use the class, * SolutionTransfer* to transfer block vector Without using MPI, isn't it possible to assess this class? like...

Re: [deal.II] How to make G vector in lecture 21.65

2017-03-21 Thread Wolfgang Bangerth
On 03/21/2017 05:11 AM, hanks0...@gmail.com wrote: At first, the reason why I would like to make vector G by myself (without using VectorTools::interpolate_boundary_values) is that I would like to input calculated values (not just function of position) on the boundary. I would like to solve

Re: [deal.II] How to make G vector in lecture 21.65

2017-03-21 Thread hanks0227
Dr. Bangerth, Thank you for the kind explanation. Now, I understand what is wrong... I'm really sorry but, could I have one more question? > > The approach you use, making things look like an assembly step, is not > appropriate for what you want to do. I would just call >

[deal.II] Re: How to compute Nédélec gradient

2017-03-21 Thread Daniel Arndt
I'm solving a 2D problem on quadrilateral cartesian mesh using FE_Q(1) > elements. > I would like to compute the gradient of the bilinear solution, known to > belong to the FE_Nedelec(0) space: how can I manage to do it? > For visualizing the gradient of discrete solution, you have multiple

Re: [deal.II] Re: AMR , how to pass solution vector to refined mesh

2017-03-21 Thread Jean-Paul Pelteret
Dear Jaekwang, Step-31 demonstrates how to use the SolutionTransfer class with BlockVectors. In short, you need to specify the vector type as a template argument to the class. Here's how its done in that tutorial: