mFES - molecular Finite Element Solver
0.4
|
00001 00012 #include "VCG.h" 00013 00014 #ifndef DEF 00015 #define DEF 00016 00017 #define CNAME mfes 00018 00019 struct Triangle{ 00020 Point3<float> normal; 00021 Point3<float> t1; 00022 Point3<float> t2; 00023 Point3<float> t3; 00024 }; 00025 00027 #define E2A 7.197585e-4; // try: 7.202395747302217e-4 ? 00028 00029 #define CF_LAMBDA 0.5 00030 #define TAUBIN_LAMBDA 0.5 00031 #define TAUBIN_MU -0.53 00032 // standard: mu = lambda = 0.5 00033 // meshlab: mu = -0.53, lambad = 0.5 00034 00035 // kappa squared times I/eps_r [1/(eps_0)] but in Angstroem 00036 #define DL 8.43249149 00037 00038 #define CONVERT 5.74346052632 00039 //5.74342695 00040 00041 #define VOL_MESH_TRIES 5 00042 00043 #define NOT_IN_ST 111 00044 #define HEAPSIZE 4000000 00045 00046 const double MEADUNITS = 1.3806505E-23 * 4.336663E17; /* e^2/(A * K * mol) */ 00047 const double T = 300; /* K */ 00048 00049 #endif