| 
    VMEC 8.52
    
   3D Equilibrium solver with nested flux surfaces. 
   | 
 
Functions/Subroutines | |
| real(rprec) function, public | two_power (x, b) | 
Profile function for the two_power profile. \(b(0) * (1 - x^{b(1)})^{b(2)}\).   | |
| real(rprec) function, public | two_power_gs (x, b) | 
Profile function for the two_power_gs profile. \(\texttt{two\_power}(x)*(1 + \sum\left[b(i)*\exp(-(x - b(i+1))/b(i+2))^2\right])\).   | |
| logical function | function_test () | 
| Main test function.   | |
| logical function functions::function_test | 
Main test function.
Test two_power function for x = 0, b = {1,10,2} is 1
Test two_power function for x = 1, b = {1,10,2} is 0
Test two_power function for x = 0.5, b = {1,1,1} is 0.5
Test two_power function for x = 0.5, b = {1,1,2} is 0.25
Test two_power_gs function for x = 0.4, b = {1,1,1,0,0,1} is two_power(x,b)
Test two_power_gs function for x = 0.8, b = {1,1,0,1,0.8,0.1} is 2
Definition at line 51 of file functions.f.
References function_test(), two_power(), and two_power_gs().
Referenced by function_test().
| real(rprec) function, public functions::two_power | ( | real(rprec), intent(in) | x, | 
| real(rprec), dimension(0:20), intent(in) | b ) | 
Profile function for the two_power profile. \(b(0) * (1 - x^{b(1)})^{b(2)}\). 
| x | evaluation location | 
| b | parameter vector | 
Definition at line 20 of file functions.f.
References two_power().
Referenced by function_test(), two_power(), and two_power_gs().
| real(rprec) function, public functions::two_power_gs | ( | real(rprec), intent(in) | x, | 
| real(rprec), dimension(0:20), intent(in) | b ) | 
Profile function for the two_power_gs profile. \(\texttt{two\_power}(x)*(1 + \sum\left[b(i)*\exp(-(x - b(i+1))/b(i+2))^2\right])\). 
| x | evaluation location | 
| b | parameter vector | 
Definition at line 34 of file functions.f.
References two_power(), and two_power_gs().
Referenced by function_test(), and two_power_gs().