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 this optimization ? If not, is it
possible to get this behaviour ?
No.
In my codes, I write my own code to get function values in this case without
doing a sum over all basis functions.
Yes, this is special knowledge that is hard to figure out automatically, but
easy to do if you know that it's true. In that case, you wouldn't want to use
FEValues to evaluate your shape functions -- you *know* up front that they're
either zero or one!
But it would be great if FEValues.get_function_values could automatically do
this.
But why would you want to use FEValues in that case?
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: bange...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/
--
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 User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.