GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
sc::Units(3) MPQC sc::Units(3)

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

#include <units.h>

Inherits sc::SavableState.


enum Storage { Steal, Copy }


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.


void parse_unit ()


char * strrep_
double to_atomic_units_

The Units class is used to perform unit converions.

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.

Save the state of the Units object to s.

Reimplemented from sc::SavableState.

Generated automatically by Doxygen for MPQC from the source code.
Tue Jun 7 2022 Version 2.3.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.