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

Method setConvergenceTest

SRC/analysis/algorithm/equiSolnAlgo/BFGS.cpp:191–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191int
192BFGS::setConvergenceTest(ConvergenceTest *newTest)
193{
194 this->EquiSolnAlgo::setConvergenceTest(newTest);
195
196 if (theTest == 0)
197 return 0;
198
199 if ( localTest != 0 )
200 delete localTest;
201
202 localTest = theTest->getCopy( this->numberLoops );
203 if (localTest == 0) {
204 opserr << "BFGS::setConvergenceTest() - could not get copy for local test\n";
205 return -1;
206 } else
207 return 0;
208}
209
210
211

Callers

nothing calls this directly

Calls 1

getCopyMethod · 0.45

Tested by

no test coverage detected