Re: [deal.II] how to use solution.

2016-10-05 Thread hanks0227
2016년 10월 5일 수요일 오후 6시 55분 19초 UTC+9, Daniel Arndt 님의 말: > > Kyusik, > > As Wolfgang already mentioned, you want to use > FEValues::get_function_values() > to extract from a global FE Vector the local values at the quadrature > points in the cell you are on. > These quadrature points normally

Re: [deal.II] how to use solution.

2016-10-05 Thread Daniel Arndt
Kyusik, As Wolfgang already mentioned, you want to use FEValues::get_function_values() to extract from a global FE Vector the local values at the quadrature points in the cell you are on. These quadrature points normally don't coincide with with the mapped unit support points of the FiniteElem

Re: [deal.II] how to use solution.

2016-10-05 Thread hanks0227
2016년 10월 5일 수요일 오전 1시 17분 31초 UTC+9, Wolfgang Bangerth 님의 말: > > On 10/04/2016 09:12 AM, hank...@gmail.com wrote: > > > > template > > void Step6::get_profile () > > { > > const QGauss quadrature_formula(3); > > FEValues fe_values (fe, quadrature_formula, > >

Re: [deal.II] how to use solution.

2016-10-04 Thread hanks0227
2016년 10월 5일 수요일 오전 1시 17분 31초 UTC+9, Wolfgang Bangerth 님의 말: > > On 10/04/2016 09:12 AM, hank...@gmail.com wrote: > > > > template > > void Step6::get_profile () > > { > > const QGauss quadrature_formula(3); > > FEValues fe_values (fe, quadrature_formula, > >

Re: [deal.II] how to use solution.

2016-10-04 Thread Wolfgang Bangerth
On 10/04/2016 09:12 AM, hanks0...@gmail.com wrote: template void Step6::get_profile () { const QGauss quadrature_formula(3); FEValues fe_values (fe, quadrature_formula, update_values| update_gradients | update_quadrature_points |

[deal.II] how to use solution.

2016-10-04 Thread hanks0227
Hi, I'm trying to study how to use solution after the calculation is done. So, What I'm trying to do in step6 tutorial program is to calculate f=x*solution+y; So I add the following class.(that almost comes from assemble_system()) template void Step6::get_profile () { const QGauss quadratu