Actual source code: mathematica.h
1: /* $Id: mathematica.h,v 1.2 1999/06/01 20:45:51 knepley Exp $ */
2: /*
3: This is the definition of the Mathematica viewer structure.
4: */
6: #include src/sys/src/viewer/viewerimpl.h
7: #include petscsys.h
9: typedef enum {GRAPHICS_MOTIF, GRAPHICS_PS_FILE, GRAPHICS_PS_STDOUT} GraphicsType;
10: typedef enum {MATHEMATICA_TRIANGULATION_PLOT, MATHEMATICA_VECTOR_TRIANGULATION_PLOT,
11: MATHEMATICA_SURFACE_PLOT, MATHEMATICA_VECTOR_PLOT} PlotType;
13: typedef struct {
14: #ifdef PETSC_HAVE_MATHEMATICA
15: MLINK link; /* The link to Mathematica */
16: #endif
17: GraphicsType graphicsType; /* The system to use for display */
18: PlotType plotType; /* The type of plot to make */
19: const char *objName; /* The name for the next object passed to Mathematica */
20: } PetscViewer_Mathematica;