Set of math related tools for KTH modules. More...
Functions/Subroutines | |
| real function | math_stepf (x) | 
| Step function.  More... | |
| real function | math_ran_dst (ix, iy, iz, ieg, xl, fcoeff) | 
| Give random distribution depending on position.  More... | |
| real function | math_ran_rng (lower, upper) | 
| Give random number in the defined range.  More... | |
| real function | math_zbqlu01 () | 
| Marsaglia-Zaman random number generator.  More... | |
| subroutine | math_zbqlini (seed) | 
| Initialise Marsaglia-Zaman random number generator.  More... | |
| subroutine | math_edgind (istart, istop, iskip, iedg, nx, ny, nz) | 
| Give bounds for loops to extract edge.  More... | |
| subroutine | math_etovec (vec, edg, vfld, nx, ny, nz) | 
| Extract element edge.  More... | |
| subroutine | math_rot3da (vo, vi, va, an) | 
| 3D rotation of a vector along given axis  More... | |
Set of math related tools for KTH modules.