Go to the source code of this file.
Functions | |
| void | initialize_GAUSS (void) |
|
|
Definition at line 35 of file initialize_GAUSS.h. References omega, printf(), and xi. Referenced by main(). 00036 { 00037 double a=(5.-sqrt(5))/20.; 00038 00039 // the local coordinate \xi 00040 xi[0][0] =1.-3.*a; 00041 xi[0][1] =a; 00042 xi[0][2] =a; 00043 xi[0][3] =a; 00044 00045 // the local coordinate \eta 00046 xi[1][0] =a; 00047 xi[1][1] =1.-3.*a; 00048 xi[1][2] =a; 00049 xi[1][3] =a; 00050 00051 // the local coordinate \xeta 00052 xi[2][0] =a; 00053 xi[2][1] =a; 00054 xi[2][2] =1.-3.*a; 00055 xi[2][3] =a; 00056 00057 // the gaussian weights 00058 omega[0] =0.25; 00059 omega[1] =0.25; 00060 omega[2] =0.25; 00061 omega[4] =0.25; 00062 00063 printf("Gauss integration formula points and weights initialised...\n"); 00064 }
|