← Back to team overview

ffc team mailing list archive

Re: user function qudrature points evaluation

 

Quoting Vuk.Milisic@xxxxxxx:

> Is there a way to evaluate a given user function
> at quadrature points inside the element rather
> than interpolated at nodes and then evaluated
> at quadrature points. For instance

Yes, you can define the function on a QuadratureElement instead of a
FiniteElement. The FFC manual explains the QuadratureElement in more detail.

Kristian
 
> a=u*v/x[0]*dx
> 
> should not be well defined if the mesh touches
> x[0]=0 axis but the quadrature points beeing inside
> the domain 1/x[0] is still defined. This
> is usefull for axi-symmetric problems;
> 
> 
> V
> 
> 
> 
> 
> 
> -- 
> Vuk Milisic
> Chercheur CNRS
> UMR 5224
> Laboratoire Jean Kuntzman
> Unversité Joseph Fourier
> Grenoble
> http://ljk.imag.fr/membres/Vuk.Milisic/
> _______________________________________________
> FFC-dev mailing list
> FFC-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/ffc-dev
> 




References