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

Function OpenSeesExit

SRC/java/OpenSeesEvaluator.cpp:254–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254int OpenSeesExit(ClientData clientData, Tcl_Interp *interp, int argc, TCL_Char **argv)
255{
256
257 if (simulationInfoOutputFilename != 0) {
258 simulationInfo.end();
259 XmlFileStream simulationInfoOutputFile;
260 simulationInfoOutputFile.setFile(simulationInfoOutputFilename);
261 simulationInfoOutputFile.open();
262 simulationInfoOutputFile << simulationInfo;
263 simulationInfoOutputFile.close();
264 }
265
266 Tcl_Exit(0);
267 return 0;
268}

Callers

nothing calls this directly

Calls 4

endMethod · 0.45
setFileMethod · 0.45
openMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected