SF_CONSTANTS

Quick access

Variables:

avogadro_constant, bohr_magneton, bohr_magneton_in_evot, bohr_magneton_in_hzot, bohr_magneton_in_inverse_meters_per_tesla, bohr_magneton_in_kot, bohr_radius, boltzmann_constant, boltzmann_constant_in_evok, boltzmann_constant_in_hzok, boltzmann_constant_in_inverse_meters_per_kelvin, compton_wavelength, compton_wavelength_over_2_pi, dbl, ddp, electric_constant, electron_charge_to_mass_quotient, electron_g_factor, electron_gyromag__ratio, electron_gyromag__ratio_over_2_pi, electron_mag__mom_, electron_mag__mom__to_bohr_magneton_ratio, electron_mass, electron_mass_energy_equivalent, electron_mass_energy_equivalent_in_mev, electron_volt, electron_volt_atomic_mass_unit_relationship, electron_volt_hartree_relationship, electron_volt_hertz_relationship, electron_volt_inverse_meter_relationship, electron_volt_joule_relationship, electron_volt_kelvin_relationship, electron_volt_kilogram_relationship, elementary_charge, elementary_charge_over_h, epsilonq, epsilonr, euler, faraday_constant, faraday_constant_for_conventional_electric_current, fine_structure_constant, gamma_euler, josephson_constant, joule_electron_volt_relationship, joule_hertz_relationship, joule_inverse_meter_relationship, joule_kelvin_relationship, joule_kilogram_relationship, kelvin_atomic_mass_unit_relationship, kelvin_electron_volt_relationship, kelvin_hartree_relationship, kelvin_hertz_relationship, kelvin_inverse_meter_relationship, kelvin_joule_relationship, kelvin_kilogram_relationship, kilogram_atomic_mass_unit_relationship, kilogram_electron_volt_relationship, kilogram_hartree_relationship, kilogram_hertz_relationship, kilogram_inverse_meter_relationship, kilogram_joule_relationship, kilogram_kelvin_relationship, lattice_parameter_of_silicon, max_int, max_real, natural_unit_of_action, natural_unit_of_action_in_ev_s, natural_unit_of_energy, natural_unit_of_energy_in_mev, natural_unit_of_length, natural_unit_of_mass, natural_unit_of_mom_um, natural_unit_of_mom_um_in_mevoc, natural_unit_of_time, natural_unit_of_velocity, newtonian_constant_of_gravitation, planck_constant, planck_constant_in_ev_s, planck_constant_over_2_pi, rydberg_constant, rydberg_constant_times_c_in_hz, rydberg_constant_times_hc_in_ev, rydberg_constant_times_hc_in_j, sp, speed_of_light_in_vacuum, standard_acceleration_of_gravity, stefan_boltzmann_constant

Routines:

d_isinfty(), d_isnan(), d_wait(), i_isinfty(), i_isnan(), i_wait(), isinfty(), isnan(), print_date(), r_wait(), stop_error(), timestamp(), wait(), z_isinfty(), z_isnan()

Variables

  • sf_constants/avogadro_constant [real,public/parameter/optional/default=0.602214129000d+24]
  • sf_constants/bohr_magneton [real,public/parameter/optional/default=0.927400968000d-23]
  • sf_constants/bohr_magneton_in_evot [real,public/parameter/optional/default=0.578838180660d-04]
  • sf_constants/bohr_magneton_in_hzot [real,public/parameter/optional/default=0.139962455500d+11]
  • sf_constants/bohr_magneton_in_inverse_meters_per_tesla [real,public/parameter/optional/default=46.6864498d0000]
  • sf_constants/bohr_magneton_in_kot [real,public/parameter/optional/default=0.67171388d000]
  • sf_constants/bohr_radius [real,public/parameter/optional/default=0.529177210920d-10]
  • sf_constants/boltzmann_constant [real,public/parameter/optional/default=0.138064880000d-22]
  • sf_constants/boltzmann_constant_in_evok [real,public/parameter/optional/default=0.861733240000d-04]
  • sf_constants/boltzmann_constant_in_hzok [real,public/parameter/optional/default=0.208366180000d+11]
  • sf_constants/boltzmann_constant_in_inverse_meters_per_kelvin [real,public/parameter/optional/default=69.503476d00000]
  • sf_constants/compton_wavelength [real,public/parameter/optional/default=0.242631023890d-11]
  • sf_constants/compton_wavelength_over_2_pi [real,public/parameter/optional/default=0.386159268000d-12]
  • sf_constants/dbl [integer,public/parameter/optional/default=8]
  • sf_constants/ddp [integer,public/parameter/optional/default=16]

    “quad” precision

  • sf_constants/dp [integer,public/parameter/optional/default=8]

    “double” precision

  • sf_constants/electric_constant [real,public/parameter/optional/default=0.885418781700d-11]
  • sf_constants/electron_charge_to_mass_quotient [real,public/parameter/optional/default=-0.175882008800d+12]
  • sf_constants/electron_g_factor [real,public/parameter/optional/default=-0.200231930436d+01]
  • sf_constants/electron_gyromag__ratio [real,public/parameter/optional/default=0.176085970800d+12]
  • sf_constants/electron_gyromag__ratio_over_2_pi [real,public/parameter/optional/default=0.280249526600d+05]
  • sf_constants/electron_mag__mom_ [real,public/parameter/optional/default=-0.928476430000d-23]
  • sf_constants/electron_mag__mom__to_bohr_magneton_ratio [real,public/parameter/optional/default=-0.100115965218d+01]
  • sf_constants/electron_mass [real,public/parameter/optional/default=0.910938291000d-30]
  • sf_constants/electron_mass_energy_equivalent [real,public/parameter/optional/default=0.818710506000d-13]
  • sf_constants/electron_mass_energy_equivalent_in_mev [real,public/parameter/optional/default=0.510998928d00]
  • sf_constants/electron_volt [real,public/parameter/optional/default=0.160217656500d-18]
  • sf_constants/electron_volt_atomic_mass_unit_relationship [real,public/parameter/optional/default=0.107354415000d-08]
  • sf_constants/electron_volt_hartree_relationship [real,public/parameter/optional/default=0.03674932379d0]
  • sf_constants/electron_volt_hertz_relationship [real,public/parameter/optional/default=0.241798934800d+15]
  • sf_constants/electron_volt_inverse_meter_relationship [real,public/parameter/optional/default=0.806554429000d+06]
  • sf_constants/electron_volt_joule_relationship [real,public/parameter/optional/default=0.160217656500d-18]
  • sf_constants/electron_volt_kelvin_relationship [real,public/parameter/optional/default=0.116045190000d+05]
  • sf_constants/electron_volt_kilogram_relationship [real,public/parameter/optional/default=0.178266184500d-35]
  • sf_constants/elementary_charge [real,public/parameter/optional/default=0.160217656500d-18]
  • sf_constants/elementary_charge_over_h [real,public/parameter/optional/default=0.241798934800d+15]
  • sf_constants/epsilonq [real,public/parameter/optional/default=1.d-30]
  • sf_constants/epsilonr [real,public/parameter/optional/default=epsilon(1.d0)]
  • sf_constants/euler [real,public/parameter/optional/default=2.7182818284590452353602874713526624977572470936999595749669676277240766303535d0]
  • sf_constants/faraday_constant [real,public/parameter/optional/default=0.964853365000d+05]
  • sf_constants/faraday_constant_for_conventional_electric_current [real,public/parameter/optional/default=0.964853321000d+05]
  • sf_constants/fine_structure_constant [real,public/parameter/optional/default=0.729735256980d-02]
  • sf_constants/gamma_euler [real,public/parameter/optional/default=0.57721566490153286060d0]

    euler s constant

  • sf_constants/josephson_constant [real,public/parameter/optional/default=0.483597870000d+15]
  • sf_constants/joule_electron_volt_relationship [real,public/parameter/optional/default=0.624150934000d+19]
  • sf_constants/joule_hertz_relationship [real,public/parameter/optional/default=0.150919031100d+34]
  • sf_constants/joule_inverse_meter_relationship [real,public/parameter/optional/default=0.503411701000d+25]
  • sf_constants/joule_kelvin_relationship [real,public/parameter/optional/default=0.724297160000d+23]
  • sf_constants/joule_kilogram_relationship [real,public/parameter/optional/default=0.111265005600d-16]
  • sf_constants/kelvin_atomic_mass_unit_relationship [real,public/parameter/optional/default=0.925108680000d-13]
  • sf_constants/kelvin_electron_volt_relationship [real,public/parameter/optional/default=0.861733240000d-04]
  • sf_constants/kelvin_hartree_relationship [real,public/parameter/optional/default=0.316681140000d-05]
  • sf_constants/kelvin_hertz_relationship [real,public/parameter/optional/default=0.208366180000d+11]
  • sf_constants/kelvin_inverse_meter_relationship [real,public/parameter/optional/default=69.503476d00000]
  • sf_constants/kelvin_joule_relationship [real,public/parameter/optional/default=0.138064880000d-22]
  • sf_constants/kelvin_kilogram_relationship [real,public/parameter/optional/default=0.153617900000d-39]
  • sf_constants/kilogram_atomic_mass_unit_relationship [real,public/parameter/optional/default=0.602214129000d+27]
  • sf_constants/kilogram_electron_volt_relationship [real,public/parameter/optional/default=0.560958885000d+36]
  • sf_constants/kilogram_hartree_relationship [real,public/parameter/optional/default=0.206148596800d+35]
  • sf_constants/kilogram_hertz_relationship [real,public/parameter/optional/default=0.135639260800d+50]
  • sf_constants/kilogram_inverse_meter_relationship [real,public/parameter/optional/default=0.452443873000d+42]
  • sf_constants/kilogram_joule_relationship [real,public/parameter/optional/default=0.898755178700d+17]
  • sf_constants/kilogram_kelvin_relationship [real,public/parameter/optional/default=0.650965820000d+40]
  • sf_constants/lattice_parameter_of_silicon [real,public/parameter/optional/default=0.543102050400d-09]
  • sf_constants/max_int [integer,public/parameter/optional/default=huge(1)]
  • sf_constants/max_real [real,public/parameter/optional/default=huge(1.d0)]
  • sf_constants/natural_unit_of_action [real,public/parameter/optional/default=0.105457172600d-33]
  • sf_constants/natural_unit_of_action_in_ev_s [real,public/parameter/optional/default=0.658211928000d-15]
  • sf_constants/natural_unit_of_energy [real,public/parameter/optional/default=0.818710506000d-13]
  • sf_constants/natural_unit_of_energy_in_mev [real,public/parameter/optional/default=0.510998928d00]
  • sf_constants/natural_unit_of_length [real,public/parameter/optional/default=0.386159268000d-12]
  • sf_constants/natural_unit_of_mass [real,public/parameter/optional/default=0.910938291000d-30]
  • sf_constants/natural_unit_of_mom_um [real,public/parameter/optional/default=0.273092429000d-21]
  • sf_constants/natural_unit_of_mom_um_in_mevoc [real,public/parameter/optional/default=0.510998928d0]
  • sf_constants/natural_unit_of_time [real,public/parameter/optional/default=0.128808866833d-20]
  • sf_constants/natural_unit_of_velocity [real,public/parameter/optional/default=0.299792458000d+09]
  • sf_constants/newtonian_constant_of_gravitation [real,public/parameter/optional/default=0.667384000000d-10]
  • sf_constants/one [complex,public/parameter/optional/default=(1.d0,0.d0)]
  • sf_constants/pi [real,public/parameter/optional/default=3.14159265358979323846264338327950288419716939937510d0]
  • sf_constants/pi2 [real,public/parameter/optional/default=6.28318530717959d0]
  • sf_constants/planck_constant [real,public/parameter/optional/default=0.662606957000d-33]
  • sf_constants/planck_constant_in_ev_s [real,public/parameter/optional/default=0.413566751600d-14]
  • sf_constants/planck_constant_over_2_pi [real,public/parameter/optional/default=0.105457172600d-33]
  • sf_constants/rydberg_constant [real,public/parameter/optional/default=0.109737315685d+08]
  • sf_constants/rydberg_constant_times_c_in_hz [real,public/parameter/optional/default=0.328984196036d+16]
  • sf_constants/rydberg_constant_times_hc_in_ev [real,public/parameter/optional/default=13.60569253d000]
  • sf_constants/rydberg_constant_times_hc_in_j [real,public/parameter/optional/default=0.217987217100d-17]
  • sf_constants/sp [integer,public/parameter/optional/default=kind(1.0)]
  • sf_constants/speed_of_light_in_vacuum [real,public/parameter/optional/default=0.299792458000d+09]
  • sf_constants/sqrt2 [real,public/parameter/optional/default=1.41421356237309504880169d0]
  • sf_constants/sqrt3 [real,public/parameter/optional/default=1.73205080756887729352745d0]
  • sf_constants/sqrt6 [real,public/parameter/optional/default=2.44948974278317809819728d0]
  • sf_constants/standard_acceleration_of_gravity [real,public/parameter/optional/default=9.80665d000000]
  • sf_constants/stefan_boltzmann_constant [real,public/parameter/optional/default=0.567037300000d-07]
  • sf_constants/xi [complex,public/parameter/optional/default=(0.d0,1.d0)]
  • sf_constants/zero [complex,public/parameter/optional/default=(0.d0,0.d0)]

Subroutines and functions

interface  sf_constants/isnan(a)
Parameters:

a [integer, real, complex, in]

interface  sf_constants/isinfty(a)
Parameters:

a [integer, real, complex, in]

interface  sf_constants/wait(time)
Parameters:

time [integer, real] – desired sleep interval [ms]

function  sf_constants/i_isinfty(a)
Parameters:

a [integer, in]

Return:

bool [logical]

function  sf_constants/d_isinfty(a)
Parameters:

a [real, in]

Return:

bool [logical]

function  sf_constants/z_isinfty(a)
Parameters:

a [complex, in]

Return:

bool [logical]

function  sf_constants/i_isnan(a)
Parameters:

a [integer, in]

Return:

bool [logical]

function  sf_constants/d_isnan(a)
Parameters:

a [real, in]

Return:

bool [logical]

function  sf_constants/z_isnan(a)
Parameters:

a [complex, in]

Return:

bool [logical]

subroutine  sf_constants/timestamp([unit])
Options:

unit [integer]

subroutine  sf_constants/print_date(dummy, unit)
Parameters:
  • dummy (8) [integer]

  • unit [integer]

subroutine  sf_constants/stop_error(msg)

Aborts the program with nonzero exit code

The statement “stop msg” will return 0 exit code when compiled using gfortran. stop_error() uses the statement “stop 1” which returns an exit code 1 and a print statement to print the message.

call stop_error(“Invalid argument”)

Parameters:

msg [character(len=*)] – Message to print on stderr

subroutine  sf_constants/i_wait(time)
Parameters:

time [integer] – desired sleep interval [ms]

subroutine  sf_constants/r_wait(time)
Parameters:

time [real] – desired sleep interval [ms]

subroutine  sf_constants/d_wait(time)
Parameters:

time [real] – desired sleep interval [ms]