← Back to team overview

dolfin team mailing list archive

Re: Evaluating the FEM solution at an arbitrary point

 

Quoting Dag Lindbo <dag@xxxxxxxxxx>:

> >
> > Why do you need to evaluate functions at arbitrary points?
> >
> > I can understand it's nice to be able to do this, but in many cases
> > there are other solutions (which are much more efficient).
> >
> 
> I think there is general interest in being able to compute line integrals
> over a computed solution. It is natural to use the finite elements as
> interpolant to get values at quadrature points. Any thoughts?

If you just want the values at quadrature points, you can project the solution
(Function) onto a QuadratureElement.

Kristian

>  Dag
> 
> > --
> > Anders
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/dolfin-dev
> >
> 
> 
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
> 




Follow ups

References