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

Function cleanFloat

SRC/domain/domain/DomainModalProperties.cpp:870–872  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

868 }
869
870 inline double cleanFloat(double x, double tol) {
871 return std::abs(x) > tol ? x : 0.0;
872 }
873
874 template<class TStream>
875 void print_internal(TStream& out, const DomainModalProperties& dmp)

Callers 1

print_internalFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected