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

Function printIntegrator

SRC/interpreter/OpenSeesOutputCommands.cpp:736–769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

734}
735
736int printIntegrator(OPS_Stream &output)
737{
738 /*int eleArg = 0;
739 int argc = OPS_GetNumRemainingInputArgs();
740
741 StaticIntegrator** theStaticIntegrator = OPS_GetStaticIntegrator();
742 TransientIntegrator** theTransientIntegrator = OPS_GetTransientIntegrator();
743
744 if (theStaticIntegrator == 0 && theTransientIntegrator == 0)
745 return 0;
746
747 IncrementalIntegrator *theIntegrator;
748 if (theStaticIntegrator != 0)
749 theIntegrator = theStaticIntegrator;
750 else
751 theIntegrator = *theTransientIntegrator;
752
753 // if just 'print <filename> algorithm'- no flag
754 if (argc == 0) {
755 theIntegrator->Print(output);
756 return 0;
757 }
758
759 // if 'print <filename> Algorithm flag' get the flag
760 int flag;
761 int numdata = 1;
762 if (OPS_GetIntInput(&numdata, &flag) < 0) {
763 opserr << "WARNING print integrator failed to get integer flag: \n";
764 return -1;
765 }
766 theIntegrator->Print(output, flag);*/
767
768 return 0;
769}
770
771int OPS_printModelGID()
772{

Callers 1

OPS_printModelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected