Inheritance diagram for Chemistry::MoleculeInterface:

Public Member Functions | |
| void | initialize (in long natom, in string unitname) |
| Initialize a molecule. | |
| Physics.UnitsInterface | get_units () |
| Returns a units object that corresponds to the units that are used by get_cart_coor or set_cart_coor. | |
| long | get_n_atom () |
| Returns the number of atoms. | |
| int | get_atomic_number (in long atomnum) |
| Returns the atomic number of an atom. | |
| void | set_atomic_number (in long atomnum, in int atomic_number) |
| Sets atomic number of an atom. | |
| double | get_net_charge () |
| Returns net charge of the molecule. | |
| void | set_net_charge (in double charge) |
| Sets the net charge of the molecule. | |
| double | get_charge (in long atomnum) |
| Returns charge at an atom. | |
| void | set_charge (in long atomnum, in double charge) |
| Sets charge of an atom. | |
| array< double, 1 > | get_coor () |
| Returns the Cartesian coordinate array. | |
| void | set_coor (in array< double, 1 > x) |
| Sets the Cartesian coordinates. | |
| double | get_cart_coor (in long atomnum, in int xyz) |
| Gets individual Cartesian coordinate. | |
| void | set_cart_coor (in long atomnum, in int xyz, in double val) |
| Sets individual Cartesian coordinate. | |
| string | get_atomic_label (in long atomnum) |
| Returns label for atom. | |
| void | set_atomic_label (in long atomnum, in string label) |
| Sets label for atom. | |
Each atom is associated with a charge, an atomic number, a Cartesian coordinate, and an optional label.
Ghost atoms (atoms do not contribute a charge) have the appropriate atomic number but a zero charge. Point charges have an atomic number of zero, but have a nonzero charge.
|
|
Returns label for atom.
|
|
|
Returns the atomic number of an atom.
|
|
||||||||||||
|
Gets individual Cartesian coordinate.
|
|
|
Returns charge at an atom.
|
|
|
Returns the Cartesian coordinate array.
|
|
|
Returns the number of atoms.
|
|
|
Returns net charge of the molecule.
|
|
|
Returns a units object that corresponds to the units that are used by get_cart_coor or set_cart_coor.
|
|
||||||||||||
|
Initialize a molecule.
|
|
||||||||||||
|
Sets label for atom.
|
|
||||||||||||
|
Sets atomic number of an atom.
|
|
||||||||||||||||
|
Sets individual Cartesian coordinate.
|
|
||||||||||||
|
Sets charge of an atom. set_net_charge must called as well to ensure internal consistency.
|
|
|
Sets the Cartesian coordinates.
|
|
|
Sets the net charge of the molecule. charge The new net charge. |
1.3.9.1