Re: Computing zero set of function of two variables




glen herrmannsfeldt wrote:
veda wrote:

Lets say you have a function of two variables (z=z(x,y) )available to
you defined on a "grid" of points (x_i,y_i ), say, uniformly spaced on
the domain

(snip)

Using the "grid" (note that these are not finite elements, merely
square grid of points), how do you compute the curve(s) that represent
the set of points where z=0 on the domain?

There are routines to do contour plots. That sounds like what you want.

I believe there is a routine in
http://ftp.riken.go.jp/pub/iris/ugs/ugs.tar.gz

I would call Gnuplot (a good, free, and portable graphing program) from
Fortran using the "system" command (an extension present in most
Fortran compilers) to create contour plots, or on Unix, using
gnuplotfortran http://sourceforge.net/projects/gnuplotfortran .

.



Relevant Pages

  • Re: Software to analyze math library?
    ... >or Fortran compilers. ... >The goal is to characterize the loss of precision caused by the library ... >routines for trig, hyperbolics, log/exp, etc. ... but must not be using the right search terms. ...
    (sci.math.num-analysis)
  • Arrrrgh! Another module broken
    ... I just found another module that broke when I went to 2.6. ... Gnuplot. ... Apparently one of its routines has a parameter named "with." ... Once I get everything to work under 2.6, I am using it forever or until new releases no longer break working code, whichever comes first. ...
    (comp.lang.python)
  • Re: Arrrrgh! Another module broken
    ... Apparently one of its routines has a parameter ... That used to be okay, ... forever or until new releases no longer break working ... The new kwarg in Gnuplot is "with_". ...
    (comp.lang.python)