|
| bcList (FILE *inF) |
|
string | lookup (int bcNo, string insert) const |
|
Definition at line 91 of file writeflo.cpp.
Definition at line 99 of file writeflo.cpp.
References bcRec::addLine(), and b.
105 while (NULL!=fgets(line,200,inF)) {
109 case '\n':
case '\r':
case 0:
113 if (1!=sscanf(&line[1],
"%d",&bcNo)) {
114 fprintf(stderr,
"ERROR!\n"
115 "Can't parse boundary condition number from '%s',\n"
116 "found on line %d of the boundary condition file\n",
121 if (curBC!=NULL)
b.push_back(curBC);
122 curBC=
new bcRec(bcNo);
125 if (curBC!=NULL) curBC->
addLine(line);
129 if (curBC!=NULL)
b.push_back(curBC);
string lookup |
( |
int |
bcNo, |
|
|
string |
insert |
|
) |
| const |
Definition at line 133 of file writeflo.cpp.
References b, and i.
Referenced by writeBlock(), and externalBCpatch::writeFlo().
136 for (i=0;i<
b.size();i++)
137 if (
b[i]->hasNumber(bcNo))
138 return b[i]->getString(insert);
140 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: