Changeset 1693 for branches/newmole/source
- Timestamp:
- 12/18/07 02:38:17 (11 months ago)
- Files:
-
- 1 modified
-
branches/newmole/source/mole_eval_balance.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/newmole/source/mole_eval_balance.cpp
r1690 r1693 29 29 /*=================================================================*/ 30 30 31 #define FABSSWITCH(a) (a) 31 32 32 33 void mole_eval_balance(long int num_total, double *b, double **c) … … 90 91 if(i!=j) 91 92 { 92 rate_deriv[i] *= fabs(rate->reactants[j]->hevmol);93 } 94 } 95 } 96 97 rate_tot = rate_deriv[0]* fabs(rate->reactants[0]->hevmol);93 rate_deriv[i] *= FABSSWITCH(rate->reactants[j]->hevmol); 94 } 95 } 96 } 97 98 rate_tot = rate_deriv[0]*FABSSWITCH(rate->reactants[0]->hevmol); 98 99 99 100 for(i=0;i<rate->nreactants;i++)
