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 130 by chuckv, Thu Oct 3 21:57:57 2002 UTC vs.
Revision 131 by chuckv, Wed Oct 9 22:29:40 2002 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 161 | Line 162 | void bassDiag::dumpStamps(void){
162        sprintf(msg,"  Atom[%d]{\n",i);
163        dumpFormater(msg);
164        
165 <      sprintf(msg,"    type = %s\n",aStamp->getType);
165 >      sprintf(msg,"    type = %s\n",aStamp->getType());
166        dumpFormater(msg);
167        
168        if(aStamp->havePosition()){
# Line 255 | Line 256 | void bassDiag::dumpStamps(void){
256    }
257    else{
258      sprintf(msg, "\n**************** Tester.mdl not included *************\n");
259 <    dumpFormatter( msg );
259 >    dumpFormater( msg );
260    
261    }
262   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines