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

Method setFloatField

DEVELOPER/core/DataFileStream.cpp:212–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

openMethod · 0.95

Tested by

no test coverage detected