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

Method setPrecision

SRC/handler/DataFileStream.cpp:204–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

openMethod · 0.95

Tested by

no test coverage detected