Go to the documentation of this file.
45 Info<<
" Constructing blade profiles:" <<
endl;
47 if (modelNames.size())
49 this->
setSize(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"
points setSize(newPointi)
A class for handling words, derived from Foam::string.
const word & name() const
Return const access to the source name.
Ostream & endl(Ostream &os)
Add newline and flush stream.
profileModelList(const dictionary &dict, const bool readFields=true)
Constructor.
#define forAll(list, i)
Loop across all elements in list.
messageStream Info
Information stream (uses stdout - output is on the master only)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
errorManipArg< error, int > exit(error &err, const int errNo=1)
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const wordHashSet &selectedFields, LIFOStack< regIOobject * > &storedObjects)
Read the selected GeometricFields of the templated type.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void connectBlades(const List< word > &names, List< label > &addr) const
Set blade->profile addressing.
Base class for profile models.