|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcrystals.AbstractCrystal
crystals.Ctrigonal
public class Ctrigonal
Java Class containing all necessary operations for the trigonal (rhombohedral) Bravais lattice.
Field Summary |
---|
Fields inherited from class crystals.AbstractCrystal |
---|
bMessagebox, darkgreen, ledges, lvertices, numberofledges, numberoflvertices |
Constructor Summary | |
---|---|
Ctrigonal()
|
Method Summary | |
---|---|
void |
calculate(Parameter param)
Calculates the lattice points. |
double[] |
getCrystaldefault()
Returns the default lattice parameter |
java.lang.String |
getCrystalID()
Returns a short name for this lattice. |
GuiModel |
getguiModel()
Initializes and returns a guiModel appropriate for the lattice. |
java.lang.String |
getName()
Returns the Name of the Lattice. |
java.lang.String |
getThumbnailID()
Every lattice has its own icon |
Methods inherited from class crystals.AbstractCrystal |
---|
addBase, addBasis, addEdge, addEdge, addEdge, addEdge, addPoint, addPoint, addPoint, addPoint, addSymmetricEdge, addSymmetricEdge, addSymmetricEdge, addSymmetricPoint, getLabeledEdges, getLabeledVertices, precalculating |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Ctrigonal()
Method Detail |
---|
public java.lang.String getName()
AbstractCrystal
getName
in class AbstractCrystal
public java.lang.String getCrystalID()
AbstractCrystal
ParamTest
to ask for the lattice. The same name is used as
parameter for the applet.
getCrystalID
in class AbstractCrystal
public GuiModel getguiModel()
AbstractCrystal
getguiModel
in class AbstractCrystal
public void calculate(Parameter param)
AbstractCrystal
param
to calculate the appropriate lattice points in
the reciprocal lattice space. The results are stored in the public Arrays
AbstractCrystal.lvertices
and AbstractCrystal.ledges
. Every subclass should do this
differently.
calculate
in class AbstractCrystal
param
- All necessery parameters, especially the lattice constants.public double[] getCrystaldefault()
AbstractCrystal
getCrystaldefault
in class AbstractCrystal
public java.lang.String getThumbnailID()
AbstractCrystal
getThumbnailID
in class AbstractCrystal
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |