Class Polyad

java.lang.Object
  extended by Polyad

public class Polyad
extends java.lang.Object

This class defines a polyad.


Constructor Summary
Polyad(int cnbvqn)
          Constructs a new Polyad.
 
Method Summary
 void askPol()
          Asks for complete definition of the polyad.
 boolean autoTestdef()
          Sets the status of the polyad.
 void calCvs(int[] vpsc)
          Virtual states calculation.
 void ecrPol(java.io.PrintWriter out1, boolean ham)
          Prints out all the sub-polyads.
 java.lang.String getCvs(int ask_polsec)
          Returns the virtual states string of a sub-polyad.
 java.lang.String getName()
          Returns the polyad name.
 int getNbvqn()
          Returns the number of vibrational quantum numbers.
 int getNbvs(int ci)
          Returns a number of vibrational states.
 int getPolnb()
          Returns the polyad number.
 int getVdvo(int ci)
          Returns an hamiltonian development order value.
 int getVpdvo(int ci)
          Returns a polarizability development order value.
 int getVqal(int ci)
          Returns a quanta limit value.
 boolean isFullydef()
          Is the polyad fully defined ?
 boolean isSetPolar()
          Get polarizability management status.
 boolean isSetPolnb()
          Is the polyad number set ?
 boolean isSetVdvo(int ci)
          Is an hamiltonian development order set ?
 boolean isSetVpdvo(int ci)
          Is a polarizability development order set ?
 boolean setInd(java.lang.String npack, java.lang.String nparaf)
          Calculates the sorting indexes for virtual states.
 void setName(java.lang.String cname)
          Sets the polyad name.
 void setPolar(boolean cispolar)
          Sets polarizability management status.
 void setPolnb(int cpolnb)
          Sets the polyad number.
 void setVdvo(int cvdvo, int ci)
          Sets an hamiltonian development order value.
 void setVpdvo(int cvpdvo, int ci)
          Sets a polarizability development order value.
 void setVqal(int cvqal, int ci)
          Sets a quanta limit value.
 void toSb(java.lang.StringBuffer sb)
          Formats text fully describing the polyad.
 void unsetPolnb()
          Unsets the polyad number.
 void unsetVdvo(int ci)
          Unsets an hamiltonian development order value.
 void unsetVpdvo(int ci)
          Unsets a polarizability development order value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Polyad

public Polyad(int cnbvqn)
Constructs a new Polyad.

Parameters:
cnbvqn - number of vibrational quantum numbers
Method Detail

getNbvqn

public int getNbvqn()
Returns the number of vibrational quantum numbers.


setName

public void setName(java.lang.String cname)
Sets the polyad name.

Parameters:
cname - polyad name

getName

public java.lang.String getName()
Returns the polyad name.


setPolnb

public void setPolnb(int cpolnb)
Sets the polyad number.

Parameters:
cpolnb - polyad number

unsetPolnb

public void unsetPolnb()
Unsets the polyad number.


isSetPolnb

public boolean isSetPolnb()
Is the polyad number set ?


getPolnb

public int getPolnb()
Returns the polyad number.


setVqal

public void setVqal(int cvqal,
                    int ci)
Sets a quanta limit value.

Parameters:
cvqal - quanta limit value
ci - quanta limit index

getVqal

public int getVqal(int ci)
Returns a quanta limit value.

Parameters:
ci - quanta limit index

setVdvo

public void setVdvo(int cvdvo,
                    int ci)
Sets an hamiltonian development order value.

Parameters:
cvdvo - development order value
ci - development order index

unsetVdvo

public void unsetVdvo(int ci)
Unsets an hamiltonian development order value.

Parameters:
ci - development order index

setPolar

public void setPolar(boolean cispolar)
Sets polarizability management status.

Parameters:
cispolar - polarizability management status

isSetPolar

public boolean isSetPolar()
Get polarizability management status.


setVpdvo

public void setVpdvo(int cvpdvo,
                     int ci)
Sets a polarizability development order value.

Parameters:
cvpdvo - development order value
ci - development order index

unsetVpdvo

public void unsetVpdvo(int ci)
Unsets a polarizability development order value.

Parameters:
ci - development order index

isSetVdvo

public boolean isSetVdvo(int ci)
Is an hamiltonian development order set ?

Parameters:
ci - development order index

getVdvo

public int getVdvo(int ci)
Returns an hamiltonian development order value.

Parameters:
ci - development order index

isSetVpdvo

public boolean isSetVpdvo(int ci)
Is a polarizability development order set ?

Parameters:
ci - development order index

getVpdvo

public int getVpdvo(int ci)
Returns a polarizability development order value.

Parameters:
ci - development order index

getNbvs

public int getNbvs(int ci)
Returns a number of vibrational states.

Parameters:
ci - number of vibrational states index

autoTestdef

public boolean autoTestdef()
Sets the status of the polyad.
(fully defined or not)


isFullydef

public boolean isFullydef()
Is the polyad fully defined ?


calCvs

public void calCvs(int[] vpsc)
Virtual states calculation.

Parameters:
vpsc - polyad scheme coefficients

getCvs

public java.lang.String getCvs(int ask_polsec)
Returns the virtual states string of a sub-polyad.

Parameters:
ask_polsec - sub-polyad number

toSb

public void toSb(java.lang.StringBuffer sb)
Formats text fully describing the polyad.

Parameters:
sb - output

ecrPol

public void ecrPol(java.io.PrintWriter out1,
                   boolean ham)
Prints out all the sub-polyads.

Parameters:
out1 - output
ham - hmodel case

askPol

public void askPol()
Asks for complete definition of the polyad.


setInd

public boolean setInd(java.lang.String npack,
                      java.lang.String nparaf)
Calculates the sorting indexes for virtual states.

Parameters:
npack - package name
nparaf - parameter file name