28#ifndef _chemistry_molecule_molfreq_h
29#define _chemistry_molecule_molfreq_h
32#include <math/scmat/matrix.h>
33#include <util/render/animate.h>
34#include <chemistry/molecule/energy.h>
35#include <chemistry/molecule/molrender.h>
36#include <chemistry/molecule/coor.h>
70 void do_freq_for_irrep(
int irrep,
111 int nfreq(
int irrep)
const {
return nfreq_[irrep]; }
115 double freq(
int irrep,
int i)
const {
return freq_[irrep][i]; }
146 void set_mode(
int i,
int j) { irrep_ = i; mode_ = j; }
The MolecularFrequencies class is used to compute the molecular frequencies and thermodynamic informa...
Definition molfreq.h:47
Ref< Molecule > molecule() const
Return the molecule.
Definition molfreq.h:101
RefSCMatrix normal_coordinates()
This returns the normal coordinates generated by compute_frequencies.
Definition molfreq.h:119
double freq(int irrep, int i) const
Returns the frequency, given the irrep and the index.
Definition molfreq.h:115
void save_data_state(StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
void thermochemistry(int degeneracy, double temp=298.15, double pres=1.0)
Computes thermochemical information using information generated by calling compute_frequencies first.
MolecularFrequencies(const Ref< KeyVal > &)
The KeyVal constructor.
int nfreq(int irrep) const
Returns the number of modes in an irrep.
Definition molfreq.h:111
int nirrep() const
Returns the number if irreps.
Definition molfreq.h:107
void compute_frequencies(const RefSymmSCMatrix &xhessian)
Given a cartesian coordinate hessian, compute the frequencies.
The RefDiagSCMatrix class is a smart pointer to an DiagSCMatrix specialization.
Definition matrix.h:389
The RefSCDimension class is a smart pointer to an SCDimension specialization.
Definition dim.h:152
The RefSCMatrix class is a smart pointer to an SCMatrix specialization.
Definition matrix.h:135
The RefSymmSCMatrix class is a smart pointer to an SCSymmSCMatrix specialization.
Definition matrix.h:265
A template class that maintains references counts.
Definition ref.h:361
Base class for objects that can save/restore state.
Definition state.h:45
Restores fundamental and user-defined types from images created with StateOut.
Definition statein.h:79
Serializes fundamental and user-defined types.
Definition stateout.h:71
Contains all MPQC code up to version 3.
Definition mpqcin.h:14