Vlasov Solver¶
-
vlapy.core.vlasov.get_edfdv(stuff_for_time_loop, edfdv_implementation='exponential')¶ This function enables VlaPy to choose the implementation of the edfdv stepper to use in the lower level sections of the simulation
- Parameters
stuff_for_time_loop – (dictionary) contains the derived parameters for the simulation
vdfdx_implementation – (string) the chosen v df/dx implementation for for this simulation
- Returns
-
vlapy.core.vlasov.get_edfdv_center_differenced(dv)¶ This function creates the center differenced e df/dv stepper
It uses dv as metadata that should stay constant throughout the simulation
- Parameters
dv – (float) the velocity grid spacing
- Returns
a function with the above values initialized as static variables
-
vlapy.core.vlasov.get_edfdv_exponential(kv)¶ This function creates the exponential v df/dx stepper
It uses kv as metadata that should stay constant throughout the simulation
- Parameters
kv – (float array (nv, )) the velocity-space wavenumber
- Returns
a function with the above values initialized as static variables
-
vlapy.core.vlasov.get_edfdv_sl(x, v)¶ Get the e df/dv Semi-Lagrangian stepper
- Parameters
x – (float array (nx, )) the spatial grid
v – (float array (nv, )) the velocity grid
- Returns
a function with the above inputs used to initialize useful static variables
-
vlapy.core.vlasov.get_vdfdx(stuff_for_time_loop, vdfdx_implementation='exponential')¶ This function enables VlaPy to choose the implementation of the vdfdx stepper to use in the lower level sections of the simulation
- Parameters
stuff_for_time_loop – (dictionary) contains the derived parameters for the simulation
vdfdx_implementation – (string) the chosen v df/dx implementation for for this simulation
- Returns
-
vlapy.core.vlasov.get_vdfdx_exponential(kx, v)¶ This function creates the exponential v df/dx stepper
It uses kx and v as metadata that should stay constant throughout the simulation
- Parameters
kx – (float array (nx, )) the real-space wavenumber
v – (float array (nv, )) the velocity grid
- Returns
a function with the above values initialized as static variables
-
vlapy.core.vlasov.get_vdfdx_sl(x, v)¶ Get the v df/dx Semi-Lagrangian stepper
- Parameters
x – (float array (nx, )) the spatial grid
v – (float array (nv, )) the velocity grid
- Returns
a function with the above inputs used to initialize useful static variables