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
{
defineTypeNameAndDebug(solidReactionThermo, 0);
defineRunTimeSelectionTable(solidReactionThermo, mesh);
defineRunTimeSelectionTable(solidReactionThermo, fvMesh);
defineRunTimeSelectionTable(solidReactionThermo, dictionary);
}

View File

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

View File

@ -53,16 +53,16 @@ Foam::autoPtr<Foam::solidReactionThermo> 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);
}