Changeset 4777e9 for src/builder.cpp


Ignore:
Timestamp:
Jul 9, 2009, 10:31:05 AM (15 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
Children:
70c333f
Parents:
542ab3
Message:

Removed unneeded variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/builder.cpp

    r542ab3 r4777e9  
    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 ====================================
Note: See TracChangeset for help on using the changeset viewer.