We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25d556e commit 4d3a341Copy full SHA for 4d3a341
1 file changed
modules/performSIMULATION/openSees/OpenSeesPreprocessor.cpp
@@ -672,6 +672,8 @@ OpenSeesPreprocessor::processEvents(ofstream &s){
672
// loop through EDPs and find corresponding EDP
673
674
char edpEventName[50];
675
+ s << "set pid [getPID]\n";
676
+ s << "if {$pid == 0} {\n";
677
678
for (int j=0; j<numEDPs; j++) {
679
@@ -885,6 +887,7 @@ OpenSeesPreprocessor::processEvents(ofstream &s){
885
887
}
886
888
889
890
+ s << "}\n"; // end of pid==0
891
892
// create analysis
893
if (analysisType == 1 || analysisType == 2) {
0 commit comments