| 161 | |
| 162 | |
| 163 | int |
| 164 | Mehanny::commitState (void) |
| 165 | { |
| 166 | /* |
| 167 | if ( DEBG ==1 ) |
| 168 | { |
| 169 | fprintf( OutputFile , "\t %f\t %f\t %f\t %f\t %f\t %f\t %f\t %f \n", TrialPlasticDefo, TrialPosCycle, TrialSumPosFHC, TrialPosPHC, TrialNegCycle, TrialSumNegFHC, TrialNegPHC, this->getDamage() ) ; |
| 170 | } |
| 171 | */ |
| 172 | LCommPlasticDefo = CommPlasticDefo; |
| 173 | LCommDefoIncr = CommDefoIncr; |
| 174 | LCommTempPDefo = CommTempPDefo; |
| 175 | LCommPosCycle = CommPosCycle; |
| 176 | LCommNegCycle = CommNegCycle; |
| 177 | LCommSumPosFHC = CommSumPosFHC; |
| 178 | LCommPosPHC = CommPosPHC; |
| 179 | LCommSumNegFHC = CommSumNegFHC; |
| 180 | LCommNegPHC = CommNegPHC; |
| 181 | LCommDamage = CommDamage; |
| 182 | |
| 183 | CommPlasticDefo = TrialPlasticDefo; |
| 184 | CommDefoIncr = TrialDefoIncr; |
| 185 | CommTempPDefo = TrialTempPDefo; |
| 186 | CommPosCycle = TrialPosCycle; |
| 187 | CommNegCycle = TrialNegCycle; |
| 188 | CommSumPosFHC = TrialSumPosFHC; |
| 189 | CommPosPHC = TrialPosPHC; |
| 190 | CommSumNegFHC = TrialSumNegFHC; |
| 191 | CommNegPHC = TrialNegPHC; |
| 192 | CommDamage = TrialDamage; |
| 193 | |
| 194 | return 0; |
| 195 | } |
| 196 | |
| 197 | int |
| 198 | Mehanny::revertToLastCommit (void) |
no outgoing calls