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

Method setPrecision

DEVELOPER/core/DataFileStream.cpp:200–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198
199
200int
201DataFileStream::setPrecision(int prec)
202{
203 if (fileOpen == 0)
204 this->open();
205
206 if (fileOpen != 0)
207 theFile << std::setprecision(prec);
208
209 return 0;
210}
211
212int
213DataFileStream::setFloatField(floatField field)

Callers

nothing calls this directly

Calls 1

openMethod · 0.95

Tested by

no test coverage detected