BUG: solidReactionThermo: incorrect name for runtime selection table

This commit is contained in:
mattijs
2012-10-03 12:57:23 +01:00
parent 416940ed33
commit f280cd933b
3 changed files with 6 additions and 6 deletions

View File

@ -31,7 +31,7 @@ License
namespace Foam namespace Foam
{ {
defineTypeNameAndDebug(solidReactionThermo, 0); defineTypeNameAndDebug(solidReactionThermo, 0);
defineRunTimeSelectionTable(solidReactionThermo, mesh); defineRunTimeSelectionTable(solidReactionThermo, fvMesh);
defineRunTimeSelectionTable(solidReactionThermo, dictionary); defineRunTimeSelectionTable(solidReactionThermo, dictionary);
} }

View File

@ -66,7 +66,7 @@ public:
( (
autoPtr, autoPtr,
solidReactionThermo, solidReactionThermo,
mesh, fvMesh,
(const fvMesh& mesh), (const fvMesh& mesh),
(mesh) (mesh)
); );

View File

@ -53,16 +53,16 @@ Foam::autoPtr<Foam::solidReactionThermo> Foam::solidReactionThermo::New
Info<< "Selecting thermodynamics package " << modelType << endl; Info<< "Selecting thermodynamics package " << modelType << endl;
meshConstructorTable::iterator cstrIter = fvMeshConstructorTable::iterator cstrIter =
meshConstructorTablePtr_->find(modelType); fvMeshConstructorTablePtr_->find(modelType);
if (cstrIter == meshConstructorTablePtr_->end()) if (cstrIter == fvMeshConstructorTablePtr_->end())
{ {
FatalErrorIn("solidReactionThermo::New(const fvMesh&)") FatalErrorIn("solidReactionThermo::New(const fvMesh&)")
<< "Unknown solidReactionThermo type " << "Unknown solidReactionThermo type "
<< modelType << nl << nl << modelType << nl << nl
<< "Valid solidReactionThermo types:" << nl << "Valid solidReactionThermo types:" << nl
<< meshConstructorTablePtr_->sortedToc() << nl << fvMeshConstructorTablePtr_->sortedToc() << nl
<< exit(FatalError); << exit(FatalError);
} }