- Timestamp:
- Dec 14, 2012, 5:39:30 PM (12 years ago)
- 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:
- 5251af
- Parents:
- 8b886f
- git-author:
- Frederik Heber <heber@…> (10/05/12 07:59:22)
- git-committer:
- Frederik Heber <heber@…> (12/14/12 17:39:30)
- Location:
- src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/MoleculeAction/VerletIntegrationAction.cpp
r8b886f r4882d5 57 57 /** =========== define the function ====================== */ 58 58 Action::state_ptr MoleculeVerletIntegrationAction::performCall() { 59 LOG(1, "Parsing forces file and Verlet integrating.");60 59 // TODO: sollte besser stream nutzen, nicht filename direkt (es sei denn, ist prefix), besser fuer unit test 61 char outputname[MAXSTRINGSIZE];62 strcpy(outputname, params.forcesfile.get().string().c_str());63 60 AtomSetMixin<std::vector<atom *> > set(World::getInstance().getSelectedAtoms()); 64 61 for (unsigned int step = 0; step < params.MDSteps.get(); ++step) { 65 VerletForceIntegration<std::vector<atom *> > Verlet(set, params.Deltat.get(), step, false); 66 if (!Verlet(outputname, 1, 0, params.FixedCenterOfMass.get())) 62 VerletForceIntegration<std::vector<atom *> > Verlet(set, params.Deltat.get(), false); 63 // parse forces into next step 64 if (!params.forcesfile.get().string().empty()) { 65 LOG(1, "Parsing forces file."); 66 if (!Verlet.parseForcesFile(params.forcesfile.get().string().c_str(), step)) 67 LOG(2, "File " << params.forcesfile.get() << " not found."); 68 else 69 LOG(2, "File " << params.forcesfile.get() << " found and parsed."); 70 } 71 // perform velocity verlet update 72 LOG(1, "Verlet integrating."); 73 if (!Verlet(step+1, 1, 0, params.FixedCenterOfMass.get())) 67 74 LOG(2, "File " << params.forcesfile.get() << " not found."); 68 75 else -
src/Actions/MoleculeAction/VerletIntegrationAction.def
r8b886f r4882d5 11 11 #include "Parameters/Validators/DummyValidator.hpp" 12 12 #include "Parameters/Validators/GenericValidators.hpp" 13 #include "Parameters/Validators/Ops_Validator.hpp" 13 14 #include "Parameters/Validators/Specific/FilePresentValidator.hpp" 14 15 … … 17 18 // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value 18 19 #define paramtypes (boost::filesystem::path)(double)(unsigned int)(bool) 19 #define paramtokens (" verlet-integration")("deltat")("MDSteps")("keep-fixed-CenterOfMass")20 #define paramdescriptions (" perform verlet integration of a given force file")("time step width")("number of MDSteps to integrate")("whether forces and velocities shall be corrected such that center of mass remains at rest")21 # undef paramdefaults20 #define paramtokens ("forces-file")("deltat")("MDSteps")("keep-fixed-CenterOfMass") 21 #define paramdescriptions ("file containing")("time step width")("number of MDSteps to integrate")("whether forces and velocities shall be corrected such that center of mass remains at rest") 22 #define paramdefaults (PARAM_DEFAULT(""))(NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(NOPARAM_DEFAULT) 22 23 #define paramreferences (forcesfile)(Deltat)(MDSteps)(FixedCenterOfMass) 23 24 #define paramvalids \ 24 ( FilePresentValidator()) \25 (DummyValidator< boost::filesystem::path >()) \ 25 26 (PositiveValidator< double >()) \ 26 27 (NotZeroValidator< unsigned int >()) \ -
src/Atom/atom_atominfo.cpp
r8b886f r4882d5 584 584 * \param Deltat time step width 585 585 * \param IsAngstroem whether the force's underlying unit of length is angstroem or bohr radii 586 * \param *Force matrix with forces 587 */ 588 void AtomInfo::VelocityVerletUpdate(int nr, const unsigned int NextStep, double Deltat, bool IsAngstroem, ForceMatrix *Force, const size_t offset) 589 { 586 */ 587 void AtomInfo::VelocityVerletUpdate(int nr, const unsigned int NextStep, double Deltat, bool IsAngstroem) 588 { 589 const unsigned int LastStep = NextStep == 0 ? 0 : NextStep-1; 590 590 591 LOG(2, "INFO: Particle that currently " << *this); 591 592 LOG(2, "INFO: Integrating with mass=" << getMass() << " and Deltat=" … … 593 594 // update force 594 595 // (F+F_old)/2m = a and thus: v = (F+F_old)/2m * t = (F + F_old) * a 595 Vector tempVector; 596 for (int d=0; d<NDIM; d++) { 597 ASSERT(Force->RowCounter[0] > nr, 598 "AtomInfo::VelocityVerletUpdate() - "+toString(nr) 599 +" out of bounds [0,"+toString(Force->RowCounter[0]) 600 +"] access on force matrix."); 601 ASSERT(Force->ColumnCounter[0] > d+(int)offset, 602 "AtomInfo::VelocityVerletUpdate() - "+toString(d+offset) 603 +" out of bounds [0,"+toString(Force->ColumnCounter[0]) 604 +"] access on force matrix."); 605 tempVector[d] = -Force->Matrix[0][nr][d+offset]*(IsAngstroem ? AtomicLengthToAngstroem : 1.); 606 } 607 LOG(3, "INFO: Force at step " << NextStep << " set to " << tempVector); 608 setAtomicForceAtStep(NextStep, tempVector); 596 LOG(3, "INFO: Force at step " << NextStep << " is " << getAtomicForceAtStep(NextStep)); 609 597 610 598 // update position 611 tempVector = getPositionAtStep(NextStep-1); 612 LOG(4, "INFO: initial position from last step " << setprecision(4) << tempVector); 613 tempVector += Deltat*(getAtomicVelocityAtStep(NextStep-1)); // s(t) = s(0) + v * deltat + 1/2 a * deltat^2 614 LOG(4, "INFO: position with velocity " << getAtomicVelocityAtStep(NextStep-1) << " from last step " << tempVector); 615 tempVector += 0.5*Deltat*Deltat*(getAtomicForceAtStep(NextStep))*(1./getMass()); // F = m * a and s = 616 LOG(4, "INFO: position with force " << getAtomicForceAtStep(NextStep) << " from last step " << tempVector); 617 setPositionAtStep(NextStep, tempVector); 618 LOG(3, "INFO: Position at step " << NextStep << " set to " << tempVector); 599 { 600 Vector tempVector = getPositionAtStep(LastStep); 601 LOG(4, "INFO: initial position from last step " << setprecision(4) << tempVector); 602 tempVector += Deltat*(getAtomicVelocityAtStep(LastStep)); // s(t) = s(0) + v * deltat + 1/2 a * deltat^2 603 LOG(4, "INFO: position with velocity " << getAtomicVelocityAtStep(LastStep) << " from last step " << tempVector); 604 tempVector += .5*Deltat*Deltat*(getAtomicForceAtStep(LastStep))*(1./getMass()); // F = m * a and s = 605 LOG(4, "INFO: position with force " << getAtomicForceAtStep(NextStep) << " from last step " << tempVector); 606 setPositionAtStep(NextStep, tempVector); 607 LOG(3, "INFO: Position at step " << NextStep << " set to " << tempVector); 608 } 619 609 620 610 // Update U 621 tempVector = getAtomicVelocityAtStep(NextStep-1); 622 LOG(4, "INFO: initial velocity from last step " << tempVector); 623 tempVector += Deltat * (getAtomicForceAtStep(NextStep)+getAtomicForceAtStep(NextStep-1))*(1./getMass()); // v = F/m * t 624 LOG(4, "INFO: Velocity with force from last " << getAtomicForceAtStep(NextStep-1) 625 << " and present " << getAtomicForceAtStep(NextStep) << " step " << tempVector); 626 setAtomicVelocityAtStep(NextStep, tempVector); 627 LOG(3, "INFO: Velocity at step " << NextStep << " set to " << tempVector); 611 { 612 Vector tempVector = getAtomicVelocityAtStep(LastStep); 613 LOG(4, "INFO: initial velocity from last step " << tempVector); 614 tempVector += Deltat * .5*(getAtomicForceAtStep(LastStep)+getAtomicForceAtStep(NextStep))*(1./getMass()); // v = F/m * t 615 LOG(4, "INFO: Velocity with force from last " << getAtomicForceAtStep(LastStep) 616 << " and present " << getAtomicForceAtStep(NextStep) << " step " << tempVector); 617 setAtomicVelocityAtStep(NextStep, tempVector); 618 LOG(3, "INFO: Velocity at step " << NextStep << " set to " << tempVector); 619 } 628 620 }; 629 621 -
src/Atom/atom_atominfo.hpp
r8b886f r4882d5 267 267 size_t getTrajectorySize() const; 268 268 void CopyStepOnStep(const unsigned int dest, const unsigned int src); 269 void VelocityVerletUpdate(int nr, const unsigned int NextStep, double Deltat, bool IsAngstroem , ForceMatrix *Force, const size_t offset);269 void VelocityVerletUpdate(int nr, const unsigned int NextStep, double Deltat, bool IsAngstroem); 270 270 double getKineticEnergy(const unsigned int step) const; 271 271 Vector getMomentum(const unsigned int step) const; -
src/Dynamics/VerletForceIntegration.hpp
r8b886f r4882d5 23 23 #include "Fragmentation/ForceMatrix.hpp" 24 24 #include "Helpers/helpers.hpp" 25 #include "Helpers/defs.hpp" 25 26 #include "LinearAlgebra/Vector.hpp" 26 27 #include "Thermostats/ThermoStatContainer.hpp" 27 #include "Thermostats/ Berendsen.hpp"28 #include "Thermostats/Thermostat.hpp" 28 29 #include "World.hpp" 29 30 … … 32 33 { 33 34 public: 34 VerletForceIntegration(AtomSetMixin<T> &_atoms, double _Deltat, int _startstep, bool _IsAngstroem) : 35 /** Constructor of class VerletForceIntegration. 36 * 37 * \param _atoms set of atoms to integrate 38 * \param _Deltat time step width in atomic units 39 * \param _IsAngstroem whether length units are in angstroem or bohr radii 40 */ 41 VerletForceIntegration(AtomSetMixin<T> &_atoms, double _Deltat, bool _IsAngstroem) : 35 42 Deltat(_Deltat), 36 43 IsAngstroem(_IsAngstroem), 37 atoms(_atoms), 38 MDSteps(_startstep) 44 atoms(_atoms) 39 45 {} 46 /** Destructor of class VerletForceIntegration. 47 * 48 */ 40 49 ~VerletForceIntegration() 41 50 {} 42 51 43 /** Parses nuclear forces from file and performs Verlet integration. 44 * Note that we assume the parsed forces to be in atomic units (hence, if coordinates are in angstroem, we 45 * have to transform them). 46 * This adds a new MD step to the config file. 52 /** Parses nuclear forces from file. 53 * Forces are stored in the time step \a TimeStep in the atomicForces in \a atoms. 47 54 * \param *file filename 48 * \param offset offset in matrix file to the first force component 49 * \param DoConstrainedMD whether a constrained MD shall be done 50 * \param FixedCenterOfMass whether forces and velocities are correct to have fixed center of mass 51 * \return true - file found and parsed, false - file not found or imparsable 52 * \todo This is not yet checked if it is correctly working with DoConstrainedMD set >0. 53 */ 54 bool operator()(char *file, const size_t offset, int DoConstrainedMD, bool FixedCenterOfMass) 55 * \param TimeStep time step to parse forces file into 56 * \return true - file parsed, false - file not found or imparsable 57 */ 58 bool parseForcesFile(const char *file, const int TimeStep) 55 59 { 56 60 Info FunctionInfo(__func__); 57 string token;58 stringstream item;59 double IonMass, ActualTemp;60 61 ForceMatrix Force; 61 62 62 const int AtomCount = atoms.size();63 ASSERT(AtomCount != 0, "VerletForceIntegration::operator() - no atoms to integrate.");64 63 // parse file into ForceMatrix 65 64 std::ifstream input(file); 66 65 if ((input.good()) && (!Force.ParseMatrix(input, 0,0,0))) { 67 66 ELOG(0, "Could not parse Force Matrix file " << file << "."); 68 performCriticalExit();69 67 return false; 70 68 } 71 69 input.close(); 72 if (Force.RowCounter[0] != AtomCount) {70 if (Force.RowCounter[0] != (int)atoms.size()) { 73 71 ELOG(0, "Mismatch between number of atoms in file " << Force.RowCounter[0] << " and in molecule " << atoms.size() << "."); 74 performCriticalExit();75 72 return false; 76 73 } 77 74 78 if (FixedCenterOfMass) { 79 Vector ForceVector; 80 // correct Forces 81 //std::cout << "Force before correction, " << Force << std::endl; 82 ForceVector.Zero(); 83 for(int i=0;i<AtomCount;i++) 84 for(int d=0;d<NDIM;d++) { 85 ForceVector[d] += Force.Matrix[0][i][d+offset]; 86 } 87 ForceVector.Scale(1./static_cast<double>(AtomCount)); 88 //std::cout << "Force before second correction, " << Force << std::endl; 89 for(int i=0;i<AtomCount;i++) 90 for(int d=0;d<NDIM;d++) { 91 Force.Matrix[0][i][d+offset] -= ForceVector[d]; 92 } 93 LOG(3, "INFO: forces correct by " << ForceVector << "each."); 94 } 75 addForceMatrixToAtomicForce(Force, TimeStep, 1); 76 return true; 77 } 78 79 /** Performs Verlet integration. 80 * Note that we assume the parsed forces to be in atomic units (hence, if coordinates are in angstroem, we 81 * have to transform them). 82 * This adds a new MD step \f$ t + \Delta t \f$ to the config file. 83 * \param NextStep current time step (i.e. \f$ t + \Delta t \f$ in the sense of the velocity verlet) 84 * \param offset offset in matrix file to the first force component 85 * \param DoConstrainedMD whether a constrained MD shall be done 86 * \param FixedCenterOfMass whether forces and velocities are correct to have fixed center of mass 87 * \return true - file found and parsed, false - no atoms, file not found or imparsable 88 * \todo This is not yet checked if it is correctly working with DoConstrainedMD set >0. 89 */ 90 bool operator()(const int NextStep, const size_t offset, const int DoConstrainedMD, const bool FixedCenterOfMass) 91 { 92 Info FunctionInfo(__func__); 93 94 // check that atoms are present at all 95 if (atoms.size() == 0) { 96 ELOG(2, "VerletForceIntegration::operator() - no atoms to integrate."); 97 return false; 98 } 99 100 // make sum of forces equal zero 101 if (FixedCenterOfMass) 102 correctForceMatrixForFixedCenterOfMass(offset,NextStep); 95 103 96 104 // solve a constrained potential if we are meant to 97 105 if (DoConstrainedMD) { 98 // calculate forces and potential 99 std::map<atom *, atom*> PermutationMap; 100 MinimiseConstrainedPotential Minimiser(atoms, PermutationMap); 101 //double ConstrainedPotentialEnergy = 102 Minimiser(DoConstrainedMD, 0, IsAngstroem); 103 Minimiser.EvaluateConstrainedForces(&Force); 106 performConstraintMinimization(DoConstrainedMD,NextStep); 104 107 } 105 108 … … 109 112 for(typename AtomSetMixin<T>::iterator iter = atoms.begin(); iter != atoms.end(); ++iter) { 110 113 //std::cout << "Id of atom is " << (*iter)->getId() << std::endl; 111 (*iter)->VelocityVerletUpdate((*iter)->getId(), MDSteps+1, Deltat, IsAngstroem, &Force, (const size_t) 1); 112 } 113 114 if (FixedCenterOfMass) { 115 Vector Velocity; 116 // correct velocities (rather momenta) so that center of mass remains motionless 117 Velocity = atoms.totalMomentumAtStep(MDSteps+1); 118 IonMass = atoms.totalMass(); 119 120 // correct velocities (rather momenta) so that center of mass remains motionless 121 Velocity *= 1./IonMass; 122 atoms.addVelocityAtStep(-1.*Velocity,MDSteps+1); 123 124 LOG(3, "INFO: Velocities corrected by " << Velocity << " each."); 125 } 114 (*iter)->VelocityVerletUpdate((*iter)->getId(), NextStep, Deltat, IsAngstroem); 115 } 116 117 // make sum of velocities equal zero 118 if (FixedCenterOfMass) 119 correctVelocitiesForFixedCenterOfMass(NextStep); 126 120 127 121 // thermostat 128 ActualTemp = atoms.totalTemperatureAtStep(MDSteps+1); 129 LOG(3, "INFO: Current temperature is " << ActualTemp); 130 Berendsen berendsen = Berendsen(); 131 berendsen.addToContainer(World::getInstance().getThermostats()); 132 double ekin = berendsen.scaleAtoms(MDSteps,ActualTemp,atoms); 133 ActualTemp = atoms.totalTemperatureAtStep(MDSteps+1); 134 LOG(3, "INFO: New temperature after thermostat is " << ActualTemp); 135 LOG(1, "Kinetic energy is " << ekin << "."); 136 137 // next step 138 MDSteps++; 122 performThermostatControl(NextStep); 139 123 140 124 // exit 141 125 return true; 142 126 }; 127 128 private: 129 void addForceMatrixToAtomicForce(const ForceMatrix &Force, const int &TimeStep, const int offset) 130 { 131 // place forces from matrix into atoms 132 Vector tempVector; 133 size_t i=0; 134 for(typename AtomSetMixin<T>::iterator iter = atoms.begin(); iter != atoms.end(); ++iter,++i) { 135 for(size_t d=0;d<NDIM;d++) { 136 tempVector[d] = Force.Matrix[0][i][d+offset]*(IsAngstroem ? AtomicLengthToAngstroem : 1.); 137 } 138 tempVector += (*iter)->getAtomicForceAtStep(TimeStep); 139 (*iter)->setAtomicForceAtStep(TimeStep, tempVector); 140 } 141 } 142 143 void correctForceMatrixForFixedCenterOfMass(const size_t offset, const int &TimeStep) { 144 Vector ForceVector; 145 // correct Forces 146 //std::cout << "Force before correction, " << Force << std::endl; 147 ForceVector.Zero(); 148 for(typename AtomSetMixin<T>::iterator iter = atoms.begin(); iter != atoms.end(); ++iter) { 149 ForceVector += (*iter)->getAtomicForceAtStep(TimeStep); 150 } 151 ForceVector.Scale(1./(double)atoms.size()); 152 //std::cout << "Force before second correction, " << Force << std::endl; 153 for(typename AtomSetMixin<T>::iterator iter = atoms.begin(); iter != atoms.end(); ++iter) { 154 const Vector tempVector = (*iter)->getAtomicForceAtStep(TimeStep) - ForceVector; 155 (*iter)->setAtomicForceAtStep(TimeStep, tempVector); 156 } 157 LOG(3, "INFO: forces correct by " << ForceVector << "each."); 158 } 159 160 void correctVelocitiesForFixedCenterOfMass(const int &TimeStep) { 161 Vector Velocity; 162 double IonMass; 163 // correct velocities (rather momenta) so that center of mass remains motionless 164 Velocity = atoms.totalMomentumAtStep(TimeStep); 165 IonMass = atoms.totalMass(); 166 167 // correct velocities (rather momenta) so that center of mass remains motionless 168 Velocity *= 1./IonMass; 169 atoms.addVelocityAtStep(-1.*Velocity,TimeStep); 170 171 LOG(3, "INFO: Velocities corrected by " << Velocity << " each."); 172 } 173 174 void performConstraintMinimization(const int &DoConstrainedMD, const int &TimeStep) { 175 // calculate forces and potential 176 ForceMatrix Force; 177 std::map<atom *, atom*> PermutationMap; 178 MinimiseConstrainedPotential Minimiser(atoms, PermutationMap); 179 //double ConstrainedPotentialEnergy = 180 Minimiser(DoConstrainedMD, 0, IsAngstroem); 181 Minimiser.EvaluateConstrainedForces(&Force); 182 addForceMatrixToAtomicForce(Force, TimeStep, 1); 183 } 184 185 void performThermostatControl(const int &TimeStep) { 186 double ActualTemp; 187 188 // calculate current temperature 189 ActualTemp = atoms.totalTemperatureAtStep(TimeStep); 190 LOG(3, "INFO: Current temperature is " << ActualTemp); 191 192 // rescale to desired value 193 double ekin = World::getInstance().getThermostats()->getActive()->scaleAtoms(TimeStep,ActualTemp,atoms); 194 ActualTemp = atoms.totalTemperatureAtStep(TimeStep); 195 LOG(3, "INFO: New temperature after thermostat is " << ActualTemp); 196 LOG(1, "Kinetic energy is " << ekin << "."); 197 } 143 198 144 199 private: … … 146 201 bool IsAngstroem; 147 202 AtomSetMixin<T> atoms; 148 int MDSteps;149 203 }; 150 204 -
src/Thermostats/ThermoStatContainer.hpp
r8b886f r4882d5 25 25 Thermostat *makeByName(const std::string name,class ConfigFileBuffer * const fb); 26 26 void makeActive(const std::string name,class ConfigFileBuffer * const fb); 27 Thermostat *getActive() { 28 return activeThermostat; 29 } 27 30 void chooseNone(); 28 31
Note:
See TracChangeset
for help on using the changeset viewer.