2 |
|
#include <cstdio> |
3 |
|
#include <cstring> |
4 |
|
#include <cstdlib> |
5 |
+ |
|
6 |
|
#include "bassDiag.hpp" |
7 |
|
|
8 |
|
void bassDiag::dumpStamps(void){ |
109 |
|
} |
110 |
|
|
111 |
|
if (globals->haveTempSet()){ |
112 |
< |
sprintf(msg,"TempSet = %lf\n",globals->getTempSet()); |
112 |
> |
sprintf(msg,"TempSet = %d\n",globals->getTempSet()); |
113 |
|
dumpFormater(msg); |
114 |
|
|
115 |
|
} |
117 |
|
n_components = globals->getNComponents(); |
118 |
|
sprintf(msg,"\nWriting out %d components\n",n_components); |
119 |
|
dumpFormater(msg); |
120 |
< |
components = globals-getComponents(); |
120 |
> |
components = globals->getComponents(); |
121 |
|
|
122 |
|
for(int i=0; i < n_components ; i++){ |
123 |
|
|
127 |
|
sprintf(msg," Type = %s\n",components[i]->getType()); |
128 |
|
dumpFormater(msg); |
129 |
|
|
130 |
< |
if (components[i]->haveNmol){ |
130 |
> |
if (components[i]->haveNMol()){ |
131 |
|
|
132 |
|
sprintf(msg," Nmol = %d\n",components[i]->getNMol()); |
133 |
|
dumpFormater(msg); |
137 |
|
dumpFormater(msg); |
138 |
|
} |
139 |
|
|
140 |
< |
testMolecule = stamps->getMolecule("tester"); |
140 |
> |
//testMolecule = stamps->getMolecule("tester"); |
141 |
> |
testMolecule = NULL; // fix me!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
142 |
|
|
143 |
|
if(testMolecule != NULL ){ |
144 |
|
|
163 |
|
sprintf(msg," Atom[%d]{\n",i); |
164 |
|
dumpFormater(msg); |
165 |
|
|
166 |
< |
sprintf(msg," type = %s\n",aStamp->getType); |
166 |
> |
sprintf(msg," type = %s\n",aStamp->getType()); |
167 |
|
dumpFormater(msg); |
168 |
|
|
169 |
|
if(aStamp->havePosition()){ |
257 |
|
} |
258 |
|
else{ |
259 |
|
sprintf(msg, "\n**************** Tester.mdl not included *************\n"); |
260 |
< |
dumpFormatter( msg ); |
260 |
> |
dumpFormater( msg ); |
261 |
|
|
262 |
|
} |
263 |
|
} |