On 10/20/19 9:54 AM, Konrad Simon wrote: > > Is there a way to evaluate a given shape function on a given cell like a > normal Function or TensorFunction? I need to do many computations on a coarse > cell that itself is meshed.
You are looking for the FEFieldFunction class. > I have an implementation but it is not very efficient: I create an FEValues > object and first map the evaluation points back to the unit cell using an > appropriate mapping. These I use as "quadrature points" and get the values on > the real (coarse) cell by then reinitializing the FEValues object with it. > Works for all shape functions but is slow and cumbersome. ...which, however, does in essence the same steps as you are doing here. That's the price you pay for wanting to evaluate the function at arbitrary points. Best W. -- ------------------------------------------------------------------------ Wolfgang Bangerth email: [email protected] 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/adb5b26a-3572-98ce-dc3a-a2c2534fbc1a%40colostate.edu.
