MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / commitState

Method commitState

SRC/damage/Mehanny.cpp:163–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161
162
163int
164Mehanny::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
197int
198Mehanny::revertToLastCommit (void)

Callers 15

OPS_saveFunction · 0.45
OPS_setNodeDispFunction · 0.45
OPS_setNodeVelFunction · 0.45
OPS_setNodeAccelFunction · 0.45
OPS_NDCommitStateFunction · 0.45
OPS_setStrainFunction · 0.45
ops_setStrainFunction · 0.45
identifyMethod · 0.45
setNodeVelFunction · 0.45
setNodeDispFunction · 0.45
setNodeAccelFunction · 0.45
recordMethod · 0.45

Calls

no outgoing calls

Tested by 1

OPS_NDCommitStateFunction · 0.36