mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: solidReactionThermo: incorrect name for runtime selection table
This commit is contained in:
@ -31,7 +31,7 @@ License
|
||||
namespace Foam
|
||||
{
|
||||
defineTypeNameAndDebug(solidReactionThermo, 0);
|
||||
defineRunTimeSelectionTable(solidReactionThermo, mesh);
|
||||
defineRunTimeSelectionTable(solidReactionThermo, fvMesh);
|
||||
defineRunTimeSelectionTable(solidReactionThermo, dictionary);
|
||||
}
|
||||
|
||||
|
||||
@ -66,7 +66,7 @@ public:
|
||||
(
|
||||
autoPtr,
|
||||
solidReactionThermo,
|
||||
mesh,
|
||||
fvMesh,
|
||||
(const fvMesh& mesh),
|
||||
(mesh)
|
||||
);
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user