public class Mopac7Writer
extends org.openscience.cdk.io.DefaultChemObjectWriter
AbstractMopacShell
ShellMengine
Modifier and Type | Field and Description |
---|---|
protected String |
blank |
protected String[] |
default_mopac_commands |
protected String |
mopac_commands |
protected NumberFormat |
nf |
protected int |
optimize |
Constructor and Description |
---|
Mopac7Writer(OutputStream out) |
Mopac7Writer(Writer out) |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(Class classObject) |
void |
close() |
void |
generate2d(org.openscience.cdk.interfaces.IAtomContainer a) |
org.openscience.cdk.io.formats.IResourceFormat |
getFormat() |
String |
getMopacCommands() |
String |
getTitle() |
int |
isOptimize() |
void |
setMopacCommands(String commands) |
void |
setOptimize(int optimize) |
void |
setWriter(OutputStream writer) |
void |
setWriter(Writer writer) |
String |
toString() |
void |
write(org.openscience.cdk.interfaces.IChemObject arg0) |
protected void |
writeAtom(org.openscience.cdk.interfaces.IAtom atom,
double x,
double y,
double z,
int optimize) |
addChemObjectIOListener, addSetting, addSettings, fireIOSettingQuestion, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListener
protected String[] default_mopac_commands
protected String mopac_commands
protected String blank
protected int optimize
protected NumberFormat nf
public Mopac7Writer(OutputStream out) throws Exception
Exception
public void generate2d(org.openscience.cdk.interfaces.IAtomContainer a) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKException
public void write(org.openscience.cdk.interfaces.IChemObject arg0) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKException
protected void writeAtom(org.openscience.cdk.interfaces.IAtom atom, double x, double y, double z, int optimize) throws IOException
IOException
public void close() throws IOException
IOException
public int isOptimize()
public void setOptimize(int optimize)
optimize
- true if to perform optimization of the structurepublic boolean accepts(Class classObject)
public org.openscience.cdk.io.formats.IResourceFormat getFormat()
public void setWriter(OutputStream writer) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKException
public void setWriter(Writer writer) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKException
public String getTitle()
public String getMopacCommands()
public void setMopacCommands(String commands)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.