Source Files

FileDescription
__init__.py
aabb_intersect.pro

Calculates intersection length of a ray and an axis aligned bounding box (AABB)

Read more…
atomic_tables.f90

This file contains the routines for calculating atomic cross sections and reaction rates for FIDASIM

beam_grid.pro

Calculates settings for a grid that aligns with the neutral beam.

Read more…
cfpd_table.pro

Generates charged fusion product table

Read more…
check_beam.pro

Checks if neutral beam geometry structure is valid

Read more…
check_cfpd.pro

Checks if cfpd geometry structure is valid

Read more…
check_distribution.pro

Checks if distribution structure is valid

Read more…
check_fields.pro

Checks if electromagnetic fields structure is valid

Read more…
check_grid.pro

Checks if interpolation grid structure is valid

Read more…
check_inputs.pro

Checks if input structure is valid

Read more…
check_npa.pro

Checks if NPA geometry structure is valid

Read more…
check_plasma.pro

Checks if plasma paramters structure is valid

Read more…
check_spec.pro

Check if spectral geometry structure is valid

Read more…
check_struct_schema.pro

Check structure s is formatted according to schema

Read more…
cocos_struct.pro

Creates a COCOS structure from a given index

Read more…
colored.pro

Creates colored string

Read more…
convert_cocos.pro

Converts a GEQDSK structure according to cc_in --> cc_out Reference: O. Sauter and S. Yu. Medvedev, Tokamak Coordinate Conventions: COCOS, Computer Physics Communications 184, 293 (2013).

Read more…
detector_aperture_geometry.pro

Defines charged fusion product diagnostic geometry Sources: detector_aperture_geometry.dat and MAST_29908_221_g_ensemble.nml NOTE: This file is hardcoded to be useful for developers. General users could modify parameters under wn = 0 or 1, and correspondingly set the wn flag when calling detector_aperture_geometry.pro Alternatively, the user could manually define the geometry, see run_tests.pro and test_cfpd.pro

Read more…
eigensystem.f90

This file contains all the linear algebra routines FIDASIM uses

error.pro

Print a error message

Read more…
extract_transp_plasma.pro

Extracts plasma structure from a TRANSP run

Read more…
fidasim.f90

This file contains the main routines for FIDASIM 3.0.0-dev

get_fidasim_dir.pro

Gets FIDASIM install directory

Read more…
get_version.pro

Gets FIDASIM version number from git. Falls back to reading VERSION file when git is not available

Read more…
hdf5_utils.f90

This file contains HDF5 helper routines for writing compressed data files

identify_cocos.pro

Identifies the cocos index of a GEQDSK dictionary object Reference: O. Sauter and S. Ty. Medvedev, Tokamak Coordinate Conventions: COCOS, Computer Physics Communications 184, 293 (2013).

Read more…
in_vessel.pro

Calculates whether a given r,z is within the vessel

Read more…
info.pro

Print a informational message

Read more…
line_basis.pro

Calculates basis from a line with +x in the direction of line

Read more…
mpi_utils.f90
nubeam_geometry.pro

Calculates the FIDASIM beam geometry from the beam geometry variables in the TRANSP/NUBEAM namelist

Read more…
orb_cfpd.pro

Generates 2D array of n cartesian points in (x,y) that are approximately uniformly spaced

Read more…
plot_cfpd_orbits.pro

Plots charged fusion product orbit trajectories

Read more…
prefida.pro

Checks FIDASIM inputs and writes FIDASIM input files

Read more…
preprocessing.py

This file contains the source code for PREFIDA

Read more…
read_geqdsk.pro

Reads an EFIT GEQDSK file

Read more…
read_hdf5.pro

Reads HDF5 file variables and attributes

Read more…
read_json.pro

Reads a JSON file that can have YAML like comments

Read more…
read_mc_nubeam.pro

Reads guiding center Monte Carlo NUBEAM fast-ion distribution file

Read more…
read_ncdf.pro

Reads a flat NetCDF file

Read more…
read_nl.pro

If the input string variable is equal to one of IDL's reserved words, replace it with a similar name with an underscore at the end.

Read more…
read_nubeam.pro

Reads NUBEAM fast-ion distribution function

Read more…
read_spiral.pro

This file contains the procedure to read SPIRAL fast-ion distribution file

Read more…
rz_grid.pro

Creates interpolation grid

Read more…
sav_to_hdf5.pro

Converts an IDL save file to a HDF5 file

Read more…
source_file.pro

Returns the source file of the routine name If name is not given then it returns the source file of caller routine

success.pro

Print a success message

Read more…
tb_zyx.pro

Calculates Tait-Bryan z-y'-x" active rotation matrix given rotation angles alpha,beta,gamma in radians

Read more…
tile_array.pro

Creates a tiled matrix out of an array or matrix

Read more…
utilities.f90

This file contains routines for parallel random number generation and a basic sparse array implementation

utils.py

This file contains useful FIDASIM utilities

Read more…
uvw_to_xyz.pro

Express non-rotated coordinate uvw in rotated xyz coordinates

Read more…
vars_to_struct.pro

Creates a structure containing the variables in the callers scope

Read more…
warn.pro

Print a warning message

Read more…
write_distribution.pro

Write fast-ion distribution to a HDF5 file

Read more…
write_equilibrium.pro

Write MHD equilibrium values to a HDF5 file

Read more…
write_geometry.pro

Write geometry values to a HDF5 file

Read more…
write_hdf5.pro

Writes HDF5 files from variables in the local scope or a structure

Read more…
write_namelist.pro

Writes namelist file

Read more…
write_ncdf.pro

Writes variables in the local scope to a NetCDF file

Read more…
xyz_to_uvw.pro

Express rotated coordinate xyz in non-rotated uvw coordinates

Read more…
file~~graph~~FileGraph sourcefile~fidasim.f90 fidasim.f90 sourcefile~hdf5_utils.f90 hdf5_utils.f90 sourcefile~hdf5_utils.f90->sourcefile~fidasim.f90 sourcefile~atomic_tables.f90 atomic_tables.f90 sourcefile~hdf5_utils.f90->sourcefile~atomic_tables.f90 sourcefile~mpi_utils.f90 mpi_utils.f90 sourcefile~mpi_utils.f90->sourcefile~fidasim.f90 sourcefile~utilities.f90 utilities.f90 sourcefile~mpi_utils.f90->sourcefile~utilities.f90 sourcefile~mpi_utils.f90->sourcefile~atomic_tables.f90 sourcefile~utilities.f90->sourcefile~fidasim.f90 sourcefile~utilities.f90->sourcefile~atomic_tables.f90 sourcefile~eigensystem.f90 eigensystem.f90 sourcefile~eigensystem.f90->sourcefile~fidasim.f90
Help