From f280cd933bacc5643d4f76a6a99309e4ba296734 Mon Sep 17 00:00:00 2001 From: mattijs Date: Wed, 3 Oct 2012 12:57:23 +0100 Subject: [PATCH] BUG: solidReactionThermo: incorrect name for runtime selection table --- .../solidThermo/solidReactionThermo/solidReactionThermo.C | 2 +- .../solidThermo/solidReactionThermo/solidReactionThermo.H | 2 +- .../solidReactionThermo/solidReactionThermoNew.C | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/thermophysicalModels/solidThermo/solidReactionThermo/solidReactionThermo.C b/src/thermophysicalModels/solidThermo/solidReactionThermo/solidReactionThermo.C index 00f75ac7cc..b0f985f2f3 100644 --- a/src/thermophysicalModels/solidThermo/solidReactionThermo/solidReactionThermo.C +++ b/src/thermophysicalModels/solidThermo/solidReactionThermo/solidReactionThermo.C @@ -31,7 +31,7 @@ License namespace Foam { defineTypeNameAndDebug(solidReactionThermo, 0); - defineRunTimeSelectionTable(solidReactionThermo, mesh); + defineRunTimeSelectionTable(solidReactionThermo, fvMesh); defineRunTimeSelectionTable(solidReactionThermo, dictionary); } diff --git a/src/thermophysicalModels/solidThermo/solidReactionThermo/solidReactionThermo.H b/src/thermophysicalModels/solidThermo/solidReactionThermo/solidReactionThermo.H index 6aa8a76047..e9112602e1 100644 --- a/src/thermophysicalModels/solidThermo/solidReactionThermo/solidReactionThermo.H +++ b/src/thermophysicalModels/solidThermo/solidReactionThermo/solidReactionThermo.H @@ -66,7 +66,7 @@ public: ( autoPtr, solidReactionThermo, - mesh, + fvMesh, (const fvMesh& mesh), (mesh) ); diff --git a/src/thermophysicalModels/solidThermo/solidReactionThermo/solidReactionThermoNew.C b/src/thermophysicalModels/solidThermo/solidReactionThermo/solidReactionThermoNew.C index 6ef34f0e76..38d044c9f1 100644 --- a/src/thermophysicalModels/solidThermo/solidReactionThermo/solidReactionThermoNew.C +++ b/src/thermophysicalModels/solidThermo/solidReactionThermo/solidReactionThermoNew.C @@ -53,16 +53,16 @@ Foam::autoPtr Foam::solidReactionThermo::New Info<< "Selecting thermodynamics package " << modelType << endl; - meshConstructorTable::iterator cstrIter = - meshConstructorTablePtr_->find(modelType); + fvMeshConstructorTable::iterator cstrIter = + fvMeshConstructorTablePtr_->find(modelType); - if (cstrIter == meshConstructorTablePtr_->end()) + if (cstrIter == fvMeshConstructorTablePtr_->end()) { FatalErrorIn("solidReactionThermo::New(const fvMesh&)") << "Unknown solidReactionThermo type " << modelType << nl << nl << "Valid solidReactionThermo types:" << nl - << meshConstructorTablePtr_->sortedToc() << nl + << fvMeshConstructorTablePtr_->sortedToc() << nl << exit(FatalError); }