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

Method commitDomain

SRC/analysis/model/AnalysisModel.cpp:646–662  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

644
645
646int
647AnalysisModel::commitDomain(void)
648{
649 // check to see there is a Domain linked to the Model
650 if (myDomain == 0) {
651 opserr << "WARNING: AnalysisModel::commitDomain. No Domain linked.\n";
652 return -1;
653 }
654
655 // invoke the method
656 if (myDomain->commit() < 0) {
657 opserr << "WARNING: AnalysisModel::commitDomain - Domain::commit() failed\n";
658 return -2;
659 }
660
661 return 0;
662}
663
664int
665AnalysisModel::revertDomainToLastCommit(void)

Callers 15

endModeMethod · 0.45
commitMethod · 0.45
commitMethod · 0.45
commitMethod · 0.45
commitMethod · 0.45
commitMethod · 0.45
commitMethod · 0.45
commitMethod · 0.45
commitMethod · 0.45
commitMethod · 0.45
commitMethod · 0.45
commitMethod · 0.45

Calls 1

commitMethod · 0.45

Tested by 1

endModeMethod · 0.36