31 if(nlr.
present(
"diff_bd_out")) outer_psi_bound *= magnetic_field.
psi_norm();
double inpsi
Boundary condition used in a few spots.
Definition: magnetic_field.hpp:42
T get(const string ¶m, const T default_val, int val_ind=0)
Definition: NamelistReader.hpp:373
Definition: diag_f0_df.hpp:9
Definition: velocity_grid.hpp:8
bool present(const string ¶m)
Definition: NamelistReader.hpp:363
subroutine plasma(grid, itr, p, dene_out, deni_out, Te_out, Ti_out, Vparai_out)
Calculate the plasma density, temperature, and parallel velocity for a point in triangle itr using pl...
Definition: neutral_totalf.F90:1224
Definition: NamelistReader.hpp:193
Definition: magnetic_field.hpp:12
Definition: moments.hpp:13
Definition: electric_field.hpp:42
Definition: diffusion.hpp:15
KOKKOS_INLINE_FUNCTION double psi_norm() const
Definition: magnetic_field.tpp:3
Diffusion(NLReader::NamelistReader &nlr, const MagneticField< DeviceType > &magnetic_field)
Definition: diffusion.hpp:23
double outpsi
Boundary condition used in a few spots.
Definition: magnetic_field.hpp:43
void use_namelist(const string &namelist)
Definition: NamelistReader.hpp:355
double inner_psi_bound
Definition: diffusion.hpp:16
Definition: magnetic_field.F90:1
Definition: plasma.hpp:13
double outer_psi_bound
Definition: diffusion.hpp:17
Diffusion()
Definition: diffusion.hpp:21
void apply(const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, ElectricField< DeviceType > &electric_field, const DomainDecomposition< DeviceType > &pol_decomp, const VelocityGrid &vgrid, Plasma &plasma, DiagF0DF &diag_f0_df, const Moments &moments, VGridDistribution< HostType > &f0_f, VGridDistribution< HostType > &f0_df0g, VGridDistribution< HostType > &df0g_tmp, double dt)
Definition: diffusion.cpp:565