ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/interface_implementation/bassDiag.cpp
(Generate patch)

Comparing trunk/mdtools/interface_implementation/bassDiag.cpp (file contents):
Revision 129 by chuckv, Thu Oct 3 21:57:57 2002 UTC vs.
Revision 249 by chuckv, Mon Jan 27 21:28:19 2003 UTC

# Line 2 | Line 2
2   #include <cstdio>
3   #include <cstring>
4   #include <cstdlib>
5 +
6   #include "bassDiag.hpp"
7  
8   void bassDiag::dumpStamps(void){
# Line 108 | Line 109 | 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    }
# Line 116 | Line 117 | void bassDiag::dumpStamps(void){
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  
# Line 126 | Line 127 | void bassDiag::dumpStamps(void){
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);
# Line 136 | Line 137 | void bassDiag::dumpStamps(void){
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      
# Line 161 | Line 163 | void bassDiag::dumpStamps(void){
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()){
# Line 255 | Line 257 | void bassDiag::dumpStamps(void){
257    }
258    else{
259      sprintf(msg, "\n**************** Tester.mdl not included *************\n");
260 <    dumpFormatter( msg );
260 >    dumpFormater( msg );
261    
262    }
263   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines