Action_Thermostats
        Add_AtomRandomPerturbation
        Add_SelectAtomByNameAction
        Adding_Graph_to_ChangeBondActions
        Adding_MD_integration_tests
        Adding_StructOpt_integration_tests
        AutomationFragmentation_failures
        Candidate_v1.6.1
        Candidate_v1.7.0
        ChangeBugEmailaddress
        ChemicalSpaceEvaluator
        EmpiricalPotential_contain_HomologyGraph_documentation
        Enhance_userguide
        Enhanced_StructuralOptimization
        Enhanced_StructuralOptimization_continued
        Example_ManyWaysToTranslateAtom
        Exclude_Hydrogens_annealWithBondGraph
        Fix_Verbose_Codepatterns
        ForceAnnealing_oldresults
        ForceAnnealing_with_BondGraph
        ForceAnnealing_with_BondGraph_continued
        ForceAnnealing_with_BondGraph_continued_betteresults
        ForceAnnealing_with_BondGraph_contraction-expansion
        GeometryObjects
        Gui_displays_atomic_force_velocity
        IndependentFragmentGrids_IntegrationTest
        JobMarket_RobustOnKillsSegFaults
        JobMarket_StableWorkerPool
        PythonUI_with_named_parameters
        QtGui_reactivate_TimeChanged_changes
        Recreated_GuiChecks
        StoppableMakroAction
        TremoloParser_IncreasedPrecision
        TremoloParser_MultipleTimesteps
        stable
      
      
      
| Rev | Line |  | 
|---|
| [e41c48] | 1 | /* | 
|---|
|  | 2 | * AtomicInfo.hpp | 
|---|
|  | 3 | * | 
|---|
|  | 4 | *  Created on: Aug 10, 2010 | 
|---|
|  | 5 | *      Author: heber | 
|---|
|  | 6 | */ | 
|---|
|  | 7 |  | 
|---|
|  | 8 | #ifndef ATOMICINFO_HPP_ | 
|---|
|  | 9 | #define ATOMICINFO_HPP_ | 
|---|
|  | 10 |  | 
|---|
| [56f73b] | 11 | // include config.h | 
|---|
|  | 12 | #ifdef HAVE_CONFIG_H | 
|---|
|  | 13 | #include <config.h> | 
|---|
|  | 14 | #endif | 
|---|
|  | 15 |  | 
|---|
| [5cdd83] | 16 | #include "LinearAlgebra/Vector.hpp" | 
|---|
|  | 17 | #include "types.hpp" | 
|---|
| [56f73b] | 18 |  | 
|---|
| [c26617] | 19 | #include <vector> | 
|---|
|  | 20 |  | 
|---|
|  | 21 | #include "Bond/BondInfo.hpp" | 
|---|
|  | 22 |  | 
|---|
| [e41c48] | 23 | class atom; | 
|---|
|  | 24 | class element; | 
|---|
|  | 25 | class molecule; | 
|---|
|  | 26 |  | 
|---|
|  | 27 | /** This is for storing and transfering the information contained within an atom. | 
|---|
|  | 28 | * This is needed for Undo/Redo operations of AtomActions. | 
|---|
|  | 29 | */ | 
|---|
|  | 30 | class AtomicInfo { | 
|---|
|  | 31 | public: | 
|---|
|  | 32 | AtomicInfo(); | 
|---|
|  | 33 | AtomicInfo(const atom &_atom); | 
|---|
| [08111a] | 34 | AtomicInfo(const AtomicInfo &_atominfo); | 
|---|
| [e41c48] | 35 | ~AtomicInfo(); | 
|---|
|  | 36 |  | 
|---|
|  | 37 | bool setAtom(atom &_atom) const; | 
|---|
|  | 38 | atomId_t getId() const; | 
|---|
|  | 39 |  | 
|---|
|  | 40 | AtomicInfo& operator=(const AtomicInfo&); | 
|---|
|  | 41 |  | 
|---|
|  | 42 | private: | 
|---|
|  | 43 | Vector Position; | 
|---|
|  | 44 | const element * Type; | 
|---|
| [2034f3] | 45 | double charge; | 
|---|
| [e41c48] | 46 | Vector Velocity; | 
|---|
| [7e51e1] | 47 | Vector Force; | 
|---|
| [3867a7] | 48 | atomId_t FatherId; | 
|---|
|  | 49 | moleculeId_t MolId; | 
|---|
| [e41c48] | 50 | atomId_t Id; | 
|---|
| [560bbe] | 51 | int Nr; | 
|---|
| [c26617] | 52 | std::vector<BondInfo> bonds; | 
|---|
| [e41c48] | 53 | }; | 
|---|
|  | 54 |  | 
|---|
|  | 55 |  | 
|---|
|  | 56 | #endif /* ATOMICINFO_HPP_ */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.