MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / floatScalarToken

Method floatScalarToken

src/OpenFOAM/db/IOstreams/token/tokenI.H:277–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277inline Foam::floatScalar Foam::token::floatScalarToken() const
278{
279 if (type_ == FLOAT_SCALAR)
280 {
281 return floatScalarToken_;
282 }
283 else
284 {
285 parseError("floatScalar");
286 return 0.0;
287 }
288}
289
290
291inline bool Foam::token::isDoubleScalar() const

Callers 1

tokenIO.CFile · 0.80

Calls 1

parseErrorFunction · 0.85

Tested by

no test coverage detected