43 Info<<
" Constructing blade profiles:" <<
endl;
45 if (modelNames.
size() > 0)
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"
#define forAll(list, i)
Loop across all elements in list.
void size(const label)
Override size to be inconsistent with allocated storage.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
bool set(const label) const
Is element set.
void setSize(const label)
Reset size of PtrList. If extending the PtrList, new entries are.
A list of keyword definitions, which are a keyword followed by any number of values (e....
~profileModelList()
Destructor.
profileModelList(const dictionary &dict, const bool readFields=true)
Constructor.
void connectBlades(const List< word > &names, List< label > &addr) const
Set blade->profile addressing.
Base class for profile models.
const word & name() const
Return const access to the source name.
static autoPtr< profileModel > New(const dictionary &dict)
Return a reference to the selected fvModel model.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const HashSet< word > &selectedFields, LIFOStack< regIOobject * > &storedObjects)
Read the selected GeometricFields of the specified type.