131 const List<scalar>& values,
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Blade model class calculates:
const List< scalar > & chord() const
Return const access to the chord list.
const List< label > & profileID() const
Return const access to the profile ID list.
List< word > profileName_
Corresponding profile name per section.
bladeModel(const bladeModel &)=delete
No copy construct.
const List< scalar > & radius() const
Return const access to the radius list.
List< label > profileID_
Corresponding profile ID per section.
const List< word > & profileName() const
Return const access to the profile name list.
List< scalar > radius_
Radius [m].
void operator=(const bladeModel &)=delete
No copy assignment.
List< scalar > chord_
Chord [m].
const List< scalar > & twist() const
Return const access to the twist list.
bool readFromFile() const
Return true if file name is set.
void interpolateWeights(const scalar &xIn, const List< scalar > &values, label &i1, label &i2, scalar &ddx) const
Return the interpolation indices and gradient.
fileName fName_
File name (optional)
virtual ~bladeModel()=default
Destructor.
List< scalar > twist_
Twist [deg] on input, converted to [rad].
virtual void interpolate(const scalar radius, scalar &twist, scalar &chord, label &i1, label &i2, scalar &invDr) const
Return the twist and chord for a given radius.
bladeModel(const dictionary &dict)
Construct from dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling file names.