The Open FUSION Toolkit 1.0.0-beta5
Modeling tools for plasma and fusion research and engineering
Loading...
Searching...
No Matches
Functions/Subroutines | Variables
marklin_f Module Reference

Detailed Description

Fortran part of Python wrapper for Marklin force-free ideal MHD equilibrium functionality.

Authors
Chris Hansen
Date
May 2023

Functions/Subroutines

subroutine marklin_apply_int (int_obj, int_type, pt, fbary_tol, cell, field)
 Needs docs.
 
subroutine marklin_compute (order, nmodes, minlev, save_rst, eig_vals, error_str)
 Needs docs.
 
subroutine marklin_get_aint (imode, int_obj, zero_norm, error_str)
 Needs docs.
 
subroutine marklin_get_bint (imode, int_obj, error_str)
 Needs docs.
 
subroutine marklin_save_visit (int_obj, int_type, key, error_str)
 Needs docs.
 
subroutine marklin_setup_io (basepath, error_str)
 Needs docs.
 

Variables

integer(i4), dimension(:,:), pointer lc_plot
 Needs docs.
 
real(r8), dimension(:,:), pointer r_plot
 Needs docs.
 
integer(i4), dimension(:), pointer reg_plot
 Needs docs.
 

Function/Subroutine Documentation

◆ marklin_apply_int()

subroutine marklin_apply_int ( type(c_ptr), intent(in), value  int_obj,
integer(c_int), intent(in), value  int_type,
real(c_double), dimension(3), intent(in)  pt,
real(c_double), intent(in), value  fbary_tol,
integer(c_int), intent(inout)  cell,
real(c_double), dimension(3), intent(out)  field 
)

Needs docs.

Parameters
[in]int_objNeeds docs
[in]int_typeNeeds docs
[in]ptNeeds docs
[in]fbary_tolNeeds docs
[in,out]cellNeeds docs
[out]fieldNeeds docs

◆ marklin_compute()

subroutine marklin_compute ( integer(kind=c_int), intent(in), value  order,
integer(kind=c_int), intent(in), value  nmodes,
integer(kind=c_int), intent(in), value  minlev,
logical(c_bool), intent(in), value  save_rst,
type(c_ptr), intent(in), value  eig_vals,
character(kind=c_char), dimension(80), intent(out)  error_str 
)

Needs docs.

Parameters
[in]orderNeeds docs
[in]nmodesNeeds docs
[in]minlevNeeds docs
[in]save_rstNeeds docs
[in]eig_valsNeeds docs
[out]error_strNeeds docs

◆ marklin_get_aint()

subroutine marklin_get_aint ( integer(kind=c_int), intent(in), value  imode,
type(c_ptr), intent(out)  int_obj,
logical(c_bool), intent(in), value  zero_norm,
character(kind=c_char), dimension(80), intent(out)  error_str 
)

Needs docs.

Parameters
[in]imodeNeeds docs
[out]int_objNeeds docs
[in]zero_normNeeds docs
[out]error_strNeeds docs

◆ marklin_get_bint()

subroutine marklin_get_bint ( integer(kind=c_int), intent(in), value  imode,
type(c_ptr), intent(out)  int_obj,
character(kind=c_char), dimension(80), intent(out)  error_str 
)

Needs docs.

Parameters
[in]imodeNeeds docs
[out]int_objNeeds docs
[out]error_strNeeds docs

◆ marklin_save_visit()

subroutine marklin_save_visit ( type(c_ptr), intent(in), value  int_obj,
integer(c_int), intent(in), value  int_type,
character(kind=c_char), dimension(80), intent(in)  key,
character(kind=c_char), dimension(80), intent(out)  error_str 
)

Needs docs.

Parameters
[in]int_objNeeds docs
[in]int_typeNeeds docs
[in]keyNeeds docs
[out]error_strNeeds docs

◆ marklin_setup_io()

subroutine marklin_setup_io ( character(kind=c_char), dimension(oft_path_slen), intent(in)  basepath,
character(kind=c_char), dimension(200), intent(out)  error_str 
)

Needs docs.

Parameters
[in]basepathNeeds docs
[out]error_strNeeds docs

Variable Documentation

◆ lc_plot

integer(i4), dimension(:,:), pointer lc_plot

Needs docs.

◆ r_plot

real(r8), dimension(:,:), pointer r_plot

Needs docs.

◆ reg_plot

integer(i4), dimension(:), pointer reg_plot

Needs docs.