33 const word& patchType,
43 Info<<
"polyPatch::New(const word&, const word&, const label, " 44 "const label, const label, const polyBoundaryMesh&) : " 45 "constructing polyPatch" 49 wordConstructorTable::iterator cstrIter =
50 wordConstructorTablePtr_->find(patchType);
52 if (cstrIter == wordConstructorTablePtr_->end())
56 "polyPatch::New(const word&, const word&, const label, " 57 "const label, const label, const polyBoundaryMesh&) " 58 ) <<
"Unknown polyPatch type " 59 << patchType <<
" for patch " << name <<
nl <<
nl 60 <<
"Valid polyPatch types are :" <<
endl 61 << wordConstructorTablePtr_->sortedToc()
90 Info<<
"polyPatch::New(const word&, const dictionary&, const label, " 91 "const polyBoundaryMesh&) : constructing polyPatch" 104 const word& patchType,
113 Info<<
"polyPatch::New(const word&, const word&, const dictionary&, " 114 "const label, const polyBoundaryMesh&) : constructing polyPatch" 118 dictionaryConstructorTable::iterator cstrIter =
119 dictionaryConstructorTablePtr_->find(patchType);
121 if (cstrIter == dictionaryConstructorTablePtr_->end())
123 if (!disallowGenericPolyPatch)
125 cstrIter = dictionaryConstructorTablePtr_->find(
"genericPatch");
128 if (cstrIter == dictionaryConstructorTablePtr_->end())
132 "polyPatch::New(const word&, const dictionary&, " 133 "const label, const polyBoundaryMesh&)",
135 ) <<
"Unknown polyPatch type " 136 << patchType <<
" for patch " << name <<
nl <<
nl 137 <<
"Valid polyPatch types are :" <<
endl 138 << dictionaryConstructorTablePtr_->sortedToc()
word name(const complex &)
Return a string representation of a complex.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< polyPatch > New(const word &patchType, const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm)
Return a pointer to a new patch created on freestore from.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
bool readIfPresent(const word &, T &, bool recursive=false, bool patternMatch=true) const
Find an entry if present, and assign to T.
#define FatalIOErrorIn(functionName, ios)
Report an error message using Foam::FatalIOError.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...