35 const dictionary&
dict 38 const word modelType(
dict.get<word>(
"raySearchEngine"));
40 Info<<
"Selecting " << typeName <<
": " << modelType <<
endl;
42 auto* ctorPtr = meshConstructorTable(modelType);
51 *meshConstructorTablePtr_
55 return autoPtr<raySearchEngine>(ctorPtr(
mesh,
dict));
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
const fvMesh & mesh() const noexcept
Reference to the mesh.
static autoPtr< raySearchEngine > New(const fvMesh &mesh, const dictionary &dict)
Selector.
messageStream Info
Information stream (stdout output on master, null elsewhere)
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...