OpenFOAM: v1912 released! - For more information see https://www.openfoam.com/releases/openfoam-v1912

Commit ec1a1cd9 authored by Mark Olesen's avatar Mark Olesen

COMP: upgrade from deprecated dictionary lookupEntry

- use keyType::LITERAL instead of (false, false)
parent 2ac1fa10
......@@ -249,7 +249,7 @@ void Foam::Module::checkMeshDict::checkObjectRefinements() const
forAll(refObjects, objectI)
{
const entry& objectEntry =
dict.lookupEntry(objectNames[objectI], false, false);
dict.lookupEntry(objectNames[objectI], keyType::LITERAL);
refObjects.set
(
......@@ -312,7 +312,7 @@ void Foam::Module::checkMeshDict::checkAnisotropicSources() const
forAll(anisotropicObjects, objectI)
{
const entry& objectEntry =
dict.lookupEntry(objectNames[objectI], false, false);
dict.lookupEntry(objectNames[objectI], keyType::LITERAL);
anisotropicObjects.set
(
......
......@@ -208,7 +208,7 @@ void Foam::Module::meshOctreeCreator::refineBoxesContainedInObjects()
forAll(refObjects, objectI)
{
const entry& objectEntry =
dict.lookupEntry(objectNames[objectI], false, false);
dict.lookupEntry(objectNames[objectI], keyType::LITERAL);
refObjects.set
(
......
......@@ -77,8 +77,7 @@ void Foam::Module::renameBoundaryPatches::calculateNewBoundary()
newPatchNames.lookupEntry
(
keys[patchI],
false,
false
keyType::LITERAL
).clone()
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment