PB3D  [2.45]
Ideal linear high-n MHD stability in 3-D
Functions/Subroutines
input_ops Module Reference

Operations concerning giving input. More...

Functions/Subroutines

integer function, public read_input_opts ()
 Reads input options from user-provided input file. More...
 
integer function, public read_input_eq ()
 Reads the equilibrium input file if no Richardson restart. More...
 
integer function, public print_output_in (data_name, remove_previous_arrs)
 Print input quantities to an output file. More...
 

Detailed Description

Operations concerning giving input.

Function/Subroutine Documentation

◆ print_output_in()

integer function, public input_ops::print_output_in ( character(len=*), intent(in)  data_name,
logical, intent(in), optional  remove_previous_arrs 
)

Print input quantities to an output file.

Variables printed:

  • misc_in: prog_version, eq_style, rho_style, R_0, pres_0, B_0, psi_0 rho_0, T_0, vac_perm, use_pol_flux_F, use_pol_flux_E, use_normalization, norm_disc_prec_eq, norm_disc_style_sol, n_r_in, n_r_eq, n_r_sol, debug_version
  • misc_in_V: is_asym_V, is_freeb_V, mnmax_V, mpol_V, ntor_V, gam_V
  • flux_t_V
  • flux_p_V
  • pres_V
  • rot_t_V
  • q_saf_V
  • mn_V
  • R_V_c
  • R_V_s
  • Z_V_c
  • Z_V_s
  • L_V_c
  • L_V_s
  • B_V_sub: B_V_sub_c, B_V_sub_s
  • B_V: B_V_c, B_V_s
  • J_V_sup_int
  • jac_V: jac_V_c, jac_V_s
  • misc_in_H: ias, nchi
  • RZ_H: R_H, Z_H
  • chi_H
  • q_saf_H
  • rot_t_H
  • RBphi_H
  • pres_H
  • flux_p_H
  • flux_t_H
  • misc_X: prim_X, n_mod_X, min_sec_X, max_sec_X, norm_disc_prec_X, norm_style, U_style, X_style, matrix_SLEPC_style, K_style, alpha_style
  • misc_sol: min_r_sol, max_r_sol, norm_disc_prec_sol, BC_style, EV_BC, EV_BC
Returns
ierr
Parameters
[in]data_namename under which to store
[in]remove_previous_arrsremove previous variables if present

Definition at line 1175 of file input_ops.f90.

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

◆ read_input_eq()

integer function, public input_ops::read_input_eq

Reads the equilibrium input file if no Richardson restart.

These variables will be passed on through the HDF5 data system.

See also
reconstruct_pb3d_in().
Returns
ierr

Definition at line 1104 of file input_ops.f90.

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

◆ read_input_opts()

integer function, public input_ops::read_input_opts

Reads input options from user-provided input file.

This is done by the master process and these variables will then be passed on through MPI to other processes in broadcast_input_opts().

Returns
ierr

Definition at line 23 of file input_ops.f90.

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