1. petermr
  2. declaratron-stmml

Commits

petermr  committed 8643e74

added readme

  • Participants
  • Parent commits 03209db
  • Branches default

Comments (0)

Files changed (11)

File bin/META-INF/declaratron

  • Ignore whitespace
-org.xmlcml.cml.declaratron.chem.amber.AmberConverters

File bin/log4j.properties

  • Ignore whitespace
-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

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

  • Ignore whitespace
-<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>
-		

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

  • Ignore whitespace
Binary file removed.

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

  • Ignore whitespace
Binary file removed.

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

  • Ignore whitespace
Binary file removed.

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

  • Ignore whitespace
Binary file removed.

File readme.txt

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

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

View file
  • Ignore whitespace
 		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

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

View file
  • Ignore whitespace
 		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");

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

View file
  • Ignore whitespace
 		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);