Main Page   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

MolecularFrequencies Class Reference

The MolecularFrequencies class is used to compute the molecular frequencies and thermodynamic information. More...

#include <molfreq.h>

Inheritance diagram for MolecularFrequencies

Inheritance graph
[legend]
Collaboration diagram for MolecularFrequencies:

Collaboration graph
[legend]
List of all members.

Public Methods

 MolecularFrequencies (const Ref< KeyVal > &)
 The KeyVal constructor. More...

 MolecularFrequencies (StateIn &)
 ~MolecularFrequencies ()
void save_data_state (StateOut &)
 Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them. More...

Ref<Moleculemolecule () const
 Return the molecule.

void compute_frequencies (const RefSymmSCMatrix &xhessian)
 Given a cartesian coordinate hessian, compute the frequencies.

int nirrep () const
 Returns the number if irreps.

int nfreq (int irrep) const
 Returns the number of modes in an irrep. More...

double freq (int irrep, int i) const
 Returns the frequency, given the irrep and the index. More...

RefSCMatrix normal_coordinates ()
 This returns the normal coordinates generated by compute_frequencies.

void thermochemistry (int degeneracy, double temp=298.15, double pres=1.0)
 Computes thermochemical information using information generated by calling compute_frequencies first.

void animate (const Ref< Render > &, const Ref< MolFreqAnimate > &)
Ref<SCMatrixKitmatrixkit ()
Ref<SCMatrixKitsymmatrixkit ()

Detailed Description

The MolecularFrequencies class is used to compute the molecular frequencies and thermodynamic information.


Constructor & Destructor Documentation

MolecularFrequencies::MolecularFrequencies ( const Ref< KeyVal > & )
 

The KeyVal constructor.

mole
A MolecularEnergy object. If this is not given then molecule must be given.

molecule
A Molecule object. If this is not given then mole must be given.

point_group
A PointGroup object. This is the point group used to compute the finite displacements. Since some MolecularEnergy objects cannot handle changes in the molecule's point group, the molecule must be given symmetry for frequency calculations. In this case, the point_group keyword can be given to reduce number of the displacements needed to compute the frequencies. If this is not given then the point group of the molecule is used.

debug
An integer which, if nonzero, will cause extra output.

displacement
The amount that coordinates will be displaced. The default is 0.001.


Member Function Documentation

double MolecularFrequencies::freq ( int irrep,
int i ) const [inline]
 

Returns the frequency, given the irrep and the index.

compute_frequencies must be called first.

int MolecularFrequencies::nfreq ( int irrep ) const [inline]
 

Returns the number of modes in an irrep.

compute_frequencies must be called first.

void MolecularFrequencies::save_data_state ( StateOut & s ) [virtual]
 

Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them.

This must be implemented by the derived class if the class has data.

Reimplemented from SavableState.


The documentation for this class was generated from the following file:
Generated at Thu Oct 4 18:09:23 2001 for MPQC 2.0.0 using the documentation package Doxygen 1.2.5.