|
The Open FUSION Toolkit 1.0.0-beta6
Modeling tools for plasma and fusion research and engineering
|
Fortran part of Python wrappers for OFT.
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, mesh_ptr) |
| Needs docs. | |
| subroutine | oft_setup_vmesh (ndim, np, r_loc, npc, nc, lc_loc, reg_loc, nregs, mesh_ptr) |
| Needs docs. | |
| subroutine | oftpy_init (nthreads, input_file, slens, abort_fun) |
| Needs docs. | |
| subroutine | oftpy_load_xml (xml_file, oft_node_ptr) |
| Needs docs. | |
| subroutine | oftpy_set_debug (debug_level) |
| Set debug verbosity level. | |
| subroutine | oftpy_set_nthreads (nthreads) |
| Set the number of OpenMP threads to use. | |
| subroutine copy_string | ( | character(len=*), intent(in) | f_string, |
| character(kind=c_char), dimension(*), intent(out) | c_string | ||
| ) |
Needs docs.
| [in] | f_string | Needs docs |
| [out] | c_string | Needs docs |
| subroutine copy_string_rev | ( | character(kind=c_char), dimension(*), intent(in) | c_string, |
| character(len=*), intent(inout) | f_string | ||
| ) |
Needs docs.
| [in] | c_string | Needs docs |
| [in,out] | f_string | Needs docs |
| 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, | ||
| type(c_ptr), intent(out) | mesh_ptr | ||
| ) |
Needs docs.
| [in] | r_loc | Needs docs |
| [in] | lc_loc | Needs docs |
| [in] | reg_loc | Needs docs |
| [in] | np | Needs docs |
| [in] | ndim | Needs docs |
| [in] | npc | Needs docs |
| [in] | nc | Needs docs |
| [out] | nregs | Needs docs |
| [out] | mesh_ptr | Needs docs |
| 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, | ||
| type(c_ptr), intent(out) | mesh_ptr | ||
| ) |
Needs docs.
| [in] | r_loc | Needs docs |
| [in] | lc_loc | Needs docs |
| [in] | reg_loc | Needs docs |
| [in] | np | Needs docs |
| [in] | ndim | Needs docs |
| [in] | npc | Needs docs |
| [in] | nc | Needs docs |
| [out] | nregs | Needs docs |
| [out] | mesh_ptr | Needs docs |
| subroutine oftpy_init | ( | integer(c_int), intent(in), value | nthreads, |
| character(kind=c_char), dimension(oft_path_slen), intent(in) | input_file, | ||
| type(c_ptr), intent(in), value | slens, | ||
| type(c_funptr), intent(in), value | abort_fun | ||
| ) |
Needs docs.
| [in] | nthreads | Needs docs |
| [in] | input_file | Needs docs |
| [in] | slens | String lengths |
| [in] | abort_fun | Abort callback for Python |
| subroutine oftpy_load_xml | ( | character(kind=c_char), dimension(oft_path_slen), intent(in) | xml_file, |
| type(c_ptr), intent(out) | oft_node_ptr | ||
| ) |
Needs docs.
| [in] | xml_file | Needs docs |
| [out] | oft_node_ptr | Needs docs |
| subroutine oftpy_set_debug | ( | integer(c_int), intent(in), value | debug_level | ) |
Set debug verbosity level.
| [in] | debug_level | New value for debug level (must be in range [0,3]) |
| subroutine oftpy_set_nthreads | ( | integer(c_int), intent(in), value | nthreads | ) |
Set the number of OpenMP threads to use.
| [in] | nthreads | Number of threads to use for subsequent OpenMP parallel regions |