43 Info<<
" Constructing blade profiles:" <<
endl;
45 if (modelNames.size() > 0)
47 this->
setSize(modelNames.size());
51 const word& modelName = modelNames[i];
86 const word& profileName = names[bI];
92 if (pm.
name() == profileName)
105 profileNames[i] = pm.
name();
109 <<
"Profile " << profileName <<
" could not be found " 110 <<
"in profile list. Available profiles are" ~profileModelList()
Destructor.
#define forAll(list, i)
Loop across all elements in list.
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...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void connectBlades(const List< word > &names, List< label > &addr) const
Set blade->profile addressing.
const T & operator[](const label) const
Return element const reference.
const word & name() const
Return const access to the source name.
Ostream & endl(Ostream &os)
Add newline and flush stream.
wordList toc() const
Return the table of contents.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
points setSize(newPointi)
profileModelList(const dictionary &dict, const bool readFields=true)
Constructor.
autoPtr< BasicCompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleMomentumTransportModel::transportModel &transport)
A class for handling words, derived from string.
Base class for profile models.
label size() const
Return the number of elements in the UPtrList.