C# Class MotionTextureComputer.Form1

Afficher le fichier Open project: Patapom/GodComplex

Méthodes publiques

Méthode Description
Form1 ( ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

FillInput ( float _In ) : void
FillWithBitmap ( float _In ) : void
OnLoad ( EventArgs e ) : void
Phillips ( double kx, double kz, double V, double Wx, double Wz ) : double

The Phillips spectrum: Ph(K) = A.[exp( -1/(k.L)² ) / k^4].dot( Kn, Wn )² Where: A = a numerical factor K = (kx, kz), kx=2.PI.n/Lx, kz=2.PI.m/Lz n€[-N/2,N/2] and m€[-M/2,M/2] k = norm of K Kn = normalized K Wn = normalized wind direction L = V²/g the largest possible wave arising from a continuous wind of speed V g = 9.8m/s² the gravitational constant

Private Methods

Méthode Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Method Details

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

FillInput() protected méthode

protected FillInput ( float _In ) : void
_In float
Résultat void

FillWithBitmap() protected méthode

protected FillWithBitmap ( float _In ) : void
_In float
Résultat void

Form1() public méthode

public Form1 ( ) : System
Résultat System

OnLoad() protected méthode

protected OnLoad ( EventArgs e ) : void
e EventArgs
Résultat void

Phillips() protected méthode

The Phillips spectrum: Ph(K) = A.[exp( -1/(k.L)² ) / k^4].dot( Kn, Wn )² Where: A = a numerical factor K = (kx, kz), kx=2.PI.n/Lx, kz=2.PI.m/Lz n€[-N/2,N/2] and m€[-M/2,M/2] k = norm of K Kn = normalized K Wn = normalized wind direction L = V²/g the largest possible wave arising from a continuous wind of speed V g = 9.8m/s² the gravitational constant
protected Phillips ( double kx, double kz, double V, double Wx, double Wz ) : double
kx double
kz double
V double Wind velocity in m/s
Wx double Normalized wind direction
Wz double
Résultat double