• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List

Generic.h

00001 #ifndef GENERIC_H
00002 #define GENERIC_H
00003 
00009 
00010 const double R=8.31468;
00012 const double tr=298.15;
00014 const double pr=1.e5;
00016 inline double sqr(double a){
00017   return (a*a);
00018 }
00020 inline double cub(double a){
00021   return (a*a*a);
00022 }
00024 inline double dirac(int i,int j){
00025   return (i==j)?1.:0.;
00026 }
00027 #endif

Generated on Fri Aug 6 2010 14:25:15 for dPhases by  doxygen 1.7.1