XGC1
|
#include <magnetic_equil_files.hpp>
Public Member Functions | |
void | read_eq_dims (FileReader &file_reader, int &mr, int &mz, int &mphi, int &wedge_n) |
void | read_eq (FileReader &file_reader, int iphi) |
MagneticEquilFiles3D (const std::string &eq_filebase) | |
Public Member Functions inherited from MagneticEquilFiles | |
virtual | ~MagneticEquilFiles ()=default |
Static Public Member Functions | |
static MagneticEquilFiles3D | eq_files_from_namelist (NLReader::NamelistReader &nlr) |
Static Public Member Functions inherited from MagneticEquilFiles | |
static Ptr | eq_files_ptr_from_namelist (NLReader::NamelistReader &nlr, bool is_3D) |
Public Attributes | |
RZBounds | bounds |
Min and max for r and z (the same for all planes) More... | |
int | periodicity |
Toroidal periodicity or torus wedge number for a tokamak (not used but written to the output for diagnostics) More... | |
int | mp |
Number of planes (not used but written to the output for diagnostics) More... | |
View< double *, HostType > | rgrid |
Uniform grid in r. More... | |
View< double *, HostType > | zgrid |
Uniform grid in z. More... | |
View< double *, HostType > | phigrid |
Uniform grid in phi. More... | |
View< double ***, CLayout, HostType > | psi |
Normalized poloidal flux on phi-z-r grid. More... | |
View< double ***, CLayout, HostType > | VMEC_angle |
VMEC angle on phi-z-r grid (not used but written to the output for diagnostics) More... | |
View< double ***, CLayout, HostType > | PEST_angle |
PEST angle on phi-z-r grid (not used but written to the output for diagnostics) More... | |
View< double ***, CLayout, HostType > | Br |
r magnetic field component on phi-z-r grid More... | |
View< double ***, CLayout, HostType > | Bz |
z magnetic field component on phi-z-r grid More... | |
View< double ***, CLayout, HostType > | Bphi |
phi magnetic field component on phi-z-r grid More... | |
Additional Inherited Members | |
Public Types inherited from MagneticEquilFiles | |
using | Ptr = std::shared_ptr< MagneticEquilFiles > |
MagneticEquilFiles3D::MagneticEquilFiles3D | ( | const std::string & | eq_filebase | ) |
|
static |
< eq_filename is the name of the equilibrium input
void MagneticEquilFiles3D::read_eq | ( | FileReader & | file_reader, |
int | iphi | ||
) |
void MagneticEquilFiles3D::read_eq_dims | ( | FileReader & | file_reader, |
int & | mr, | ||
int & | mz, | ||
int & | mphi, | ||
int & | wedge_n | ||
) |
RZBounds MagneticEquilFiles3D::bounds |
Min and max for r and z (the same for all planes)
phi magnetic field component on phi-z-r grid
r magnetic field component on phi-z-r grid
z magnetic field component on phi-z-r grid
int MagneticEquilFiles3D::mp |
Number of planes (not used but written to the output for diagnostics)
int MagneticEquilFiles3D::periodicity |
Toroidal periodicity or torus wedge number for a tokamak (not used but written to the output for diagnostics)
PEST angle on phi-z-r grid (not used but written to the output for diagnostics)
View<double*, HostType> MagneticEquilFiles3D::phigrid |
Uniform grid in phi.
Normalized poloidal flux on phi-z-r grid.
View<double*, HostType> MagneticEquilFiles3D::rgrid |
Uniform grid in r.
VMEC angle on phi-z-r grid (not used but written to the output for diagnostics)
View<double*, HostType> MagneticEquilFiles3D::zgrid |
Uniform grid in z.