|
laserfields
Fortran95 library to describe time-dependent laser pulses
|
Go to the source code of this file.
Data Types | |
| interface | laserfields_miscfuncs::interpolate |
| 1-dimensional polynomial interpolation More... | |
| interface | laserfields_miscfuncs::gnuplotstring |
| convert real or complex numbers to strings that can be used in gnuplot More... | |
Modules | |
| module | laserfields_miscfuncs |
Functions/Subroutines | |
| integer function | laserfields_miscfuncs::get_unused_unit () |
| real(dp) pure elemental function | laserfields_miscfuncs::phase (c) |
| obtain the phase (=argument) of a complex number | |
| complex(dpc) pure elemental function | laserfields_miscfuncs::abs2_phase (c) |
| return a complex number containing absolute value squared and phase as real and imaginary part: {|c|2,phase(c)} | |
| real(dp) pure function | laserfields_miscfuncs::lagrange_interpol (xk, yk, n, x) |
| lagrange polynomial interpolation, using the barycentric form (see e.g. wikipedia) | |
| pure integer function | laserfields_miscfuncs::binary_search (xs, x) |
| do a binary search and return index il for which xs(il) <= x <= xs(il+1) | |