00001 // copyright by benedikt oswald, all rights reserved, 2002-2006. 00002 // project - aqhdes2003 00003 // file name - visuals.h 00004 // file type - C include file 00005 // objective - define functions to visualize the electromagnetic 00006 // objective - fields calculated by the solver 00007 // creation - 2003 apr 02 ~ 15:07:00 by benedikt oswald 00008 // modified - 00009 // required software - UG 3.1 or higher 00010 // rights for UG - cf. paper by Bastian et al., 1997 00011 // file id - 00012 // inheritance - cf. disc.h file from the diff2d UG application 00013 // feature - defines functions for the visualization 00014 // feature - of the solver's internals and for display of results 00015 00016 /****************************************************************************/ 00017 /* */ 00018 /* auto include mechanism and other include files */ 00019 /* */ 00020 /****************************************************************************/ 00021 00022 #ifndef __WHITNEY_IMPLICIT_VISUALS__ 00023 #define __WHITNEY_IMPLICIT_VISUALS__ 00024 00025 00026 #ifndef __COMPILER__ 00027 #include "compiler.h" 00028 #endif 00029 #ifndef __GM__ 00030 #include "gm.h" 00031 #endif 00032 00033 #include "np.h" 00034 00035 /* system includes */ 00036 #include <stddef.h> 00037 #include <math.h> 00038 #include <stdlib.h> 00039 #include <stdio.h> 00040 #include <string.h> 00041 00042 /* UG includes */ 00043 #include "gm.h" /* for data structure */ 00044 #include "evm.h" /* for data structure */ 00045 #include "shapes.h" /* for data structure */ 00046 #include "misc.h" /* for MIN, MAX, PI, ... */ 00047 #include "ugdevices.h" 00048 #include "general.h" 00049 #include "fvgeom.h" 00050 #include "np.h" /* for CreateNumProc */ 00051 #include "assemble.h" 00052 #include "disctools.h" 00053 00054 /* numproc definiton include */ 00055 #include "itdi.h" 00056 #include "whitney.h" 00057 00058 /****************************************************************************/ 00059 /* */ 00060 /* defines in the following order */ 00061 /* */ 00062 /* compile time constants defining static data size (i.e. arrays) */ 00063 /* other constants */ 00064 /* macros */ 00065 /* */ 00066 /****************************************************************************/ 00067 00068 /* possible boundary conditions */ 00069 #define WATER_INTERIOR 0 /* indicates interior boundary */ 00070 #define WATER_FLUX 1 /* indicates Neumann boundary conditions */ 00071 #define WATER_PRESSURE 2 /* indicates Dirichlet boundary conditions */ 00072 00073 /* unique problem id for diffusion problems */ 00074 #define WATER_PROBLEMID 7007 00075 00076 /****************************************************************************/ 00077 /* */ 00078 /* data structures exported by the corresponding source file */ 00079 /* */ 00080 /****************************************************************************/ 00081 00082 /****************************************************************************/ 00083 /* */ 00084 /* definition of exported global variables */ 00085 /* */ 00086 /****************************************************************************/ 00087 00088 /****************************************************************************/ 00089 /* */ 00090 /* function declarations */ 00091 /* */ 00092 /****************************************************************************/ 00093 00094 INT InitImplicitVisuals(void); 00095 00096 #endif 00097 00098 00099 00100 00101 00102 00103 00104 00105