k-dot-p 0.1

kdp::constants Namespace Reference

Functions

___const double ev_to_hartree (double ev)
___const double hartree_to_ev (double hartree)
___const double bohr_to_m (double bohr)
___const double m_to_bohr (double m)
___const double bohr_to_nm (double bohr)
___const double nm_to_bohr (double nm)

Variables

double hbar = 6.58211899e-16
double c = 299792458
double m0 = 0.510998910e6/c/c
double e = 1.602176487e-19
double q_e = -e
double epsilon0 = 8.854187817e-12
double ev_in_hartree = 1.0/27.21138386
double hartree_in_ev = 27.21138386
double bohr_in_meters = 0.529177208e-10
double bohr_in_nmeters = 0.529177208e-1

Function Documentation

___const double kdp::constants::bohr_to_m ( double  bohr)

Definition at line 60 of file physical_constants.c++.

References bohr_in_meters.

                                       {
  return bohr*bohr_in_meters;
}
___const double kdp::constants::bohr_to_nm ( double  bohr)

Definition at line 68 of file physical_constants.c++.

References bohr_in_nmeters.

                                        {
  return bohr*bohr_in_nmeters;
}
___const double kdp::constants::ev_to_hartree ( double  ev)

Definition at line 52 of file physical_constants.c++.

References ev_in_hartree.

                                         {
  return ev * ev_in_hartree;
}
___const double kdp::constants::hartree_to_ev ( double  hartree)

Definition at line 56 of file physical_constants.c++.

References hartree_in_ev.

                                              {
  return hartree * hartree_in_ev;
}
___const double kdp::constants::m_to_bohr ( double  m)

Definition at line 64 of file physical_constants.c++.

References bohr_in_meters.

                                    {
  return m/bohr_in_meters;
}
___const double kdp::constants::nm_to_bohr ( double  nm)

Definition at line 72 of file physical_constants.c++.

References bohr_in_nmeters.

                                      {
  return nm/bohr_in_nmeters;
}

Variable Documentation

double kdp::constants::bohr_in_meters = 0.529177208e-10

Definition at line 49 of file physical_constants.c++.

Referenced by bohr_to_m(), and m_to_bohr().

double kdp::constants::bohr_in_nmeters = 0.529177208e-1

Definition at line 50 of file physical_constants.c++.

Referenced by bohr_to_nm(), and nm_to_bohr().

double kdp::constants::e = 1.602176487e-19

Definition at line 39 of file physical_constants.c++.

Referenced by alpha_efield_change_calculation_callback(), calculate_alpha_for_structure(), kdotp::libkdotp::hamiltonian::cartesian_8band::cartesian_8band(), kdotp::libmetacalc::optimizer::digital_alloy_optimizer_1d::digital_alloy_optimizer_1d(), kdotp::libmetacalc::optimizer::digital_alloy_optimizer_1d_mpi::digital_alloy_optimizer_1d_mpi(), kdotp::libmodelxx::grid::cartesian_grid< libmodelxx::structure::material *, 1, 1 >::dump(), kdotp::libmodelxx::grid::cartesian_grid< libmodelxx::structure::material *, 1, 1 >::dump_foreach_callback(), kdotp::libmodelxx::grid::dump_grid(), kdotp::libmodelxx::grid::cartesian_grid< libmodelxx::structure::material *, 1, 1 >::dump_indexed(), kdotp::libmodelxx::grid::dump_indexed_grid(), kdotp::libmodelxx::postprocessing::evaluate_function(), kdotp::libmodelxx::grid::cartesian_grid< libmodelxx::structure::material *, 1, 1 >::for_each_point(), kdotp::libmodelxx::structure::generic_structure_dump(), kdotp::libmodelxx::structure::generic_structure_free(), kdotp::libmodelxx::structure::generic_structure_new(), kdotp::libmodelxx::postprocessing::get_function_datatype(), kdotp::libmodelxx::structure::get_material(), main(), kdotp::libmetacalc::self_consistent::self_consistent_potential< ::kdotp::libkdotp::hamiltonian::cartesian_effective_mass, 1 >::perform_calculation(), kdotp::libmodelxx::grid::cartesian_grid< libmodelxx::structure::material *, 1, 1 >::point_is_in_shape(), kdotp::libmodelxx::continuous_structure::postprocess_structure(), process_args(), kdotp::libmodelxx::grid::cartesian_grid< libmodelxx::structure::material *, 1, 1 >::set_point_function(), kdotp::libmodelxx::grid::cartesian_grid< libmodelxx::structure::material *, 1, 1 >::set_points(), kdotp::libmodelxx::grid::set_value_in_grid(), kdotp::libkdotp::hamiltonian::store_reduced_material_parameters(), and write_raw_bands_file().

double kdp::constants::epsilon0 = 8.854187817e-12

Definition at line 43 of file physical_constants.c++.

double kdp::constants::ev_in_hartree = 1.0/27.21138386

Definition at line 46 of file physical_constants.c++.

Referenced by ev_to_hartree().

double kdp::constants::hartree_in_ev = 27.21138386

Definition at line 48 of file physical_constants.c++.

Referenced by hartree_to_ev().

Definition at line 41 of file physical_constants.c++.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines