From d42852a1a0914dfebe5381b170f4373e716f2ed3 Mon Sep 17 00:00:00 2001 From: andy Date: Thu, 21 Oct 2010 16:30:40 +0100 Subject: [PATCH] ENH: work-around compiler bug for lookupOrDefault --- .../PatchInteractionModel/PatchInteractionModel.C | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/PatchInteractionModel/PatchInteractionModel.C b/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/PatchInteractionModel/PatchInteractionModel.C index ff6d20dccb..fd04066e1f 100644 --- a/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/PatchInteractionModel/PatchInteractionModel.C +++ b/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/PatchInteractionModel/PatchInteractionModel.C @@ -124,8 +124,7 @@ Foam::PatchInteractionModel::PatchInteractionModel ) : SubModelBase(owner, dict, type), -// UName_(this->coeffDict().lookupOrDefault("UName", "U")) - UName_(this->coeffDict().lookup("UName")) + UName_(this->coeffDict().lookupOrDefault("UName", word("U"))) {}