Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
Data Types | Modules | Functions/Subroutines | Variables
sll_m_utilities.F90 File Reference
#include "sll_errors.h"
#include "sll_working_precision.h"
Include dependency graph for sll_m_utilities.F90:

Go to the source code of this file.

Data Types

interface  sll_o_display
 Functions to display on screen matrix or vector. More...
 
interface  sll_o_factorial
 Return factorial. More...
 

Modules

module  sll_m_utilities
 Some common numerical utilities.
 

Functions/Subroutines

logical function, public sll_f_is_power_of_two (n)
 Check if an integer is equal to. More...
 
logical function, public sll_f_is_even (n)
 Check if an integer is even. More...
 
integer(kind=i64) function factorial_int32 (n)
 It would have been nice to declare the next functions as 'pure' functions, but it is safer to be able to indicate when their arguments have fallen out of range as this number is so limited anyway. More...
 
integer(kind=i64) function factorial_int64 (n)
 It would have been nice to declare the next functions as 'pure' functions, but it is safer to be able to indicate when their arguments have fallen out of range as this number is so limited anyway. More...
 
subroutine, public sll_s_int2string (istep, cstep)
 Convert an integer < 9999 to a 4 characters string. More...
 
subroutine, public sll_s_new_file_id (file_id, error)
 Get a file unit number free before creating a file. More...
 
subroutine display_vector_real (array, real_format)
 Display a vector to screen. More...
 
subroutine display_vector_integer (array, integer_format)
 Display a vector to screen. More...
 
subroutine display_matrix_2d_real (array, real_format)
 Display matrix to screen. More...
 
subroutine, public sll_s_display_matrix_2d_integer (array, integer_format)
 Display matrix to screen. More...
 
subroutine initialize_file (data_file_id, thf_file_id)
 Subroutine to open data file for slv2d and create the thf.dat file to write results. More...
 
subroutine time_history (file_id, desc, fformat, array)
 Routine from slv2d to write diagnostics. More...
 
subroutine, public sll_s_mpe_decomp1d (n, numprocs, myid, s, e)
 From the MPE library. More...
 
subroutine, public sll_s_pfenvelope (S, t, tflat, tL, tR, twL, twR, t0, turn_drive_off)
 S: the wave form at a given point in time. This wave form is not scaled (its maximum value is 1). t: the time at which the envelope is being evaluated tflat, tL, tR, twL, twR, tstart, t0: the parameters defining the envelope, defined in the main portion of this program. turn_drive_off: 1 if the drive should be turned off after a time tflat, and 0 otherwise. More...
 
subroutine, public sll_s_compute_bloc (bloc_coord, bloc_index, N)
 
subroutine, public sll_s_compute_mesh_from_bloc (bloc_coord, bloc_index, node_positions)
 
logical function, public sll_f_query_environment (env_variable, default_value)
 Query an environment variable for the values on,off,1,0,true,false and return the result as a logical. More...
 
pure subroutine, public sll_s_new_array_linspace (array, vmin, vmax, endpoint, step)
 Equivalent to numpy.linspace @contact Yaman Güçlü, IPP Garching. More...
 

Variables

integer, parameter, public sll_p_byte_size = selected_int_kind(0)
 kind of integers More...
 
logical flag = .true.
 
    Report Typos and Errors