XGC1
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 "get_angular_conversion_fac.hpp"
#include "solvers.hpp"
Include dependency graph for solve_ampere.cpp:

Functions

int solverA_use_this_rank_int (int CV_int)
 
void cce_send_receive_ah ()
 
void ptb_3db_damping_factor_em_wrap (double *As, double *Ah, double rampup_fac, double sml_time)
 
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 Boundary &boundary, const Grid< DeviceType > &grid, Plasma &plasma, const Charges &charges, bool use_ion_current)
 
View< double *, CLayout, HostTypeget_rhs2_ampere (const Simulation< DeviceType > &sml, const Boundary &boundary, const PerturbedBField< DeviceType > &perturbed_B_field, 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, const Boundary &field_boundary, Smoothing &smoothing, const GridField< HostType, VarType::Scalar, PhiInterpType::None, TorType::MultiplePlanes, KinType::DriftKin > &Ah, const View< double *, CLayout, HostType > &As, const PerturbedBField< DeviceType > &perturbed_B_field, int ipc)
 

Function Documentation

◆ cce_send_receive_ah()

void cce_send_receive_ah ( )
Here is the caller graph for this function:

◆ get_bootstrap_current()

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:

◆ get_rhs2_ampere()

View<double*,CLayout,HostType> get_rhs2_ampere ( const Simulation< DeviceType > &  sml,
const Boundary boundary,
const PerturbedBField< DeviceType > &  perturbed_B_field,
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:

◆ get_rhs_ampere()

View<double*,CLayout,HostType> get_rhs_ampere ( const Simulation< DeviceType > &  sml,
const Boundary boundary,
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:

◆ post_process_ampere()

void post_process_ampere ( const Simulation< DeviceType > &  sml,
const MagneticField< DeviceType > &  magnetic_field,
const Grid< DeviceType > &  grid,
const DomainDecomposition< DeviceType > &  pol_decomp,
const Boundary field_boundary,
Smoothing smoothing,
const GridField< HostType, VarType::Scalar, PhiInterpType::None, TorType::MultiplePlanes, KinType::DriftKin > &  Ah,
const View< double *, CLayout, HostType > &  As,
const PerturbedBField< DeviceType > &  perturbed_B_field,
int  ipc 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ptb_3db_damping_factor_em_wrap()

void ptb_3db_damping_factor_em_wrap ( double *  As,
double *  Ah,
double  rampup_fac,
double  sml_time 
)
Here is the caller graph for this function:

◆ solverA_use_this_rank_int()

int solverA_use_this_rank_int ( int  CV_int)
Here is the caller graph for this function: