XGC1
Public Member Functions | List of all members
SolverAmpereCV Class Reference

#include <solver_ampere_cv.hpp>

Inheritance diagram for SolverAmpereCV:
Inheritance graph
[legend]
Collaboration diagram for SolverAmpereCV:
Collaboration graph
[legend]

Public Member Functions

 SolverAmpereCV (NLReader::NamelistReader &nlr, bool is_XGCa, bool is_em, const MagneticField< DeviceType > &magnetic_field, const Grid< DeviceType > &grid, std::string label_in, bool spectral_in, bool use_pade_in, bool update_solver, int update_solver_nstep)
 
void setup_boundaries (NLReader::NamelistReader &nlr, bool is_XGCa, bool explicit_electromagnetic, const MagneticField< DeviceType > &magnetic_field, const Grid< DeviceType > &grid)
 
- Public Member Functions inherited from Solver
 Solver (std::string label_in, int solver_index_in, int spec_solver_index_in, bool spectral_in, int n_rhs_in, int n_triangle_in, bool use_pade_in, bool update_solver, int update_solver_nstep)
 
bool update_is_triggered (int gstep) const
 
void update_helm_solver (int isolver, const View< int *, CLayout, HostType > &bd, const View< double *, CLayout, HostType > &alpha, const View< double *, CLayout, HostType > &beta)
 
void update (const View< int *, CLayout, DeviceType > &bd_d)
 
virtual ~Solver ()=default
 

Additional Inherited Members

- Public Types inherited from Solver
enum  SOLVER_INT : int {
  A =0 , A_SPEC , A_CV , A_CV_SPEC ,
  P0 , H , H_SPEC
}
 
- Public Attributes inherited from Solver
std::string label
 
StepTrigger update_trigger
 
bool initialized
 
int solver_index
 
int spec_solver_index
 
bool spectral
 
int n_rhs
 
int n_triangle
 
Boundary bd_rhs
 
Boundary bd
 
bool use_pade
 

Constructor & Destructor Documentation

◆ SolverAmpereCV()

SolverAmpereCV::SolverAmpereCV ( NLReader::NamelistReader nlr,
bool  is_XGCa,
bool  is_em,
const MagneticField< DeviceType > &  magnetic_field,
const Grid< DeviceType > &  grid,
std::string  label_in,
bool  spectral_in,
bool  use_pade_in,
bool  update_solver,
int  update_solver_nstep 
)
inline
Here is the call graph for this function:

Member Function Documentation

◆ setup_boundaries()

void SolverAmpereCV::setup_boundaries ( NLReader::NamelistReader nlr,
bool  is_XGCa,
bool  explicit_electromagnetic,
const MagneticField< DeviceType > &  magnetic_field,
const Grid< DeviceType > &  grid 
)
virtual

< Shift of inner boundary of n!=0 Ampere solver (LHS) outwards relative to sml_inpsi

< Shift of outer boundary of n!=0 Ampere solver (LHS) inwards relative to sml_outpsi

< Shift of inner boundary of n!=0 Ampere solver (RHS=current density) outwards relative to sml_inpsi

< Shift of outer boundary of n!=0 Ampere solver (RHS) inwards relative to sml_outpsi

Implements Solver.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: