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

Method getCurrentDomainTime

SRC/analysis/model/AnalysisModel.cpp:684–697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

682}
683
684double
685AnalysisModel::getCurrentDomainTime(void)
686{
687 // check to see there is a Domain linked to the Model
688
689 if (myDomain == 0) {
690 opserr << "WARNING: AnalysisModel::getCurrentDomainTime.";
691 opserr << " No Domain linked.\n";
692 return 0.0;
693 }
694
695 // invoke the method
696 return myDomain->getCurrentTime();
697}
698
699
700void

Callers 15

newStepMethod · 0.45
PrintMethod · 0.45
newStepMethod · 0.45
commitMethod · 0.45
PrintMethod · 0.45
newStepMethod · 0.45
commitMethod · 0.45
PrintMethod · 0.45
newStepMethod · 0.45
commitMethod · 0.45
PrintMethod · 0.45
newStepMethod · 0.45

Calls 1

getCurrentTimeMethod · 0.45

Tested by

no test coverage detected