From 5ae28021cd90923918281ede5e10253f688c445e Mon Sep 17 00:00:00 2001 From: sferraris Date: Mon, 5 Dec 2011 14:17:37 +0000 Subject: [PATCH] BUG: getting mesh reference from the right field --- .../basicSolidThermo/directionalKSolidThermo/directionalKSolidThermo.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thermophysicalModels/basicSolidThermo/directionalKSolidThermo/directionalKSolidThermo.C b/src/thermophysicalModels/basicSolidThermo/directionalKSolidThermo/directionalKSolidThermo.C index c6a4de63..a7ab9bdd 100644 --- a/src/thermophysicalModels/basicSolidThermo/directionalKSolidThermo/directionalKSolidThermo.C +++ b/src/thermophysicalModels/basicSolidThermo/directionalKSolidThermo/directionalKSolidThermo.C @@ -136,7 +136,7 @@ void Foam::directionalKSolidThermo::init() { KValues_ = Field(subDict(typeName + "Coeffs").lookup("KValues")); - const fvMesh& mesh = K().mesh(); + const fvMesh& mesh = directionalK_.mesh(); // Determine transforms for cell centres forAll(mesh.C(), cellI) -- 2.11.4.GIT