|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectetomica.action.WriteConfigurationP2DLPOLY
public class WriteConfigurationP2DLPOLY
Dumps a box's configuration to a file. The coordinates are written in a format that can be read in by ConfigurationFile. The output file is normally named 'CONFIG', which is read by the DL_MULTI package as an input file This class is set up for the purpose of computing the pair energy of 2 molecules instead of the whole system In this system, it is made as a non-periodic boundary condition
| Constructor Summary | |
|---|---|
WriteConfigurationP2DLPOLY()
|
|
| Method Summary | |
|---|---|
void |
actionPerformed()
Writes the leaf Atom coordinates to the file CONFIG. |
IBox |
getBox()
Returns the box whose atom coordinates get written to the file. |
String |
getConfName()
Returns the configuration name. |
boolean |
getDoApplyPBC()
Returns true if PBC are applied to coordinates written to the file. |
HashMap<IElement,String> |
getElementHash()
|
int |
getTypeInteraction()
|
boolean |
getWriteVelocity()
|
void |
setBox(IBox newBox)
Sets the box whose atom coordinates get written to the file. |
void |
setConfName(String newConfName)
Sets the configuration name. |
void |
setDoApplyPBC(boolean newDoApplyPBC)
Directs the writer to apply periodic boundary conditions or not (true by default). |
void |
setMolecule(IMolecule molecule1,
IMolecule molecule2)
|
void |
setWriteVelocity(boolean newWriteVelocity)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WriteConfigurationP2DLPOLY()
| Method Detail |
|---|
public HashMap<IElement,String> getElementHash()
public void setConfName(String newConfName)
public String getConfName()
public void setBox(IBox newBox)
public IBox getBox()
public void setDoApplyPBC(boolean newDoApplyPBC)
public boolean getDoApplyPBC()
public void setWriteVelocity(boolean newWriteVelocity)
public boolean getWriteVelocity()
public int getTypeInteraction()
public void setMolecule(IMolecule molecule1,
IMolecule molecule2)
public void actionPerformed()
actionPerformed in interface IAction
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||