[Dune] high precision calculation in dune

Dedner, Andreas A.S.Dedner at warwick.ac.uk
Thu Aug 22 13:25:04 CEST 2013


Hi.
You might try
Dune::FieldVector< Dune::GMPField<precision> , n >
I don't now how many have tried this and you might one or two methods missing but
those should be easy to add.
Andreas
________________________________________
From: dune-bounces+a.s.dedner=warwick.ac.uk at dune-project.org [dune-bounces+a.s.dedner=warwick.ac.uk at dune-project.org] on behalf of Klaus Kaiser [klaus.kaiser at rwth-aachen.de]
Sent: 22 August 2013 12:20
To: dune at dune-project.org
Subject: [Dune] high precision calculation in dune

Hallo,

till now I was using a dune::FieldVector<long double, n> for representing my degrees of freedom, but I got into a calculation where I have to deal with cancellation. So I'm looking for a possibility to raise the precision of my calculation and so I want to know if it is possible to easy use a higher precision data type, something like gmp, for my FieldVector.

Greetings and thanks for a response

Klaus

_______________________________________________
Dune mailing list
Dune at dune-project.org
http://lists.dune-project.org/mailman/listinfo/dune






More information about the Dune mailing list