45 Info<<
" Constructing blade profiles:" <<
endl;
47 if (modelNames.
size())
53 const word& modelName = modelNames[i];
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 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const profileModel * set(const label i) const
void setSize(const label n)
constexpr PtrList() noexcept
void size(const label n)
Older name for setAddressableSize.
const profileModel & operator[](const label i) const
label size() const noexcept
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
profileModelList(const dictionary &dict, const bool readFields=true)
Constructor.
const dictionary dict_
Dictionary.
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.
static autoPtr< profileModel > New(const dictionary &dict)
Return a reference to the selected fvOption model.
A class for handling words, derived from Foam::string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
List< word > wordList
List of word.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const NameMatchPredicate &selectedFields, DynamicList< regIOobject * > &storedObjects)
Read the selected GeometricFields of the templated type and store on the objectRegistry.
messageStream Info
Information stream (stdout output on master, null elsewhere).
Ostream & endl(Ostream &os)
Add newline and flush stream.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define forAll(list, i)
Loop across all elements in list.