brent's method and numerical derivatives

6 views
Skip to first unread message

cb

unread,
Oct 6, 2016, 7:42:16 AM10/6/16
to ogs-...@googlegroups.com
Dear all,

is someone aware of freely available and easy to plug in (OGS5)
implementations of

- Brent's method
(http://www.aip.de/groups/soe/local/numres/bookcpdf/c9-3.pdf)

- numerical approximation of derivatives
(http://www.it.uom.gr/teaching/linearalgebra/NumericalRecipiesInC/c5-7.pdf)

Best, Christof

--
_______________________________________
Dr. Christof Beyer
Institute of Geosciences
Geohydromodelling
Christian-Albrechts-University Kiel
Ludewig-Meyn-Str. 10
24118 Kiel
Germany

phone: +49(0)431-8803172
fax: +49(0)431-8807606
mobile: +49(0)176-24297908
email: christo...@gpi.uni-kiel.de
home: www.uni-kiel.de/ghm
_______________________________________

Joshua Taron

unread,
Oct 6, 2016, 10:43:57 AM10/6/16
to ogs-...@googlegroups.com

Christof,

Norbert put one in (brent) when he did the helmholtz equations of state. On the road now and can't remember exactly where it is, but can look later. It's in there, with the eos, probably called zbrent.

Josh


--
You received this message because you are subscribed to the Google Groups "ogs-devs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ogs-devs+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Lars Bilke

unread,
Oct 6, 2016, 10:50:56 AM10/6/16
to ogs-...@googlegroups.com, cb
Hi Christoph,

you can find Brent’s method in ThirdParty/Brent:

https://github.com/ufz/ogs5/tree/master/ThirdParty/Brent 

Best,
Lars
> --
> You received this message because you are subscribed to the Google Groups "ogs-devs"
> group.
> To unsubscribe from this group and stop receiving emails from it, send an email to ogs-devs+u...@googlegroups.com.

Singh Ashok

unread,
Oct 6, 2016, 11:13:24 AM10/6/16
to ogs-...@googlegroups.com

void NsPol3 (double p, double q, double r, vector<double>* roots)



> To unsubscribe from this group and stop receiving emails from it, send an email to ogs-devs+unsubscribe@googlegroups.com.

> For more options, visit https://groups.google.com/d/optout.
>

--
You received this message because you are subscribed to the Google Groups "ogs-devs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ogs-devs+unsubscribe@googlegroups.com.

cb

unread,
Oct 6, 2016, 1:58:54 PM10/6/16
to ogs-...@googlegroups.com

Thanks guys!

eos zbrent is the same as  gcc zbrent and is based on Numerical Recipes. This is the functio I want to replace.

I'll try Lars and Ashoks suggestions.

Christof

To unsubscribe from this group and stop receiving emails from it, send an email to ogs-devs+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

-- 
_______________________________________
Dr. Christof Beyer
Institute of Geosciences
Geohydromodelling
Christian-Albrechts-University Kiel
Ludewig-Meyn-Str. 10
24118 Kiel
Germany

phone:  +49(0)431-8803172
Reply all
Reply to author
Forward
0 new messages