Gyselalib++
 
Loading...
Searching...
No Matches
KelvinHelmholtzInstabilityInitialization Class Reference

Initialize the allfdistribu function. More...

Public Member Functions

 KelvinHelmholtzInstabilityInitialization (double const epsilon, double const mode_k)
 Instantiate the initializer.
 
void operator() (DFieldXY allfdistribu, DFieldXY allfdistribu_equilibrium)
 Initialise \( f_{eq}\) and \( f \).
 

Detailed Description

Initialize the allfdistribu function.

Set the allfdistribu at \( f_{eq}(x, y) = \sin(y) \)

and \( f_0(x, y) = f_{eq}(x, y) + \varepsilon \cos(kx) \),

with \( \varepsilon \) an amplitude of perturbation and \( k \) mode equal to \( 2\pi \) divided by the length of the index range on \( x \).

Constructor & Destructor Documentation

◆ KelvinHelmholtzInstabilityInitialization()

KelvinHelmholtzInstabilityInitialization::KelvinHelmholtzInstabilityInitialization ( double const  epsilon,
double const  mode_k 
)
inline

Instantiate the initializer.

Parameters
epsilon\( \varepsilon \), the amplitude of perturbation.
mode_k\( k \), the perturbation mode.

Member Function Documentation

◆ operator()()

void KelvinHelmholtzInstabilityInitialization::operator() ( DFieldXY  allfdistribu,
DFieldXY  allfdistribu_equilibrium 
)
inline

Initialise \( f_{eq}\) and \( f \).

Parameters
allfdistribuField refering to the \( f \) function.
allfdistribu_equilibriumField refering to the \( f_{eq} \) function.

The documentation for this class was generated from the following file: