XGC1
|
#include "my_subview.hpp"
#include "send_recv_potential.hpp"
#include "fourier_filter.hpp"
#include "toroidal_average.hpp"
#include "solve.hpp"
#include "solve_poisson_turb.hpp"
Functions | |
void | save_rhs_poisson (double *rhs, int iflag, int ipc) |
void | post_process_turb_poisson_neo () |
void | cce_poisson_turb (int adiabatic_int, Field< VarType::Scalar, PhiInterpType::None > *pot0) |
void | zero_out_axisym_es_rgn (double *pot) |
int | get_solverH_nbndry () |
int | solverH_use_this_rank_int () |
void | zero_out_wall_fort (double *rhs) |
KOKKOS_INLINE_FUNCTION bool | is_em_turb (const Simulation< DeviceType > &sml, const MagneticField< DeviceType > &magnetic_field, double r, double z, double psi) |
void | set_rhs_poisson_turb (const Simulation< DeviceType > &sml, const MagneticField< DeviceType > &magnetic_field, const Grid< DeviceType > &grid, Plasma &plasma, const Charges &charges, SolverSetting solver_setting, const Boundary &charge_bndry, const View< double *, CLayout, HostType > &rhs) |
KOKKOS_INLINE_FUNCTION double | fourier_filter_damp_fac (double psi, double inpsi, double outpsi, double bd_width) |
void | post_process (const Simulation< DeviceType > &sml, const MagneticField< DeviceType > &magnetic_field, const Grid< DeviceType > &grid, const DomainDecomposition< DeviceType > &pol_decomp, Smoothing &smoothing, const Boundary &hypervisc_bndry, Plasma &plasma, const View< double *, CLayout, HostType > &dpot_double) |
void | update_saved_dpot (const View< double **, CLayout, HostType > &dpot_h, const View< double ***, CLayout, HostType > &save_dpot0, const View< double ***, CLayout, HostType > &save_dpot, int ipc) |
void | solve_poisson_turb (const Simulation< DeviceType > &sml, const MagneticField< DeviceType > &magnetic_field, const Grid< DeviceType > &grid, const DomainDecomposition< DeviceType > &pol_decomp, Smoothing &smoothing, Plasma &plasma, const Charges &charges, int ipc, SolverSetting solver_setting, const ElectricField< DeviceType > &electric_field, bool save_rhs) |
void cce_poisson_turb | ( | int | adiabatic_int, |
Field< VarType::Scalar, PhiInterpType::None > * | pot0 | ||
) |
KOKKOS_INLINE_FUNCTION double fourier_filter_damp_fac | ( | double | psi, |
double | inpsi, | ||
double | outpsi, | ||
double | bd_width | ||
) |
int get_solverH_nbndry | ( | ) |
KOKKOS_INLINE_FUNCTION bool is_em_turb | ( | const Simulation< DeviceType > & | sml, |
const MagneticField< DeviceType > & | magnetic_field, | ||
double | r, | ||
double | z, | ||
double | psi | ||
) |
void post_process | ( | const Simulation< DeviceType > & | sml, |
const MagneticField< DeviceType > & | magnetic_field, | ||
const Grid< DeviceType > & | grid, | ||
const DomainDecomposition< DeviceType > & | pol_decomp, | ||
Smoothing & | smoothing, | ||
const Boundary & | hypervisc_bndry, | ||
Plasma & | plasma, | ||
const View< double *, CLayout, HostType > & | dpot_double | ||
) |
void post_process_turb_poisson_neo | ( | ) |
void save_rhs_poisson | ( | double * | rhs, |
int | iflag, | ||
int | ipc | ||
) |
void set_rhs_poisson_turb | ( | const Simulation< DeviceType > & | sml, |
const MagneticField< DeviceType > & | magnetic_field, | ||
const Grid< DeviceType > & | grid, | ||
Plasma & | plasma, | ||
const Charges & | charges, | ||
SolverSetting | solver_setting, | ||
const Boundary & | charge_bndry, | ||
const View< double *, CLayout, HostType > & | rhs | ||
) |
void solve_poisson_turb | ( | const Simulation< DeviceType > & | sml, |
const MagneticField< DeviceType > & | magnetic_field, | ||
const Grid< DeviceType > & | grid, | ||
const DomainDecomposition< DeviceType > & | pol_decomp, | ||
Smoothing & | smoothing, | ||
Plasma & | plasma, | ||
const Charges & | charges, | ||
int | ipc, | ||
SolverSetting | solver_setting, | ||
const ElectricField< DeviceType > & | electric_field, | ||
bool | save_rhs | ||
) |
int solverH_use_this_rank_int | ( | ) |
void update_saved_dpot | ( | const View< double **, CLayout, HostType > & | dpot_h, |
const View< double ***, CLayout, HostType > & | save_dpot0, | ||
const View< double ***, CLayout, HostType > & | save_dpot, | ||
int | ipc | ||
) |
void zero_out_axisym_es_rgn | ( | double * | pot | ) |
void zero_out_wall_fort | ( | double * | rhs | ) |