Octopus
unit_system.F90 File Reference

Go to the source code of this file.

Modules

module  unit_system_oct_m
 This module defines the unit system, used for input and output.
 

Data Types

type  unit_system_oct_m::unit_system_t
 

Functions/Subroutines

subroutine, public unit_system_oct_m::unit_system_init (namespace)
 
subroutine, public unit_system_oct_m::unit_system_get (uu, cc)
 
subroutine unit_system_oct_m::unit_system_init_atomic (uu)
 These routines output the unit-conversion factors, defined by [a.u.] = input*u.unit, output = [a.u.]/u.unit. More...
 
subroutine unit_system_oct_m::unit_system_init_ev_ang (uu)
 
subroutine, public unit_system_oct_m::unit_system_from_file (uu, fname, namespace, ierr)
 This is a very primitive procedure that attempts to find out which units were used to write an octopus file, whether "multipoles", "cross_section_tensor", etc. More...
 

Variables

type(unit_system_t), public unit_system_oct_m::units_inp
 the units systems for reading and writing More...
 
type(unit_system_t), public unit_system_oct_m::units_out
 
type(unit_t), public unit_system_oct_m::unit_one
 some special units required for particular quantities More...
 
type(unit_t), public unit_system_oct_m::unit_angstrom
 For XYZ files. More...
 
type(unit_t), public unit_system_oct_m::unit_ppm
 Parts per million. More...
 
type(unit_t), public unit_system_oct_m::unit_debye
 For dipoles. More...
 
type(unit_t), public unit_system_oct_m::unit_invcm
 For vibrational frequencies. More...
 
type(unit_t), public unit_system_oct_m::unit_susc_ppm_cgs
 Some magnetic stuff. More...
 
type(unit_t), public unit_system_oct_m::unit_kelvin
 For converting energies into temperatures. More...
 
type(unit_t), public unit_system_oct_m::unit_femtosecond
 Time in femtoseconds. More...
 
type(unit_t), public unit_system_oct_m::unit_amu
 Mass in atomic mass units (AKA Dalton). More...
 
type(unit_t), public unit_system_oct_m::unit_kilobytes
 For small amounts of data (natural code units are bytes) More...
 
type(unit_t), public unit_system_oct_m::unit_megabytes
 For large amounts of data (natural code units are bytes) More...
 
type(unit_t), public unit_system_oct_m::unit_gigabytes
 For larger amounts of data (natural code units are bytes) More...
 
type(unit_t), public unit_system_oct_m::unit_ev
 For output energies in eV. More...
 
integer, parameter, public unit_system_oct_m::units_atomic = 0
 
integer, parameter, public unit_system_oct_m::units_eva = 1
 
integer, parameter, public unit_system_oct_m::units_fs = 2