MCPcopy Create free account
hub / github.com/SeisSol/SeisSol / SIUnit

Method SIUnit

src/Monitoring/Unit.cpp:19–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18namespace seissol {
19SIUnit::SIUnit(const std::string& unit, bool binary) : unit(unit), binary(binary) {}
20
21std::string SIUnit::formatTime(double value, bool exact, int digits) const {
22 const double byDay = std::floor(value / (60 * 60 * 24));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected