34 template<
typename TDataType>
39 typedef typename TDataType::Real
Real;
40 typedef typename TDataType::Coord
Coord;
41 typedef typename ::dyno::Complex<Real>
Complex;
46 std::string
getNodeType()
override {
return "Height Fields"; }
#define DECLARE_TCLASS(name, T1)
#define IMPLEMENT_TCLASS(name, T1)
DEF_VAR(Real, Amplitude, 0, "")
std::vector< WindParam > mParams
DEF_VAR(Real, Choppiness, 0, "")
DEF_VAR(uint, Resolution, 512, "")
void updateStates() override
DEF_VAR(Real, WindSpeed, 0, "")
::dyno::Complex< Real > Complex
DEF_INSTANCE_STATE(HeightField< TDataType >, HeightField, "Height field")
DEF_VAR(Real, PatchSize, Real(512), "Real patch size")
DEF_VAR(uint, WindType, 2, "wind Types")
DEF_VAR(Real, GlobalShift, 0, "")
DEF_VAR(Real, TimeScale, Real(1), "")
DEF_VAR(Real, WindDirection, Real(60), "Wind direction")
std::string getNodeType() override
void resetStates() override
void postUpdateStates() override
This is an implementation of AdditiveCCD based on peridyno.
Array2D< T, DeviceType::GPU > DArray2D