| 708 | } |
| 709 | |
| 710 | int 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 | |
| 736 | int printIntegrator(OPS_Stream &output) |
| 737 | { |