← Back to team overview

fenics team mailing list archive

Re: double precision of single precision?

 

On Sat, Jun 07, 2008 at 09:17:03AM -0700, Chong Luo wrote:
> What is the default precision of FEniCS, is it double precision or single
> precision?
> 
> I have this question, because for exact solution in P(2), using P(2) element
> gave me an error of order 1E-7 instead of 1E-14.

It doesn't work that way (unfortunately). The error depends on the
mesh size. Or did you refine until convergence?

Maybe in a few years, you can ask again and we can answer that yes,
FEniCS solves all problems to within double precision. :-)

-- 
Anders

Attachment: signature.asc
Description: Digital signature


Follow ups

References