mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: more consistent New methods, use unregistered IOobject where appropriate
This commit is contained in:
@ -27,7 +27,8 @@ License
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
Foam::autoPtr<Foam::calcType> Foam::calcType::New
|
||||
Foam::autoPtr<Foam::calcType>
|
||||
Foam::calcType::New
|
||||
(
|
||||
const word& calcTypeName
|
||||
)
|
||||
@ -40,9 +41,8 @@ Foam::autoPtr<Foam::calcType> Foam::calcType::New
|
||||
if (cstrIter == dictionaryConstructorTablePtr_->end())
|
||||
{
|
||||
FatalErrorIn("calcType::New()")
|
||||
<< " unknown calcType type " << calcTypeName
|
||||
<< ", constructor not in hash table" << nl << nl
|
||||
<< " Valid calcType selections are: " << nl
|
||||
<< "Unknown calcType type " << calcTypeName
|
||||
<< "Valid calcType selections are:" << nl
|
||||
<< dictionaryConstructorTablePtr_->sortedToc() << nl
|
||||
<< abort(FatalError);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user