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

Method setFloatField

SRC/handler/DataFileStream.cpp:216–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

openMethod · 0.95

Tested by

no test coverage detected