Common files for cahnhill.c and programs which use it (e.g. chts.c), based on PETSc SNES tutorial common8and9.h.
#define C( i )
struct | |
{ | |
PetscTruth threedee; | |
PetscScalar kappa; | |
PetscScalar epsilon; | |
PetscScalar gamma; | |
PetscScalar mparam; | |
int mx; | |
int my; | |
int mz; | |
int mc; | |
int chvar; | |
Vec localX; | |
Vec localF; | |
DA da; | |
int rank; | |
int size; | |
MPI_Comm comm; | |
int ilevel; | |
int nlevels; | |
Vec x_old; | |
Mat J; | |
Mat alpha; | |
DAPeriodicType period; | |
ISLocalToGlobalMapping isltog; | |
PetscViewer theviewer; | |
char** label; | |
PetscTruth print_grid; | |
PetscTruth print_vecs; | |
PetscTruth no_contours; | |
PetscTruth random; | |
PetscTruth save_data; | |
int load_data; | |
} |