Home
last modified time | relevance | path

Searched refs:toSI (Results 1 – 21 of 21) sorted by relevance

/dports/biology/abyss/abyss-2.3.1/Unittest/Common/
H A DStringUtilTest.cpp46 EXPECT_EQ ("-0.000123 ", toSI(-0.0001234)); in TEST()
47 EXPECT_EQ("1e-13 ", toSI(0.0000000000001)); in TEST()
48 EXPECT_EQ("-1.2e-13 ", toSI(-0.00000000000012)); in TEST()
50 EXPECT_EQ("0 ", toSI(0)); in TEST()
51 EXPECT_EQ("-0 ", toSI(-0.000)); in TEST()
54 EXPECT_EQ("1.23 k", toSI(1234)); in TEST()
55 EXPECT_EQ("123 M", toSI(123440111)); in TEST()
56 EXPECT_EQ("23.4 M", toSI(23440111)); in TEST()
57 EXPECT_EQ("1.23 G", toSI(1234123123)); in TEST()
58 EXPECT_EQ("123 G", toSI(123440111222)); in TEST()
[all …]
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/src/thermo/
H A DPDSS_HKFT.cpp322 Hcalc/toSI("cal/gmol")); in initThermo()
355 m_Entrop_tr_pr = s0 / toSI("cal/gmol/K"); in setS0()
359 m_a1 = a[0] / toSI("cal/gmol/bar"); in set_a()
360 m_a2 = a[1] / toSI("cal/gmol"); in set_a()
361 m_a3 = a[2] / toSI("cal-K/gmol/bar"); in set_a()
362 m_a4 = a[3] / toSI("cal-K/gmol"); in set_a()
366 m_c1 = c[0] / toSI("cal/gmol/K"); in set_c()
367 m_c2 = c[1] / toSI("cal-K/gmol"); in set_c()
371 m_omega_pr_tr = omega / toSI("cal/gmol"); in setOmega()
525 return deltaH_calgmol * toSI("cal/gmol"); in deltaH()
[all …]
H A DDebyeHuckel.cpp460 Afactor = toSI(Aunits); in initThermoXML()
/dports/science/antioch/antioch-0.4.0-156-g90ffa43/src/units/include/antioch/
H A Dunits.h583 Converter<T> toSI; variable
597 toSI(conva,convb), in Units()
617 toSI(conv) in Units()
833 toSI += raise(convTmp,signe * ipower); in parse_single_unit()
1148 toSI.clear(); in set_unit()
1267 toSI.clear();
1289 toSI *= rhs.get_SI_coef();
1303 toSI /= rhs.get_SI_coef();
1313 toSI = this->raise(toSI,r);
1332 toSI = this->raise(toSI,1./(T)r);
[all …]
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/test/thermo/
H A DphaseConstructors.cpp277 double fa = toSI("bar-cm6/mol2"); in TEST_F()
278 double fb = toSI("cm3/mol"); in TEST_F()
304 double fa = toSI("bar-cm6/mol2"); in TEST_F()
305 double fb = toSI("cm3/mol"); in TEST_F()
638 ss->setS0(s0[k] * toSI("cal/gmol/K")); in TEST()
640 a[k][0] *= toSI("cal/gmol/bar"); in TEST()
641 a[k][1] *= toSI("cal/gmol"); in TEST()
642 a[k][2] *= toSI("cal-K/gmol/bar"); in TEST()
643 a[k][3] *= toSI("cal-K/gmol"); in TEST()
644 c[k][0] *= toSI("cal/gmol/K"); in TEST()
[all …]
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/src/base/
H A Dctml.cpp199 fctr = toSI(units); in getFloatCurrent()
201 fctr = toSI(units); in getFloatCurrent()
203 fctr = toSI(units); in getFloatCurrent()
205 fctr = toSI(units); in getFloatCurrent()
207 fctr = toSI(units); in getFloatCurrent()
288 funit = toSI(units); in getFloatArray()
385 funit = toSI(node["units"]); in getMatrixValues()
H A Dunits.h59 return toSI(units_); in actEnergyToSI()
71 doublereal toSI(const std::string& units_) { in toSI() function
H A Dglobal.cpp150 doublereal toSI(const std::string& unit) in toSI() function
152 doublereal f = Unit::units()->toSI(unit); in toSI()
H A DstringUtils.cpp229 fp = toSI(v[1]); in strSItoDbl()
/dports/biology/abyss/abyss-2.3.1/Map/
H A Dindex.cc152 << toSI(s.size()) in buildFMIndex()
154 << toSI(MAX_SIZE) << "B\n"; in buildFMIndex()
287 cerr << "Read " << toSI(n) << "B. " in main()
288 "Used " << toSI(bytes) << "B of memory and " in main()
H A Doverlap.cc299 << toSI(s.size()) in buildFMIndex()
301 << toSI(MAX_SIZE) << "B\n"; in buildFMIndex()
470 cerr << "Read " << toSI(bp) << "B in " in main()
474 cerr << "Using " << toSI(bytes) << "B of memory and " in main()
H A Dmap.cc511 << toSI(s.size()) in buildFMIndex()
513 << toSI(MAX_SIZE) << "B\n"; in buildFMIndex()
694 cerr << "Using " << toSI(bytes) << "B of memory and " in main()
716 cerr << "Read " << toSI(bp) << "B in " in main()
720 cerr << "Using " << toSI(bytes) << "B of memory and " in main()
/dports/biology/abyss/abyss-2.3.1/MergePaths/
H A DMergeContigs.cpp347 << toSI(getMemoryUsage()) << "B of memory.\n"; in readPaths()
353 << toSI(getMemoryUsage()) << "B of memory.\n"; in readPaths()
543 << toSI(getMemoryUsage()) << "B of memory.\n"; in main()
574 << toSI(getMemoryUsage()) << "B of memory.\n"; in main()
580 << toSI(getMemoryUsage()) << "B of memory.\n"; in main()
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/include/cantera/base/
H A Dglobal.h238 doublereal toSI(const std::string& unit);
/dports/biology/abyss/abyss-2.3.1/KAligner/
H A DKAligner.cpp168 << toSI(kmer * sizeof(pair<Kmer, Position>)) in countKmer()
430 << " using " << toSI(getMemoryUsage()) << "B." << endl; in printProgress()
/dports/biology/abyss/abyss-2.3.1/Common/
H A DStringUtil.h32 static inline std::string toSI(double n) in toSI() function
/dports/biology/abyss/abyss-2.3.1/ParseAligns/
H A Dabyss-fixmate.cc200 << " using " << toSI(getMemoryUsage()) << "B." << endl; in printProgress()
H A DParseAligns.cpp386 << toSI(getMemoryUsage()) << "B." << endl; in printProgress()
/dports/biology/abyss/abyss-2.3.1/Assembly/
H A DDBG.h273 << " using " << toSI(getMemoryUsage()) << "B" << std::endl; in printLoad()
/dports/graphics/proj/proj-7.2.1/src/iso19111/
H A Dcrs.cpp1824 const auto &toSI = unit.conversionToSI(); in addGeocentricUnitConversionIntoPROJString() local
1825 formatter->addParam("xy_out", toSI); in addGeocentricUnitConversionIntoPROJString()
1826 formatter->addParam("z_out", toSI); in addGeocentricUnitConversionIntoPROJString()
3997 const double toSI = unit.conversionToSI(); in addUnitConvertAndAxisSwap() local
4005 formatter->addParam("xy_out", toSI); in addUnitConvertAndAxisSwap()
4020 formatter->addParam("to_meter", toSI); in addUnitConvertAndAxisSwap()
/dports/biology/abyss/abyss-2.3.1/Parallel/
H A DNetworkSequenceCollection.cpp488 << toSI(numLoaded * sizeof (value_type)) in runControl()