KTH framework for Nek5000 toolboxes; testing version  0.0.1
math_tools.f File Reference

Set of math related tools for KTH modules. More...

Go to the source code of this file.

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 of a 3D element. More...
 
subroutine math_etovec (vec, edg, vfld, nx, ny, nz)
 Extract 3D element edge. More...
 
subroutine math_rot3da (vo, vi, va, an)
 3D rotation of a vector along given axis. More...
 

Detailed Description

Set of math related tools for KTH modules.

Author
Adam Peplinski
Date
Jan 31, 2017

Definition in file math_tools.f.