XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
solve_ampere.cpp File Reference
#include "toroidal_average.hpp"
#include "send_recv_potential.hpp"
#include "em_field_filter.hpp"
#include "my_subview.hpp"
#include "spectral_decomposition.hpp"
#include "solve.hpp"
#include "flux_surface_average.hpp"
#include "solve_ampere.hpp"
Include dependency graph for solve_ampere.cpp:

Functions

void subtract_As_vac (double *rhs2)
 
int solverA_use_this_rank_int (int CV_int)
 
void save_rhs_ampere (double *rhs, int ipc)
 
void cce_send_receive_ah ()
 
void save_Ah ()
 
void ptb_3db_damping_factor_em_wrap ()
 
void apply_radial_hyperviscosity (double *input, double *output)
 
rtypeget_psn_AbdH_2_iseg_loc ()
 
int get_psn_AbdH_2_nseg ()
 
rtypeget_psn_jbdH_2_iseg_loc ()
 
int get_psn_jbdH_2_nseg ()
 
View< double *, CLayout, HostTypeget_bootstrap_current (const Grid< DeviceType > &grid, Plasma &plasma, const Charges &charges, bool use_ion_current)
 
View< double *, CLayout, HostTypeget_rhs_ampere (const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, Plasma &plasma, const Charges &charges, bool is_cv_solve)
 
View< double *, CLayout, HostTypeget_rhs2_ampere (const Simulation< DeviceType > &sml, const View< double *, CLayout, HostType > &Ah, const View< double *, CLayout, HostType > &As, bool is_cv_solve)
 
void post_process_ampere (const Simulation< DeviceType > &sml, const MagneticField< DeviceType > &magnetic_field, const Grid< DeviceType > &grid, const DomainDecomposition< DeviceType > &pol_decomp, Smoothing &smoothing, const GridField< HostType, VarType::Scalar, PhiInterpType::None, TorType::MultiplePlanes, KinType::DriftKin > &Ah, int ipc, bool is_cv_solve)
 
void solve_ampere (const Simulation< DeviceType > &sml, const MagneticField< DeviceType > &magnetic_field, const Grid< DeviceType > &grid, const DomainDecomposition< DeviceType > &pol_decomp, Plasma &plasma, const Charges &charges, Smoothing &smoothing, int ipc, bool is_cv_solve, ElectricField< DeviceType > &electric_field, bool save_rhs)
 

Function Documentation

void apply_radial_hyperviscosity ( double *  input,
double *  output 
)
void cce_send_receive_ah ( )

Here is the caller graph for this function:

View<double*,CLayout,HostType> get_bootstrap_current ( const Grid< DeviceType > &  grid,
Plasma plasma,
const Charges charges,
bool  use_ion_current 
)

Here is the call graph for this function:

Here is the caller graph for this function:

rtype* get_psn_AbdH_2_iseg_loc ( )
int get_psn_AbdH_2_nseg ( )
rtype* get_psn_jbdH_2_iseg_loc ( )
int get_psn_jbdH_2_nseg ( )
View<double*,CLayout,HostType> get_rhs2_ampere ( const Simulation< DeviceType > &  sml,
const View< double *, CLayout, HostType > &  Ah,
const View< double *, CLayout, HostType > &  As,
bool  is_cv_solve 
)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! Set the symplectic vector potential for calculating !! div(grad(A_s)) on the RHS of Ampere's law !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Here is the call graph for this function:

Here is the caller graph for this function:

View<double*,CLayout,HostType> get_rhs_ampere ( const Simulation< DeviceType > &  sml,
const Grid< DeviceType > &  grid,
Plasma plasma,
const Charges charges,
bool  is_cv_solve 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void post_process_ampere ( const Simulation< DeviceType > &  sml,
const MagneticField< DeviceType > &  magnetic_field,
const Grid< DeviceType > &  grid,
const DomainDecomposition< DeviceType > &  pol_decomp,
Smoothing smoothing,
const GridField< HostType, VarType::Scalar, PhiInterpType::None, TorType::MultiplePlanes, KinType::DriftKin > &  Ah,
int  ipc,
bool  is_cv_solve 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void ptb_3db_damping_factor_em_wrap ( )

Here is the caller graph for this function:

void save_Ah ( )

Here is the caller graph for this function:

void save_rhs_ampere ( double *  rhs,
int  ipc 
)

Here is the caller graph for this function:

void solve_ampere ( const Simulation< DeviceType > &  sml,
const MagneticField< DeviceType > &  magnetic_field,
const Grid< DeviceType > &  grid,
const DomainDecomposition< DeviceType > &  pol_decomp,
Plasma plasma,
const Charges charges,
Smoothing smoothing,
int  ipc,
bool  is_cv_solve,
ElectricField< DeviceType > &  electric_field,
bool  save_rhs 
)

Here is the call graph for this function:

int solverA_use_this_rank_int ( int  CV_int)

Here is the caller graph for this function:

void subtract_As_vac ( double *  rhs2)

Here is the caller graph for this function: