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

Method addInputFile

SRC/utility/SimulationInformation.cpp:274–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272}
273
274int
275SimulationInformation::addInputFile(const char *fileName, const char *path)
276{
277
278 // windows throws this one in if nothing provided on the cmd line
279 if (strstr(fileName,"history.tcl") != 0)
280 return 0;
281
282
283 if (numInputFiles == 0)
284 theFiles->addFile(fileName, path, "Main Input File");
285 else
286 theFiles->addFile(fileName, path, "Input File");
287
288 numInputFiles++;
289
290 return 0;
291}
292
293
294

Callers 7

TclCommand_addNodalLoadFunction · 0.45
TclPatternCommandFunction · 0.45
OPS_SourceCmdFunction · 0.45
EvalFileWithParametersFunction · 0.45
TclPatternCommandFunction · 0.45

Calls 1

addFileMethod · 0.45

Tested by

no test coverage detected