Changeset 2027 for branches/newmole/source/mole_reactions.cpp
- Timestamp:
- 05/06/08 14:47:46 (8 months ago)
- Files:
-
- 1 modified
-
branches/newmole/source/mole_reactions.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/newmole/source/mole_reactions.cpp
r1846 r2027 1893 1893 { 1894 1894 struct mole_reaction_s *rate; 1895 enum { DEBUG_MOLE = false }; 1895 1896 1896 1897 DEBUG_ENTRY("mole_update_rks()"); … … 1906 1907 { 1907 1908 rate = p->second; 1909 realnum oldrk = rate->rk; 1908 1910 ASSERT(rate->fun != NULL); 1909 1911 rate->rk = rate->a*rate->fun(rate); 1912 if (DEBUG_MOLE) 1913 { 1914 if (fabs(rate->rk-oldrk) > 0.1*rate->rk) 1915 fprintf(ioQQQ,"%s: %15.8g => %15.8g\n", 1916 rate->label,oldrk,rate->rk); 1917 } 1910 1918 } 1911 1919 }
