393 if (HP.
IsKeyWord(
"reference" "elevation")) {
395 silent_cerr(
"LogarithmicWindProfile: "
396 "reference elevation provided twice "
404 }
else if (HP.
IsKeyWord(
"reference" "velocity")) {
406 silent_cerr(
"LogarithmicWindProfile: "
407 "reference velocity provided twice "
415 }
else if (HP.
IsKeyWord(
"surface" "roughness" "length")) {
416 if (dSurfaceRoughnessLength != -1.) {
417 silent_cerr(
"LogarithmicWindProfile: "
418 "surface roughness length provided twice "
424 dSurfaceRoughnessLength = HP.
GetReal();
426 }
else if (HP.
IsKeyWord(
"reference" "position")) {
428 silent_cerr(
"PowerLawWindProfile: "
429 "reference position provided twice "
437 }
else if (HP.
IsKeyWord(
"reference" "orientation")) {
439 silent_cerr(
"PowerLawWindProfile: "
440 "reference orientation provided twice "
454 silent_cerr(
"LogarithmicWindProfile: "
455 "reference elevation missing "
462 silent_cerr(
"LogarithmicWindProfile: "
463 "reference velocity missing "
469 if (dSurfaceRoughnessLength == -1.) {
470 silent_cerr(
"LogarithmicWindProfile: "
471 "surface roughness length missing "
480 dZRef, pVRef, dSurfaceRoughnessLength));
const Vec3 Zero3(0., 0., 0.)
#define MBDYN_EXCEPT_ARGS
Mat3x3 GetRotAbs(const ReferenceFrame &rf)
const Mat3x3 Eye3(1., 0., 0., 0., 1., 0., 0., 0., 1.)
const ReferenceFrame AbsRefFrame(0, Vec3(0., 0., 0), Mat3x3(1., 0., 0., 0., 1., 0., 0., 0., 1.), Vec3(0., 0., 0), Vec3(0., 0., 0), EULER_123)
virtual bool IsKeyWord(const char *sKeyWord)
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
Vec3 GetVecAbs(const ReferenceFrame &rf)
DriveCaller * GetDriveCaller(bool bDeferred=false)
virtual HighParser::ErrOut GetLineData(void) const
virtual doublereal GetReal(const doublereal &dDefval=0.0)