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

Function printAlgorithm

SRC/interpreter/OpenSeesOutputCommands.cpp:710–734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

708}
709
710int printAlgorithm(OPS_Stream &output)
711{
712 /*int eleArg = 0;
713 int argc = OPS_GetNumRemainingInputArgs();
714
715 EquiSolnAlgo** theAlgorithm = OPS_GetAlgorithm();
716 if (theAlgorithm == 0) return -1;
717
718 // if just 'print <filename> algorithm'- no flag
719 if (argc == 0) {
720 theAlgorithm->Print(output);
721 return 0;
722 }
723
724 // if 'print <filename> Algorithm flag' get the flag
725 int flag;
726 int numdata = 1;
727 if (OPS_GetIntInput(&numdata, &flag) < 0) {
728 opserr << "WARNING print algorithm failed to get integer flag: \n";
729 return -1;
730 }
731 theAlgorithm->Print(output, flag);*/
732
733 return 0;
734}
735
736int printIntegrator(OPS_Stream &output)
737{

Callers 1

OPS_printModelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected