V3FIT
Public Member Functions | List of all members
vmec_equilibrium::vmec_construct Interface Reference

Interface for the construction of vmec_class types using vmec_construct_full or vmec_construct_eq. More...

Public Member Functions

type(vmec_class) function, pointer vmec_construct_eq (file_name, wout_file_name, iou, eq_comm, recon_comm, state_flags)
 Construct a vmec_class object. More...
 
type(vmec_class) function, pointer vmec_construct_full (file_name, wout_file_name, ne, te, ti, ze, sxrem, phi_offset, z_offset, pol_rad_ratio, iou, eq_comm, recon_comm, state_flags)
 Construct a vmec_class object. More...
 

Detailed Description

Interface for the construction of vmec_class types using vmec_construct_full or vmec_construct_eq.

Definition at line 448 of file vmec_equilibrium.f.

Member Function/Subroutine Documentation

◆ vmec_construct_eq()

type (vmec_class) function, pointer vmec_equilibrium::vmec_construct::vmec_construct_eq ( character (len=*), intent(in)  file_name,
character (len=*), intent(in)  wout_file_name,
integer, intent(in)  iou,
integer, intent(in)  eq_comm,
integer, intent(in)  recon_comm,
integer, intent(inout)  state_flags 
)

Construct a vmec_class object.

Allocates memory and initializes a vmec_class object. Runs vmec for one iteration to initialize all the input parameters. Defined in vmec_input.

Parameters
[in]file_nameFilename of the vmec namelist input file.
[in]wout_file_nameFilename of the vmec wout input file.
[in]iouInput/output unit to log messages to.
[in]eq_commMPI communicator pool for VMEC.
[in]recon_commMPI communicator pool for reconstruction.
[in,out]state_flagsBitwise flags to indicate which parts of the model changed.
Returns
A pointer to a constructed vmec_class object.

Definition at line 587 of file vmec_equilibrium.f.

◆ vmec_construct_full()

type (vmec_class) function, pointer vmec_equilibrium::vmec_construct::vmec_construct_full ( character (len=*), intent(in)  file_name,
character (len=*), intent(in)  wout_file_name,
type (pprofile_class), pointer  ne,
type (pprofile_class), pointer  te,
type (pprofile_class), pointer  ti,
type (pprofile_class), pointer  ze,
type (pprofile_pointer), dimension(:), pointer  sxrem,
real (rprec), intent(in)  phi_offset,
real (rprec), intent(in)  z_offset,
real (rprec), intent(in)  pol_rad_ratio,
integer, intent(in)  iou,
integer, intent(in)  eq_comm,
integer, intent(in)  recon_comm,
integer, intent(inout)  state_flags 
)

Construct a vmec_class object.

Allocates memory and initializes a vmec_class object. Runs vmec for one iteration to initialize all the input parameters. Defined in vmec_input.

Parameters
[in]file_nameFilename of the vmec namelist input file.
[in]wout_file_nameFilename of the vmec wout input file.
[in]nepprofile_T for the electron density.
[in]tepprofile_T for the electron temperature.
[in]tipprofile_T for the ion temperature.
[in]zepprofile_T for Z effective.
[in]sxrempprofile_T for the soft x-ray emissivity.
[in]phi_offsetInitial phi offset of the plasma relative to the diagnostics in radians.
[in]z_offsetInitial Z offset of the plasma relative to the machine center.
[in]pol_rad_ratioRatio of poloidal grid to radial grid. Defines the gird sizes when computing magnetic diagnostics.
[in]iouInput/output unit to log messages to.
[in]eq_commMPI communicator pool for VMEC.
[in]recon_commMPI communicator pool for reconstruction.
[in,out]state_flagsBitwise flags to indicate which parts of the model changed.
Returns
A pointer to a constructed vmec_class object.

Definition at line 789 of file vmec_equilibrium.f.


The documentation for this interface was generated from the following file: