45 Info<<
" Constructing blade profiles:" <<
endl;
47 if (modelNames.
size())
53 const word& modelName = modelNames[i];
82 const word& profileName = names[bI];
88 if (pm.
name() == profileName)
101 profileNames[i] = pm.
name();
105 <<
"Profile " << profileName <<
" could not be found "
106 <<
"in profile list. Available profiles are"
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
const profileModel * set(const label i) const
void setSize(const label newLen)
Same as resize()
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
void size(const label n)
Older name for setAddressableSize.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
wordList toc() const
Return the table of contents.
Base class for profile models.
void connectBlades(const List< word > &names, List< label > &addr) const
Set blade->profile addressing.
Base class for profile models for handling aerofoil lift and drag polar diagrams.
const word & name() const
Return const access to the source name.
A class for handling words, derived from Foam::string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
messageStream Info
Information stream (stdout output on master, null elsewhere)
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const wordHashSet &selectedFields, LIFOStack< regIOobject * > &storedObjects)
Read the selected GeometricFields of the templated type.
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define forAll(list, i)
Loop across all elements in list.