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

Detailed Description

Fortran part of Python wrappers for OFT.

Authors
Chris Hansen
Date
May 2023

Functions/Subroutines

subroutine copy_string (f_string, c_string)
 Needs docs.
 
subroutine copy_string_rev (c_string, f_string)
 Needs docs.
 
subroutine oft_setup_smesh (ndim, np, r_loc, npc, nc, lc_loc, reg_loc, nregs)
 Needs docs.
 
subroutine oft_setup_vmesh (ndim, np, r_loc, npc, nc, lc_loc, reg_loc, nregs)
 Needs docs.
 
subroutine oftpy_init (nthreads)
 Needs docs.
 
subroutine oftpy_load_xml (xml_file, oft_node_ptr)
 Needs docs.
 

Function/Subroutine Documentation

◆ copy_string()

subroutine copy_string ( character(len=*), intent(in)  f_string,
character(kind=c_char), dimension(*), intent(out)  c_string 
)

Needs docs.

Parameters
[in]f_stringNeeds docs
[out]c_stringNeeds docs

◆ copy_string_rev()

subroutine copy_string_rev ( character(kind=c_char), dimension(*), intent(in)  c_string,
character(len=*), intent(inout)  f_string 
)

Needs docs.

Parameters
[in]c_stringNeeds docs
[in,out]f_stringNeeds docs

◆ oft_setup_smesh()

subroutine oft_setup_smesh ( integer(c_int), intent(in), value  ndim,
integer(c_int), intent(in), value  np,
type(c_ptr), intent(in), value  r_loc,
integer(c_int), intent(in), value  npc,
integer(c_int), intent(in), value  nc,
type(c_ptr), intent(in), value  lc_loc,
type(c_ptr), intent(in), value  reg_loc,
integer(c_int), intent(out)  nregs 
)

Needs docs.

Parameters
[in]r_locNeeds docs
[in]lc_locNeeds docs
[in]reg_locNeeds docs
[in]npNeeds docs
[in]ndimNeeds docs
[in]npcNeeds docs
[in]ncNeeds docs
[out]nregsNeeds docs

◆ oft_setup_vmesh()

subroutine oft_setup_vmesh ( integer(c_int), intent(in), value  ndim,
integer(c_int), intent(in), value  np,
type(c_ptr), intent(in), value  r_loc,
integer(c_int), intent(in), value  npc,
integer(c_int), intent(in), value  nc,
type(c_ptr), intent(in), value  lc_loc,
type(c_ptr), intent(in), value  reg_loc,
integer(c_int), intent(out)  nregs 
)

Needs docs.

Parameters
[in]r_locNeeds docs
[in]lc_locNeeds docs
[in]reg_locNeeds docs
[in]npNeeds docs
[in]ndimNeeds docs
[in]npcNeeds docs
[in]ncNeeds docs
[out]nregsNeeds docs

◆ oftpy_init()

subroutine oftpy_init ( integer(c_int), intent(in), value  nthreads)

Needs docs.

Parameters
[in]nthreadsNeeds docs

◆ oftpy_load_xml()

subroutine oftpy_load_xml ( character(kind=c_char), dimension(80), intent(in)  xml_file,
type(c_ptr), intent(out)  oft_node_ptr 
)

Needs docs.

Parameters
[in]xml_fileNeeds docs
[out]oft_node_ptrNeeds docs