Changeset d4a44c


Ignore:
Timestamp:
Mar 1, 2011, 10:16:39 AM (14 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:
458c31
Parents:
715b67
git-author:
Frederik Heber <heber@…> (02/21/11 14:04:46)
git-committer:
Frederik Heber <heber@…> (03/01/11 10:16:39)
Message:

Renamed ConstructBondGraphAction -> CreateAdjacencyAction.

Files:
1 deleted
1 edited
3 moved

Legend:

Unmodified
Added
Removed
  • src/Actions/FragmentationAction/CreateAdjacencyAction.cpp

    r715b67 rd4a44c  
    77
    88/*
    9  * ConstructBondGraphAction.cpp
     9 * CreateAdjacencyAction.cpp
    1010 *
    1111 *  Created on: May 9, 2010
     
    4343using namespace std;
    4444
    45 #include "Actions/FragmentationAction/ConstructBondGraphAction.hpp"
     45#include "Actions/FragmentationAction/CreateAdjacencyAction.hpp"
    4646
    4747// and construct the stuff
    48 #include "ConstructBondGraphAction.def"
     48#include "CreateAdjacencyAction.def"
    4949#include "Action_impl_pre.hpp"
    5050/** =========== define the function ====================== */
    51 Action::state_ptr FragmentationConstructBondGraphAction::performCall() {
     51Action::state_ptr FragmentationCreateAdjacencyAction::performCall() {
    5252  // obtain information
    5353  getParametersfromValueStorage();
     
    5757  config *configuration = World::getInstance().getConfig();
    5858  BondGraph *BG = World::getInstance().getBondGraph();
    59   ASSERT(BG != NULL, "FragmentationConstructBondGraphAction: BondGraph is NULL.");
     59  ASSERT(BG != NULL, "FragmentationCreateAdjacencyAction: BondGraph is NULL.");
    6060  double BondDistance = BG->getMaxDistance();
    6161  bool IsAngstroem = configuration->GetIsAngstroem();
     
    172172}
    173173
    174 Action::state_ptr FragmentationConstructBondGraphAction::performUndo(Action::state_ptr _state) {
    175 //  FragmentationConstructBondGraphState *state = assert_cast<FragmentationConstructBondGraphState*>(_state.get());
     174Action::state_ptr FragmentationCreateAdjacencyAction::performUndo(Action::state_ptr _state) {
     175//  FragmentationCreateAdjacencyState *state = assert_cast<FragmentationCreateAdjacencyState*>(_state.get());
    176176
    177177  return Action::success;
    178178}
    179179
    180 Action::state_ptr FragmentationConstructBondGraphAction::performRedo(Action::state_ptr _state){
     180Action::state_ptr FragmentationCreateAdjacencyAction::performRedo(Action::state_ptr _state){
    181181  return Action::success;
    182182}
    183183
    184 bool FragmentationConstructBondGraphAction::canUndo() {
     184bool FragmentationCreateAdjacencyAction::canUndo() {
    185185  return false;
    186186}
    187187
    188 bool FragmentationConstructBondGraphAction::shouldUndo() {
     188bool FragmentationCreateAdjacencyAction::shouldUndo() {
    189189  return false;
    190190}
  • src/Actions/FragmentationAction/CreateAdjacencyAction.def

    r715b67 rd4a44c  
    11/*
    2  * ConstructBondGraphAction.def
     2 * CreateAdjacencyAction.def
    33 *
    44 *  Created on: Aug 26, 2010
     
    2525#define MENUNAME "fragmentation"
    2626#define MENUPOSITION 1
    27 #define ACTIONNAME ConstructBondGraph
    28 #define TOKEN "construct-bondgraph"
     27#define ACTIONNAME CreateAdjacency
     28#define TOKEN "create-adjacency"
    2929
    3030
  • src/Actions/FragmentationAction/CreateAdjacencyAction.hpp

    r715b67 rd4a44c  
    11/*
    2  * ConstructBondGraphAction.hpp
     2 * CreateAdjacencyAction.hpp
    33 *
    44 *  Created on: May 9, 2010
     
    66 */
    77
    8 #ifndef CONSTRUCTBONDGRAPHACTION_HPP_
    9 #define CONSTRUCTBONDGRAPHACTION_HPP_
     8#ifndef CREATEADJACENCYACTION_HPP_
     9#define CREATEADJACENCYACTION_HPP_
    1010
    1111// include config.h
     
    1717#include "Actions/Action.hpp"
    1818
    19 #include "ConstructBondGraphAction.def"
     19#include "CreateAdjacencyAction.def"
    2020#include "Action_impl_header.hpp"
    2121
    22 #endif /* CONSTRUCTBONDGRAPHACTION_HPP_ */
     22#endif /* CREATEADJACENCYACTION_HPP_ */
  • src/Actions/Makefile.am

    r715b67 rd4a44c  
    8585
    8686FRAGMENTATIONACTIONSOURCE = \
    87   FragmentationAction/ConstructBondGraphAction.cpp \
     87  FragmentationAction/CreateAdjacencyAction.cpp \
    8888  FragmentationAction/DepthFirstSearchAction.cpp \
    8989  FragmentationAction/FragmentationAction.cpp \
    9090  FragmentationAction/SubgraphDissectionAction.cpp               
    9191FRAGMENTATIONACTIONHEADER = \
    92   FragmentationAction/ConstructBondGraphAction.hpp \
     92  FragmentationAction/CreateAdjacencyAction.hpp \
    9393  FragmentationAction/DepthFirstSearchAction.hpp \
    9494  FragmentationAction/FragmentationAction.hpp \
Note: See TracChangeset for help on using the changeset viewer.