WARPXM v1.10.0
Loading...
Searching...
No Matches
wmicfunction_randomvelocity_fluid13.h
Go to the documentation of this file.
1#ifndef WMICFUNCTION_RANDOMVELOCITY_FLUID13_H
2#define WMICFUNCTION_RANDOMVELOCITY_FLUID13_H
3
4// std includes
5#include <vector>
6#include <string>
7
8// Wm includes
10
12{
13public:
20
27
34 void setup(const WxCryptSet& wxc);
35
43 void applyFunction(const real* position, real* value) const;
44
45private:
46 real rand(const real min, const real max) const;
47
48 real _amplitude;
49 real _mass;
50 real _n;
51 real _T;
52};
53
54#endif // WMICFUNCTION_RANDOMVELOCITY_FLUID13_H
Definition: wmicfunction_randomvelocity_fluid13.h:12
WmICFunction_RandomVelocity_Fluid13()
Create new WmICFunction_RandomVelocity_Fluid13.
void setup(const WxCryptSet &wxc)
Setup WmICFunction_RandomVelocity_Fluid13 object using supplied cryptset.
void applyFunction(const real *position, real *value) const
Evaluate the function at a position and return the result through a pointer.
~WmICFunction_RandomVelocity_Fluid13()
Destroy WmICFunction_RandomVelocity_Fluid13.
Base class for functions used in generating initial conditions.
Definition: wmicfunction.h:25
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
#define real
Definition: wmoclunstructuredreconstruction.h:11