Definition at line 74 of file writetop.cpp.
Definition at line 83 of file writetop.cpp.
References b.
87 while (NULL!=fgets(lineBuf,200,inF)) {
89 while (isspace(*line)) line++;
90 line[strlen(line)-1]=0;
93 case '#':
case '!':
break;
94 case '\n':
case '\r':
case 0:
97 case '0':
case '1':
case '2':
case '3':
case '4':
98 case '5':
case '6':
case '7':
case '8':
case '9':
100 int in,out,coupled=0;
101 if (sscanf(line,
"%d%d%d",&in,&out,&coupled)<2) {
102 fprintf(stderr,
"ERROR!\n"
103 "Can't parse boundary condition number from '%s',\n"
104 "found on line %d of the boundary condition file\n",
108 b.push_back(
new bcRecTop(in,out,coupled));
112 fprintf(stderr,
"ERROR!\n"
113 "This appears to be a rocflo-style boundary condition file--\n"
114 "RocfloMP does not use @ signs.\n");
117 fprintf(stderr,
"ERROR!\n"
118 "Can't parse line of boundary condition \n"
119 "'%s', found on line %d.\n",
Definition at line 127 of file writetop.cpp.
References b, and i.
Referenced by externalBCpatch::writeTop().
130 for (i=0;i<
b.size();i++)
131 if (
b[i]->hasNumber(bcNo))
134 fprintf(stderr,
"ERROR! Can't find boundary condition %d in .bc file!\n",bcNo);
The documentation for this class was generated from the following file: