XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
init_objects.cpp File Reference
#include <iostream>
#include <Kokkos_Core.hpp>
#include "NamelistReader.hpp"
#include "species.hpp"
#include "heat_diagnostics.hpp"
#include "neutrals.hpp"
#include "domain_decomposition.hpp"
#include "charge.hpp"
#include "init_objects.hpp"
Include dependency graph for init_objects.cpp:

Functions

double get_sml_tran ()
 
void get_ptb_3db_init (int *rampup_vac_int_in, int *num_ntor_in, int *rampup_interval_in, int *rampup_time_in, int *start_time_in, int **ntor_in)
 
void get_init_eq_profs (int isp, int iprof, double **inx_in, double **iny_in, double **sv_in, double *p_min_in, double *p_max_in, int *shape, double **v_in)
 
void get_init_neutrals (int *use_ion_loss_int_in, int *nbins)
 
void get_init_grid (int *ntriangle_in, int *nnode_in, int *nplanes_in, int *nwall_in, double *wedge_angle_in, double *eq_x_psi, double *delta_phi_in, int *nguess_in, int *guess_list_len_in, double *guess_min1_in, double *guess_min2_in, double *guess_max1_in, double *guess_max2_in, double *inv_guess_d1_in, double *inv_guess_d2_in, int *npsi_surf2_in, int *iphi_offset_in, int *npsi00_in, double *psi00min_in, double *psi00max_in, double *dpsi00_in, double **psi_in, int **basis_in, Vertex **nodes_in, VertexMap **mapping_in, int **guess_list_in, int **guess_xtable_in, int **guess_count_in, int **guess_list_1d_in, double **psi_surf2_in, double *minval_psi_surf2_in, double *maxval_psi_surf2_in, int **wall_nodes_in, int **node_to_wall_in, int **rgn_in, RZPair **gx_in, int *nrho_in, double *rhomax_in, double *phimax_in)
 
void get_init_magnetic_field (double *bt_sign, double *bp_sign, int *ff_step, int *ff_order, double *bd_min_r, double *bd_max_r, double *bd_min_z, double *bd_max_z, double *inpsi_in, double *outpsi_in, double **rc_in, double **zc_in, BicubCoeff **acoeff_in, int *nr_in, int *nz_in, double *rmin_in, double *zmin_in, double *dr_inv_in, double *dz_inv_in, OneDCoeff **one_d_cub_acoef_in, int *ncoeff_in, double *max_psi_in, double *min_psi_in, double *one_d_cub_dpsi_inv_in, double *eq_min_r, double *eq_max_r, double *eq_min_z, double *eq_max_z, double *eq_x_psi, double *epsil_psi, double *eq_x_r, double *eq_x_slope, double *eq_x_z, double *eq_x2_r, double *eq_x2_slope, double *eq_x2_z, double *eq_x2_psi, double *eq_axis_r, double *eq_axis_z, int *eq_mpsi)
 
void get_init_decay_factors (double *out_decay_factor_in, double *priv_flux_decay_factor_in, double *out_decay_width_in, double *priv_flux_decay_width_in, int *set_xpt2_int_in)
 
int get_heat_mode ()
 
void get_init_heat_diag1 (int *heat_nsection_in, int *heat_npsi_in, int *heat_nr_in, int *heat_nz_in, double **heat_rmin_in, double **heat_rmax_in, double **heat_dr_in, double **heat_zmin_in, double **heat_zmax_in, double **heat_dz_in, double **heat_pmin_in, double **heat_dp_in)
 
void get_init_heat_diag2 (int *heat_nseg_in, int *heat_nphi_in, double *heat_delta_phi_in, double **heat_r2_in, double **heat_z2_in)
 
void init_objects (NLReader::NamelistReader &nlr, Simulation< DeviceType > &sml, MagneticField< DeviceType > &magnetic_field, Plasma &plasma, Neutrals< DeviceType > &neutrals, Grid< DeviceType > &grid, PerturbedBField< DeviceType > &perturbed_B_field, HeatDiagnostics< DeviceType > &heat_diag)
 

Function Documentation

int get_heat_mode ( )

Here is the caller graph for this function:

void get_init_decay_factors ( double *  out_decay_factor_in,
double *  priv_flux_decay_factor_in,
double *  out_decay_width_in,
double *  priv_flux_decay_width_in,
int *  set_xpt2_int_in 
)

Here is the caller graph for this function:

void get_init_eq_profs ( int  isp,
int  iprof,
double **  inx_in,
double **  iny_in,
double **  sv_in,
double *  p_min_in,
double *  p_max_in,
int *  shape,
double **  v_in 
)

Here is the caller graph for this function:

void get_init_grid ( int *  ntriangle_in,
int *  nnode_in,
int *  nplanes_in,
int *  nwall_in,
double *  wedge_angle_in,
double *  eq_x_psi,
double *  delta_phi_in,
int *  nguess_in,
int *  guess_list_len_in,
double *  guess_min1_in,
double *  guess_min2_in,
double *  guess_max1_in,
double *  guess_max2_in,
double *  inv_guess_d1_in,
double *  inv_guess_d2_in,
int *  npsi_surf2_in,
int *  iphi_offset_in,
int *  npsi00_in,
double *  psi00min_in,
double *  psi00max_in,
double *  dpsi00_in,
double **  psi_in,
int **  basis_in,
Vertex **  nodes_in,
VertexMap **  mapping_in,
int **  guess_list_in,
int **  guess_xtable_in,
int **  guess_count_in,
int **  guess_list_1d_in,
double **  psi_surf2_in,
double *  minval_psi_surf2_in,
double *  maxval_psi_surf2_in,
int **  wall_nodes_in,
int **  node_to_wall_in,
int **  rgn_in,
RZPair **  gx_in,
int *  nrho_in,
double *  rhomax_in,
double *  phimax_in 
)

Here is the caller graph for this function:

void get_init_heat_diag1 ( int *  heat_nsection_in,
int *  heat_npsi_in,
int *  heat_nr_in,
int *  heat_nz_in,
double **  heat_rmin_in,
double **  heat_rmax_in,
double **  heat_dr_in,
double **  heat_zmin_in,
double **  heat_zmax_in,
double **  heat_dz_in,
double **  heat_pmin_in,
double **  heat_dp_in 
)

Here is the caller graph for this function:

void get_init_heat_diag2 ( int *  heat_nseg_in,
int *  heat_nphi_in,
double *  heat_delta_phi_in,
double **  heat_r2_in,
double **  heat_z2_in 
)

Here is the caller graph for this function:

void get_init_magnetic_field ( double *  bt_sign,
double *  bp_sign,
int *  ff_step,
int *  ff_order,
double *  bd_min_r,
double *  bd_max_r,
double *  bd_min_z,
double *  bd_max_z,
double *  inpsi_in,
double *  outpsi_in,
double **  rc_in,
double **  zc_in,
BicubCoeff **  acoeff_in,
int *  nr_in,
int *  nz_in,
double *  rmin_in,
double *  zmin_in,
double *  dr_inv_in,
double *  dz_inv_in,
OneDCoeff **  one_d_cub_acoef_in,
int *  ncoeff_in,
double *  max_psi_in,
double *  min_psi_in,
double *  one_d_cub_dpsi_inv_in,
double *  eq_min_r,
double *  eq_max_r,
double *  eq_min_z,
double *  eq_max_z,
double *  eq_x_psi,
double *  epsil_psi,
double *  eq_x_r,
double *  eq_x_slope,
double *  eq_x_z,
double *  eq_x2_r,
double *  eq_x2_slope,
double *  eq_x2_z,
double *  eq_x2_psi,
double *  eq_axis_r,
double *  eq_axis_z,
int *  eq_mpsi 
)

Here is the caller graph for this function:

void get_init_neutrals ( int *  use_ion_loss_int_in,
int *  nbins 
)

Here is the caller graph for this function:

void get_ptb_3db_init ( int *  rampup_vac_int_in,
int *  num_ntor_in,
int *  rampup_interval_in,
int *  rampup_time_in,
int *  start_time_in,
int **  ntor_in 
)

Here is the caller graph for this function:

double get_sml_tran ( )

Here is the caller graph for this function:

void init_objects ( NLReader::NamelistReader nlr,
Simulation< DeviceType > &  sml,
MagneticField< DeviceType > &  magnetic_field,
Plasma plasma,
Neutrals< DeviceType > &  neutrals,
Grid< DeviceType > &  grid,
PerturbedBField< DeviceType > &  perturbed_B_field,
HeatDiagnostics< DeviceType > &  heat_diag 
)

Here is the call graph for this function:

Here is the caller graph for this function: