This is a neat 3-D graphing application of Illuminator. Just put whatever
function you like down in line 110 or so (or graph the examples provided), or
run with -twodee and use PETSc's native 2-D graphics (though that would be
BORING!). You might want to run it as:
./3dgf -da_grid_x 50 -da_grid_y 50 -da_grid_z 50
and hit return to end.
#define __FUNCT__ "function_3d"
#define __FUNCT__ "function_2d"
#define __FUNCT__ "main"
int main ( int argc, char** argv )
static inline PetscScalar function_2d ( PetscScalar x, PetscScalar y )
static inline PetscScalar function_3d ( PetscScalar x, PetscScalar y, PetscScalar z )