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

Method setFloatField

SRC/handler/FileStream.cpp:197–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197int
198FileStream::setFloatField(floatField field)
199{
200 if (fileOpen == 0)
201 this->open();
202
203 if (field == FIXEDD) {
204 if (fileOpen != 0)
205 theFile << setiosflags(ios::fixed);
206 }
207 else if (field == SCIENTIFIC) {
208 if (fileOpen != 0)
209 theFile << setiosflags(ios::scientific);
210 }
211
212 return 0;
213}
214
215
216int

Callers 2

OpenSeesAppInitFunction · 0.45
mainFunction · 0.45

Calls 1

openMethod · 0.95

Tested by

no test coverage detected