ESPUTR
calculation of sputtering yields
|
Wrappers which are used to call esputr from C/C++, as well as in Matlab and Octave interfaces. More...
Go to the source code of this file.
Data Types | |
interface | esputr_interfaces::esputr_wrapper |
Modules | |
module | esputr_interfaces |
Functions/Subroutines | |
subroutine | esputr1993_init_wrapper (fileN, err) |
See include esputr_octave.hpp, esputr_YN.cpp, esputr_YTH.cpp as an example of how to use those subroutines in a C program. More... | |
subroutine | esputr2001_init_wrapper (fileN, fileTH, err) |
module-less wraper for esputr2001_initN More... | |
subroutine | esputr2001_initn_wrapper (fileN, err) |
module-less wraper for esputr2001_initN More... | |
subroutine | esputr2001_initth_wrapper (fileTH, err) |
module-less wrapper for esputr2001_initTH More... | |
subroutine | esputr_deallocate (err) |
call esputr2001_deallocate and esputr1993_deallocate More... | |
subroutine | esputr_yn (E0s, n_E0s, proj, targ, version, YNs, err) |
Calculate sputtering yield for normal incidence for selected incident energies and the specified projectile-target combination. More... | |
subroutine | esputr_yth (THs, n_THs, E0s, n_E0s, proj, targ, version, YTHs, err) |
Calculate the angular dependence factor Y(E,theta)/Y(E,0) for selected incident angles and energies for the specified projectile-target combination. More... | |
subroutine | esputr2001_getavailableenergyrangebyname (proj, targ, Emin, Emax, err) |
Return the minimum and maximum energies for which the angular dependence data are defined. More... | |
Wrappers which are used to call esputr from C/C++, as well as in Matlab and Octave interfaces.
Definition in file esputr_interfaces.f90.
subroutine esputr1993_init_wrapper | ( | character(*), intent(in) | fileN, |
integer, intent(out) | err | ||
) |
See include esputr_octave.hpp, esputr_YN.cpp, esputr_YTH.cpp as an example of how to use those subroutines in a C program.
Definition at line 43 of file esputr_interfaces.f90.
References esputr1993::esputr1993_init().
Referenced by DEFUN_DLD().
subroutine esputr2001_init_wrapper | ( | character(*), intent(in) | fileN, |
character(*), intent(in) | fileTH, | ||
integer, intent(out) | err | ||
) |
module-less wraper for esputr2001_initN
Definition at line 52 of file esputr_interfaces.f90.
References esputr2001::esputr2001_init().
subroutine esputr2001_initn_wrapper | ( | character(*), intent(in) | fileN, |
integer, intent(out) | err | ||
) |
module-less wraper for esputr2001_initN
Definition at line 61 of file esputr_interfaces.f90.
References esputr2001::esputr2001_initn().
Referenced by DEFUN_DLD().
subroutine esputr2001_initth_wrapper | ( | character(*), intent(in) | fileTH, |
integer, intent(out) | err | ||
) |
module-less wrapper for esputr2001_initTH
Definition at line 70 of file esputr_interfaces.f90.
References esputr2001::esputr2001_initth().
Referenced by DEFUN_DLD().
subroutine esputr_deallocate | ( | integer, intent(out) | err | ) |
call esputr2001_deallocate and esputr1993_deallocate
Definition at line 79 of file esputr_interfaces.f90.
References esputr1993::esputr1993_deallocate(), and esputr2001::esputr2001_deallocate().
Referenced by DEFUN_DLD().
subroutine esputr_yn | ( | real(kind=esputr_dp), dimension(n_e0s), intent(in) | E0s, |
integer, intent(in) | n_E0s, | ||
character(*), intent(in) | proj, | ||
character(*), intent(in) | targ, | ||
character(*), intent(in) | version, | ||
real(kind=esputr_dp), dimension(size(e0s)), intent(out) | YNs, | ||
integer, intent(out) | err | ||
) |
Calculate sputtering yield for normal incidence for selected incident energies and the specified projectile-target combination.
[in] | e0s | Array of incident energies, eV |
[in] | n_e0s | Number of energies in E0s |
[in] | proj | String which defines the projectile (H, He etc.) |
[in] | targ | String which defines the target (Be, W, Tungsten etc.) |
[in] | version | Version of the model ('1993', '2001' etc.) |
[out] | err | Error code |
[out] | yns | Sputtering yields for normal incidence |
Definition at line 125 of file esputr_interfaces.f90.
References esputr1993::esputr1993_deallocate(), esputr1993::esputr1993_getprojectileid(), esputr1993::esputr1993_gettargetid(), esputr1993::esputr1993_yn(), esputr2001::esputr2001_deallocate(), esputr2001::esputr2001_getprojectiletargetidn(), esputr2001::esputr2001_yn(), and esputr::esputr_unit.
Referenced by DEFUN_DLD(), esputr_cgi(), and mexfunction().
subroutine esputr_yth | ( | real(kind=esputr_dp), dimension(n_ths), intent(in) | THs, |
integer, intent(in) | n_THs, | ||
real(kind=esputr_dp), dimension(n_e0s), intent(in) | E0s, | ||
integer, intent(in) | n_E0s, | ||
character(*), intent(in) | proj, | ||
character(*), intent(in) | targ, | ||
character(*), intent(in) | version, | ||
real(kind=esputr_dp), dimension(size(ths), size(e0s)), intent(out) | YTHs, | ||
integer, intent(out) | err | ||
) |
Calculate the angular dependence factor Y(E,theta)/Y(E,0) for selected incident angles and energies for the specified projectile-target combination.
[in] | ths | Array of incident angles, radian |
[in] | n_ths | Number of elements in THs |
[in] | e0s | Array of incident energies, eV |
[in] | n_e0s | Number of elements in E0s |
[in] | proj | String which defines the projectile (H, He etc.) |
[in] | targ | String which defines the target (Be, W, Tungsten etc.) |
[in] | version | Version of the model ('1993', '2001' etc.) |
[out] | err | Error code |
[out] | yths | Angular dependence factor Y(E,theta)/Y(E,0) for each angle-energy combination first index: angles; second index: energy |
Definition at line 184 of file esputr_interfaces.f90.
References esputr1993::esputr1993_deallocate(), esputr1993::esputr1993_yth(), esputr2001::esputr2001_deallocate(), esputr2001::esputr2001_getprojectiletargetidsth(), esputr2001::esputr2001_yth(), and esputr::esputr_unit.
Referenced by DEFUN_DLD(), esputr_cgi(), and mexfunction().
subroutine esputr2001_getavailableenergyrangebyname | ( | character(*), intent(in) | proj, |
character(*), intent(in) | targ, | ||
real(kind=esputr_dp), intent(out) | Emin, | ||
real(kind=esputr_dp), intent(out) | Emax, | ||
integer, intent(out) | err | ||
) |
Return the minimum and maximum energies for which the angular dependence data are defined.
[in] | proj | Name of the projectile |
[in] | targ | Name of the target |
[out] | emin | Minimal energy |
[out] | emax | Maximal energy |
Definition at line 247 of file esputr_interfaces.f90.
References esputr2001::esputr2001_getavailableenergyrange(), and esputr2001::esputr2001_getprojectiletargetidsth().
Referenced by mexfunction().