mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: dimensionSet lookup with LITERAL, not REGEX
This commit is contained in:
@ -173,7 +173,7 @@ public:
|
||||
|
||||
// Constructors
|
||||
|
||||
//- Construct null (dimensionless).
|
||||
//- Default construct (dimensionless).
|
||||
dimensionSet();
|
||||
|
||||
//- Construct from exponents for the first five or all seven dimensions
|
||||
|
||||
@ -35,7 +35,7 @@ License
|
||||
|
||||
Foam::dimensionSet::dimensionSet(const dictionary& dict, const word& entryName)
|
||||
{
|
||||
const entry& e = dict.lookupEntry(entryName, keyType::REGEX);
|
||||
const entry& e = dict.lookupEntry(entryName, keyType::LITERAL);
|
||||
ITstream& is = e.stream();
|
||||
|
||||
is >> *this;
|
||||
|
||||
Reference in New Issue
Block a user