XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
loop_voltage.hpp File Reference
#include "grid.hpp"
#include "globals.hpp"
Include dependency graph for loop_voltage.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class Device , PhiInterpType PIT>
KOKKOS_INLINE_FUNCTION void add_loop_voltage (const PushControls &push_controls, const Grid< Device > &grid, const MagneticField< Device > &magnetic_field, const GridFieldPack< Device, PIT > &gfpack, const Species< Device > &species, const SimdParticles &part, const Simd< double > &B_mag, const Simd< double > &psi, SimdVector &efield, SimdGridWeights< Order::One, PIT > &grid_wts)
 

Function Documentation

template<class Device , PhiInterpType PIT>
KOKKOS_INLINE_FUNCTION void add_loop_voltage ( const PushControls push_controls,
const Grid< Device > &  grid,
const MagneticField< Device > &  magnetic_field,
const GridFieldPack< Device, PIT > &  gfpack,
const Species< Device > &  species,
const SimdParticles part,
const Simd< double > &  B_mag,
const Simd< double > &  psi,
SimdVector efield,
SimdGridWeights< Order::One, PIT > &  grid_wts 
)

Add electric force from loop voltage Loop voltage acts only on markers inside the LCFS and with velocity v<4*v_th

Parameters
[in]push_controlsgeneral push settings (for the loop voltage settings)
[in]magnetic_fieldthe magnetic field
[in]speciesthe species
[in]partthe vector particles
[in]B_magthe magnetic field magnitude
[in]psithe psi value
[in,out]efieldthe electric field to be updated

Here is the call graph for this function:

Here is the caller graph for this function: