Re: [deal.II] FEValues and get_function_values when support points = quadrature points

2016-09-30 Thread Wolfgang Bangerth
On 09/30/2016 09:21 PM, Praveen C wrote: But,... if FEValues constructor could take an optional boolean argument where user can say whether support points == quadrature points, or not. For FESystem, one has to pass a vector of boolean. I think you already see all of the contortions one has to

Re: [deal.II] FEValues and get_function_values when support points = quadrature points

2016-09-30 Thread Praveen C
Hello Wolfgang, When I use a FESystem, I have to write a couple of lines of code to get function values. I thought if FEValues could figure this, it would be nice, and make my code compact. But making this automatic inside FEValues seems difficult, since all FE in an FESystem may not even have su

Re: [deal.II] FEValues and get_function_values when support points = quadrature points

2016-09-30 Thread Wolfgang Bangerth
On 09/30/2016 08:59 PM, Praveen C wrote: In many cases, we use same nodes as support points for FE space and quadrature. In this case, FEValues.get_function_values can just read off the function values without performing a sum over all basis functions. Does FEValues actually recognise and make t

[deal.II] FEValues and get_function_values when support points = quadrature points

2016-09-30 Thread Praveen C
Dear all In many cases, we use same nodes as support points for FE space and quadrature. In this case, FEValues.get_function_values can just read off the function values without performing a sum over all basis functions. Does FEValues actually recognise and make this optimization ? If not, is it p