Shinya Kitaoka 810553
#pragma once
Shinya Kitaoka 810553
Toshihiro Shimizu 890ddd
#ifndef igs_motion_wind_table_h
Toshihiro Shimizu 890ddd
#define igs_motion_wind_table_h
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#include <vector></vector>
Toshihiro Shimizu 890ddd
#include "igs_math_random.h"
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#ifndef IGS_MOTION_WIND_EXPORT
Toshihiro Shimizu 890ddd
#define IGS_MOTION_WIND_EXPORT
Toshihiro Shimizu 890ddd
#endif
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
namespace igs {
Shinya Kitaoka 120a6e
namespace motion_wind {
Shinya Kitaoka 120a6e
IGS_MOTION_WIND_EXPORT int table_size(const double length_min,
Shinya Kitaoka 120a6e
                                      const double length_max);
Shinya Kitaoka 120a6e
IGS_MOTION_WIND_EXPORT int
Shinya Kitaoka 120a6e
make_table(/* tableの有効長を返す */
Shinya Kitaoka 120a6e
           std::vector<double> &table, igs::math::random &length_random,</double>
Shinya Kitaoka 120a6e
           igs::math::random &force_random, igs::math::random &density_random,
Shinya Kitaoka 120a6e
           const double length_min = 0.0, const double length_max = 1.0,
Shinya Kitaoka 120a6e
           const double length_bias = 1.0  // 0<...1...
Shinya Kitaoka 120a6e
           ,
Shinya Kitaoka 120a6e
           const double force_min = 0.0, const double force_max = 1.0,
Shinya Kitaoka 120a6e
           const double force_bias = 1.0  // 0<...1...
Shinya Kitaoka 120a6e
           ,
Shinya Kitaoka 120a6e
           const double density_min = 0.0, const double density_max = 1.0,
Shinya Kitaoka 120a6e
           const double density_bias = 1.0  // 0<...1...
Shinya Kitaoka 120a6e
           );
Toshihiro Shimizu 890ddd
}
Toshihiro Shimizu 890ddd
}
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#endif /* !igs_motion_wind_table_h */