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

Method setFloatField

SRC/handler/DataFileStreamAdd.cpp:213–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213int
214DataFileStreamAdd::setFloatField(floatField field)
215{
216 if (fileOpen == 0)
217 this->open();
218
219 if (field == FIXEDD) {
220 if (fileOpen != 0)
221 theFile << setiosflags(ios::fixed);
222 }
223 else if (field == SCIENTIFIC) {
224 if (fileOpen != 0)
225 theFile << setiosflags(ios::scientific);
226 }
227
228 return 0;
229}
230
231
232int

Callers

nothing calls this directly

Calls 1

openMethod · 0.95

Tested by

no test coverage detected