Changeset 61e92a


Ignore:
Timestamp:
Jul 9, 2009, 10:31:05 AM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
669a7e
Parents:
12cf763
Message:

Removed unneeded variables

Location:
molecuilder/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/analyzer.cpp

    r12cf763 r61e92a  
    5050        char *dir = NULL;
    5151        bool Hcorrected = true;
    52         double norm;
    5352        int counter;
    5453
  • molecuilder/src/builder.cpp

    r12cf763 r61e92a  
    628628static void ManipulateAtoms(periodentafel *periode, MoleculeListClass *molecules, config *configuration)
    629629{
    630   atom *first, *second, *third, *fourth;
    631   Vector **atoms;
     630  atom *first, *second;
    632631  molecule *mol = NULL;
    633632  Vector x,y,z,n; // coordinates for absolute point in cell volume
    634633  double *factor; // unit factor if desired
    635   double a,b,c;
    636634  double bond, min_bond;
    637635  char choice;  // menu choice char
     
    743741static void ManipulateMolecules(periodentafel *periode, MoleculeListClass *molecules, config *configuration)
    744742{
    745   atom *first, *second, *third, *fourth;
    746   Vector **atoms;
     743  atom *first = NULL;
    747744  Vector x,y,z,n; // coordinates for absolute point in cell volume
    748   double a,b,c;
    749745  int j, axis, count, faktor;
    750746  char choice;  // menu choice char
    751   bool valid;
    752747  molecule *mol = NULL;
    753748  element **Elements;
     
    900895{
    901896  char choice;  // menu choice char
    902   bool valid;
    903897  Vector Center;
    904898  int nr, count;
    905899  molecule *mol = NULL;
    906   char *molname = NULL;
    907   int length;
    908900  char filename[MAXSTRINGSIZE];
    909901
     
    10081000{
    10091001  char choice;  // menu choice char
    1010   bool valid;
    10111002
    10121003  cout << Verbose(0) << "===========MERGE MOLECULES=====================" << endl;
     
    14851476                                                        } else {
    14861477                                                                class Tesselation T;
    1487                                                                 int N = 15;
    1488                                                                 int number = 100;
    14891478                                                                string filename(argv[argptr+1]);
    14901479                                                                filename.append(".csv");
     
    17991788        molecule *mol = NULL;
    18001789        config configuration;
    1801         double tmp1;
    1802         atom *first, *second;
    18031790        char choice;    // menu choice char
    18041791        Vector x,y,z,n; // coordinates for absolute point in cell volume
    1805         bool valid; // flag if input was valid or not
    18061792        ifstream test;
    18071793        ofstream output;
     
    18091795        char *ConfigFileName = NULL;
    18101796        char *ElementsFileName = NULL;
    1811         int Z;
    1812         int j, axis, count, faktor;
     1797        int j, count;
    18131798
    18141799        // =========================== PARSE COMMAND LINE OPTIONS ====================================
  • molecuilder/src/moleculelist.cpp

    r12cf763 r61e92a  
    3939  mol->IndexNr = MaxIndex++;
    4040  ListOfMolecules.push_back(mol);
     41  return true;
    4142};
    4243
     
    124125void MoleculeListClass::Enumerate(ofstream *out)
    125126{
    126   int i=1;
    127127  element* Elemental = NULL;
    128128  atom *Walker = NULL;
Note: See TracChangeset for help on using the changeset viewer.