Commits

Anonymous committed 8643e74

added readme

Comments (0)

Files changed (11)

bin/META-INF/declaratron

-org.xmlcml.cml.declaratron.chem.amber.AmberConverters

bin/log4j.properties

-log4j.rootLogger=DEBUG, A1
-log4j.appender.A1=org.apache.log4j.ConsoleAppender
-log4j.appender.A1.layout=org.apache.log4j.PatternLayout
-log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
-log4j.logger.uk.ac.cam=DEBUG
-
-log4j.logger.org.xmlcml.cml.converters.marker = INFO

bin/org/xmlcml/declaratron/chem/chemistry/classList.xml

-<classList>
-	<class tag="arrayTool"    name="org.xmlcml.cml.chemistry.ArrayToolVisitable" />
-	<class tag="atomTypeTool" name="org.xmlcml.cml.chemistry.AtomTypeToolVisitable" />
-	<class tag="energy"       name="org.xmlcml.cml.chemistry.EnergyVisitable" />
-	<class tag="geometry"     name="org.xmlcml.cml.chemistry.GeometryVisitable" />
-	<class tag="moleculeTool" name="org.xmlcml.cml.chemistry.MoleculeToolVisitable" />
-	<class tag="units"        name="org.xmlcml.cml.units.UnitsVisitor" />
-</classList>
-		

bin/org/xmlcml/declaratron/stmml/stmml/ArrayToolVisitable.class

Binary file removed.

bin/org/xmlcml/declaratron/stmml/stmml/ArrayToolVisitorTest.class

Binary file removed.

bin/org/xmlcml/declaratron/stmml/stmml/TableToolVisitable.class

Binary file removed.

bin/org/xmlcml/declaratron/stmml/units/UnitsVisitor.class

Binary file removed.
+Declaratron-Stmml
+=================
+
+Basic physics infrastructure. (Arrays, tables, Units)
+
+Main code: Arrays, tables, Units
+
+Test: minimal tests at present

src/main/java/org/xmlcml/declaratron/stmml/stmml/ArrayToolVisitable.java

 		log.debug(e.toXML());
 	}
 
-	public Element runTreeVisit() {
+	public String getTag() {return TAG;}
+
+	public Element runTreeVisit(Element targetElement) {
+		this.targetElement = targetElement;
 		processAttributes();
 		if (arrayList == null || arrayList.size() == 0) {
 			// these methods create an array

src/main/java/org/xmlcml/declaratron/stmml/stmml/TableToolVisitable.java

 		log.debug(e.toXML());
 	}
 
-	public Element runTreeVisit() {
+	public String getTag() {return TAG;}
+	
+	public Element runTreeVisit(Element targetElement) {
+		this.targetElement = targetElement;
 		processAttributes();
 		if (tableList == null || tableList.size() == 0) {
 			System.out.println("no table");

src/main/java/org/xmlcml/declaratron/stmml/units/UnitsVisitor.java

 		log.debug(e.toXML());
 	}
 
-	public Element runTreeVisit() {
+	public String getTag() {return TAG;}
+	
+	public Element runTreeVisit(Element targetElement) {
+		this.targetElement = targetElement;
 		processAttributes();
 		for (Element e : elements) {
 			getScalarDouble(e);