sc_Units man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

sc::Units(3)			     MPQC			  sc::Units(3)

NAME
       sc::Units - The Units class is used to perform unit converions.

SYNOPSIS
       #include <units.h>

       Inherits sc::SavableState.

   Public Types
       enum Storage { Steal, Copy }

   Public Member Functions
       Units (const char *strrep)
	   Create using a string representation, like 'kcal/mol'.
       Units (char *strrep, Units::Storage=Units::Copy)
	   Create using a string representation, like 'kcal/mol'.
       Units (StateIn &s)
	   Restore the state of a Units object from s.
       double to (const Ref< Units > &u) const
	   The conversion factor from this to u.
       double from (const Ref< Units > &u) const
	   The conversion factor from u to this.
       double to_atomic_units () const
	   The conversion factor from this to atomic units.
       double from_atomic_units () const
	   The conversion factor from atom units to this.
       const char * string_rep () const
	   The string representation of the units.
       void save_data_state (StateOut &s)
	   Save the state of the Units object to s.

   Protected Member Functions
       void parse_unit ()

   Protected Attributes
       char * strrep_
       double to_atomic_units_

   Additional Inherited Members
Detailed Description
       The Units class is used to perform unit converions.

Constructor & Destructor Documentation
   sc::Units::Units (char * strrep, Units::Storage = Units::Copy)
       Create using a string representation, like 'kcal/mol'. if Units::Steal
       is given is the second argment, the new Units object will delete the
       strrep argument when it is destroyed.

Author
       Generated automatically by Doxygen for MPQC from the source code.

Version 2.3.1			Fri Feb 19 2016			  sc::Units(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net