File illuminator.h

RCS Header: /cvsroot/petscgraphics/illuminator.h,v 1.22 2004/08/17 15:05:42 hazelsct Exp

This is the interface for the Illuminator library.


Included Files


Preprocessor definitions

#define ILLUMINATOR_H

#define COMPRESS_INT_MASK 0x30

#define COMPRESS_INT_NONE 0x00

#define COMPRESS_INT_LONG 0x10

#define COMPRESS_INT_SHORT 0x20

#define COMPRESS_INT_CHAR 0x30

#define COMPRESS_GZIP_MASK 0x0F

#define COMPRESS_GZIP_NONE 0x00

#define COMPRESS_GZIP_FAST 0x01

#define COMPRESS_GZIP_BEST 0x0A


Typedef field_plot_type

A value of field_plot_type is attached to each field in a simulation in order to visualize them properly. Types are as follows:

typedef enum {...} field_plot_type
enum 
   { 
     FIELD_SCALAR;Scalar field.
     FIELD_TERNARY;Ternary composition field with two components (third component is inferred from first two).
     FIELD_VECTOR;Vector field.
     FIELD_TENSOR_FULL;Full ds*ds tensor field, e.g. transformation.
     FIELD_TENSOR_SYMMETRIC;Symmetric tensor field (using lines in principal stress directions).
     FIELD_TENSOR_SYMMETRIC_ZERODIAG;Symmetric tensor field, inferring last diagonal from the opposite of the sum of the others.
   } 


Local Function DATriangulate()

static inline int DATriangulate ( DA theda, Vec globalX, int this, PetscScalar* minmax, int n_quants, PetscScalar* isoquants, PetscScalar* colors, PetscTruth xcut, PetscTruth ycut, PetscTruth zcut )

Local Function DATriangulateLocal()

static inline int DATriangulateLocal ( DA theda, Vec localX, int this, PetscScalar* minmax, int n_quants, PetscScalar* isoquants, PetscScalar* colors, PetscTruth xcut, PetscTruth ycut, PetscTruth zcut )