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

Method start

DEVELOPER/core/SimulationInformation.cpp:90–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88
89
90int
91SimulationInformation::start(void)
92{
93 paramNames.clear();
94 paramValues.clear();
95 analysisTypes.clear();
96 modelTypes.clear();
97 elementTypes.clear();
98 materialTypes.clear();
99
100 // now set the start time
101 time_t timeT;
102 if (time(&timeT) != 0) {
103#ifdef _WIN32
104 const char *sTime = ctime(&timeT);
105 strcpy(startTime, sTime);
106#else
107 ctime_r(&timeT, &startTime[0]);
108#endif
109
110 }
111
112 strcpy(endTime," ");
113 numInputFiles = 0;
114
115 return 0;
116}
117
118int
119SimulationInformation::end(void)

Callers 1

SimulationInformationMethod · 0.95

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected