Changeset e4afb4 for src/Actions/MoleculeAction
- Timestamp:
- Oct 30, 2010, 8:42:44 PM (15 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:
- 76cec6, c38826
- Parents:
- 23359f
- git-author:
- Frederik Heber <heber@…> (10/30/10 19:55:54)
- git-committer:
- Frederik Heber <heber@…> (10/30/10 20:42:44)
- Location:
- src/Actions/MoleculeAction
- Files:
-
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/MoleculeAction/BondFileAction.cpp
r23359f re4afb4 46 46 mol = World::getInstance().beginMoleculeSelection()->second; 47 47 DoLog(0) && (Log() << Verbose(0) << "Parsing bonds from " << params.bondfile << "." << endl); 48 ifstream input(params.bondfile. c_str());48 ifstream input(params.bondfile.string().c_str()); 49 49 mol->CreateAdjacencyListFromDbondFile(&input); 50 50 input.close(); … … 75 75 return false; 76 76 } 77 78 const string MoleculeBondFileAction::getName() {79 return NAME;80 }81 77 /** =========== end of function ====================== */ -
src/Actions/MoleculeAction/BondFileAction.def
r23359f re4afb4 11 11 // i.e. there is an integer with variable name Z that can be found in 12 12 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 13 // "undefine" if no parameters are required 14 #define paramtypes ( std::string)13 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 14 #define paramtypes (boost::filesystem::path) 15 15 #define paramtokens ("bond-file") 16 16 #define paramdescriptions ("name of the bond file") 17 #undef paramdefaults 17 18 #define paramreferences (bondfile) 18 19 … … 29 30 30 31 // finally the information stored in the ActionTrait specialization 31 #undef DEFAULTVALUE 32 #define DESCRIPTION "name of the bond file" 32 #define DESCRIPTION "parse bond structure from dbond file" 33 33 #define SHORTFORM "A" 34 #define TYPEINFO &typeid(std::string) -
src/Actions/MoleculeAction/ChangeNameAction.cpp
r23359f re4afb4 71 71 return true; 72 72 } 73 74 const string MoleculeChangeNameAction::getName() {75 return NAME;76 }77 73 /** =========== end of function ====================== */ -
src/Actions/MoleculeAction/ChangeNameAction.def
r23359f re4afb4 11 11 // i.e. there is an integer with variable name Z that can be found in 12 12 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 13 // "undefine" if no parameters are required 13 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 14 14 #define paramtypes (std::string) 15 15 #define paramtokens ("change-molname") 16 #define paramdescriptions ("change the name of a molecule") 16 #define paramdescriptions ("new name of molecule") 17 #undef paramdefaults 17 18 #define paramreferences (name) 18 19 … … 29 30 30 31 // finally the information stored in the ActionTrait specialization 31 #undef DEFAULTVALUE32 32 #define DESCRIPTION "change the name of a molecule" 33 33 #undef SHORTFORM 34 #define TYPEINFO &typeid(std::string) -
src/Actions/MoleculeAction/CopyAction.cpp
r23359f re4afb4 91 91 return true; 92 92 } 93 94 const string MoleculeCopyAction::getName() {95 return NAME;96 }97 93 /** =========== end of function ====================== */ -
src/Actions/MoleculeAction/CopyAction.def
r23359f re4afb4 11 11 // i.e. there is an integer with variable name Z that can be found in 12 12 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 13 // "undefine" if no parameters are required 14 #define paramtypes ( molecule *)(Vector)13 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 14 #define paramtypes (const molecule *)(Vector) 15 15 #define paramtokens ("copy-molecule")("position") 16 #define paramdescriptions ("copies a molecule with all atoms and bonds")("position in R^3 space") 16 #define paramdescriptions ("molecule to copy")("position in R^3 space") 17 #undef paramdefaults 17 18 #define paramreferences (mol)(position) 18 19 … … 29 30 30 31 // finally the information stored in the ActionTrait specialization 31 #undef DEFAULTVALUE32 32 #define DESCRIPTION "copies a molecule with all atoms and bonds" 33 33 #undef SHORTFORM 34 #define TYPEINFO &typeid(molecule) -
src/Actions/MoleculeAction/FillVoidWithMoleculeAction.cpp
r23359f re4afb4 54 54 // construct water molecule 55 55 molecule *filler = World::getInstance().createMolecule(); 56 std::string FilenameSuffix = params.fillername.s ubstr(params.fillername.find_last_of('.')+1, params.fillername.length());56 std::string FilenameSuffix = params.fillername.string().substr(params.fillername.string().find_last_of('.')+1, params.fillername.string().length()); 57 57 ifstream input; 58 input.open(params.fillername. c_str());58 input.open(params.fillername.string().c_str()); 59 59 switch (FormatParserStorage::getInstance().getTypeFromSuffix(FilenameSuffix)) { 60 60 case mpqc: … … 95 95 for (; iter != World::getInstance().moleculeEnd(); ++iter) 96 96 filler = *iter; // get last molecule 97 filler->SetNameFromFilename(params.fillername. c_str());97 filler->SetNameFromFilename(params.fillername.string().c_str()); 98 98 World::getInstance().getConfig()->BG->ConstructBondGraph(filler); 99 99 … … 128 128 return false; 129 129 } 130 131 const string MoleculeFillVoidWithMoleculeAction::getName() {132 return NAME;133 }134 130 /** =========== end of function ====================== */ -
src/Actions/MoleculeAction/FillVoidWithMoleculeAction.def
r23359f re4afb4 12 12 // i.e. there is an integer with variable name Z that can be found in 13 13 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 14 // "undefine" if no parameters are required 15 #define paramtypes ( std::string)(Vector)(Vector)(bool)14 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 15 #define paramtypes (boost::filesystem::path)(Vector)(Vector)(bool) 16 16 #define paramtokens ("fill-void")("distances")("lengths")("DoRotate") 17 #define paramdescriptions ("fill void space of box with a filler molecule")("list of three of distances in space, one for each axis direction")("list of three of lengths in space, one for each axis direction")("whether to rotate or not") 17 #define paramdescriptions ("name of xyz file of filler molecule")("list of three of distances in space, one for each axis direction")("list of three of lengths in space, one for each axis direction")("whether to rotate or not") 18 #undef paramdefaults 18 19 #define paramreferences (fillername)(distances)(lengths)(DoRotate) 19 20 … … 30 31 31 32 // finally the information stored in the ActionTrait specialization 32 #undef DEFAULTVALUE33 33 #define DESCRIPTION "fill void space of box with a filler molecule" 34 34 #undef SHORTFORM 35 #define TYPEINFO &typeid(std::string) -
src/Actions/MoleculeAction/FillWithMoleculeAction.cpp
r23359f re4afb4 48 48 // construct water molecule 49 49 molecule *filler = World::getInstance().createMolecule(); 50 if (!filler->AddXYZFile(params.fillername )) {50 if (!filler->AddXYZFile(params.fillername.string())) { 51 51 DoeLog(0) && (eLog()<< Verbose(0) << "Could not parse filler molecule from " << params.fillername << "." << endl); 52 52 } 53 filler->SetNameFromFilename(params.fillername. c_str());53 filler->SetNameFromFilename(params.fillername.string().c_str()); 54 54 molecule *Filling = NULL; 55 55 // atom *first = NULL, *second = NULL, *third = NULL; … … 110 110 return false; 111 111 } 112 113 const string MoleculeFillWithMoleculeAction::getName() {114 return NAME;115 }116 112 /** =========== end of function ====================== */ -
src/Actions/MoleculeAction/FillWithMoleculeAction.def
r23359f re4afb4 12 12 // i.e. there is an integer with variable name Z that can be found in 13 13 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 14 // "undefine" if no parameters are required 15 #define paramtypes ( std::string)(Vector)(Vector)(double)(bool)14 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 15 #define paramtypes (boost::filesystem::path)(Vector)(Vector)(double)(bool) 16 16 #define paramtokens ("fill-molecule")("distances")("lengths")("MaxDistance")("DoRotate") 17 #define paramdescriptions ("fill around molecules' surface with a filler molecule")("list of three of distances in space, one for each axis direction")("list of three of lengths in space, one for each axis direction")("maximum spatial distance")("whether to rotate or not") 17 #define paramdescriptions ("name of xyz file of filler molecule")("list of three of distances in space, one for each axis direction")("list of three of lengths in space, one for each axis direction")("maximum spatial distance")("whether to rotate or not") 18 #undef paramdefaults 18 19 #define paramreferences (fillername)(distances)(lengths)(MaxDistance)(DoRotate) 19 20 … … 30 31 31 32 // finally the information stored in the ActionTrait specialization 32 #undef DEFAULTVALUE33 33 #define DESCRIPTION "fill around molecules' surface with a filler molecule" 34 34 #define SHORTFORM "F" 35 #define TYPEINFO &typeid(std::string) 35 -
src/Actions/MoleculeAction/LinearInterpolationofTrajectoriesAction.cpp
r23359f re4afb4 50 50 if (params.IdMapping) 51 51 DoLog(1) && (Log() << Verbose(1) << "Using Identity for the permutation map." << endl); 52 if (!mol->LinearInterpolationBetweenConfiguration(params.start, params.end, params.filename , *(World::getInstance().getConfig()), params.IdMapping))52 if (!mol->LinearInterpolationBetweenConfiguration(params.start, params.end, params.filename.branch_path().string(), *(World::getInstance().getConfig()), params.IdMapping)) 53 53 DoLog(2) && (Log() << Verbose(2) << "Could not store " << params.filename << " files." << endl); 54 54 else … … 79 79 return false; 80 80 } 81 82 const string MoleculeLinearInterpolationofTrajectoriesAction::getName() {83 return NAME;84 }85 81 /** =========== end of function ====================== */ -
src/Actions/MoleculeAction/LinearInterpolationofTrajectoriesAction.def
r23359f re4afb4 11 11 // i.e. there is an integer with variable name Z that can be found in 12 12 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 13 // "undefine" if no parameters are required 14 #define paramtypes ( std::string)(int)(int)(bool)13 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 14 #define paramtypes (boost::filesystem::path)(int)(int)(bool) 15 15 #define paramtokens ("linear-interpolate")("start-step")("end-step")("id-mapping") 16 #define paramdescriptions ("linear interpolation in discrete steps between start and end position of a molecule")("first or start step")("last or end step")("whether the identity shall be used in mapping atoms onto atoms or not") 16 #define paramdescriptions ("path where to store the intermediate configurations")("first or start step")("last or end step")("whether the identity shall be used in mapping atoms onto atoms or not") 17 #undef paramdefaults 17 18 #define paramreferences (filename)(start)(end)(IdMapping) 18 19 … … 29 30 30 31 // finally the information stored in the ActionTrait specialization 31 #undef DEFAULTVALUE32 32 #define DESCRIPTION "linear interpolation in discrete steps between start and end position of a molecule" 33 33 #define SHORTFORM "L" 34 #define TYPEINFO &typeid(std::string) -
src/Actions/MoleculeAction/RotateAroundSelfByAngleAction.cpp
r23359f re4afb4 107 107 return true; 108 108 } 109 110 const string MoleculeRotateAroundSelfByAngleAction::getName() {111 return NAME;112 }113 109 /** =========== end of function ====================== */ -
src/Actions/MoleculeAction/RotateAroundSelfByAngleAction.def
r23359f re4afb4 12 12 // i.e. there is an integer with variable name Z that can be found in 13 13 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 14 // "undefine" if no parameters are required 14 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 15 15 #define paramtypes (double)(Vector) 16 16 #define paramtokens ("rotate-self")("position") 17 #define paramdescriptions ("rotates molecules by a specific angle around own center of gravity")("position in R^3 space") 17 #define paramdescriptions ("rotation angle")("position in R^3 space") 18 #undef paramdefaults 18 19 #define paramreferences (angle)(Axis) 19 20 … … 30 31 31 32 // finally the information stored in the ActionTrait specialization 32 #undef DEFAULTVALUE33 33 #define DESCRIPTION "rotates molecules by a specific angle around own center of gravity" 34 34 #undef SHORTFORM 35 #define TYPEINFO &typeid(double) -
src/Actions/MoleculeAction/RotateToPrincipalAxisSystemAction.cpp
r23359f re4afb4 152 152 return false; 153 153 } 154 155 const string MoleculeRotateToPrincipalAxisSystemAction::getName() {156 return NAME;157 }158 154 /** =========== end of function ====================== */ -
src/Actions/MoleculeAction/RotateToPrincipalAxisSystemAction.def
r23359f re4afb4 14 14 // i.e. there is an integer with variable name Z that can be found in 15 15 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 16 // "undefine" if no parameters are required 16 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 17 17 #define paramtypes (Vector) 18 18 #define paramtokens ("rotate-to-pas") 19 #define paramdescriptions ("calculate the principal axis system of the specified molecule and rotate specified axis to align with main axis") 19 #define paramdescriptions ("vector to which to align the biggest eigenvector with") 20 #undef paramdefaults 20 21 #define paramreferences (Axis) 21 22 … … 32 33 33 34 // finally the information stored in the ActionTrait specialization 34 #undef DEFAULTVALUE35 35 #define DESCRIPTION "calculate the principal axis system of the specified molecule and rotate specified axis to align with main axis" 36 36 #define SHORTFORM "m" 37 #define TYPEINFO &typeid(VectorValue) -
src/Actions/MoleculeAction/SaveAdjacencyAction.cpp
r23359f re4afb4 51 51 World::getInstance().getConfig()->BG->ConstructBondGraph(mol); 52 52 // TODO: sollte stream nicht filename benutzen, besser fuer unit test 53 mol->StoreAdjacencyToFile(params.adjacencyfile );53 mol->StoreAdjacencyToFile(params.adjacencyfile.leaf(), params.adjacencyfile.branch_path().string()); 54 54 } 55 55 return Action::success; … … 77 77 return false; 78 78 } 79 80 const string MoleculeSaveAdjacencyAction::getName() {81 return NAME;82 }83 79 /** =========== end of function ====================== */ -
src/Actions/MoleculeAction/SaveAdjacencyAction.def
r23359f re4afb4 11 11 // i.e. there is an integer with variable name Z that can be found in 12 12 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 13 // "undefine" if no parameters are required 14 #define paramtypes ( std::string)13 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 14 #define paramtypes (boost::filesystem::path) 15 15 #define paramtokens ("save-adjacency") 16 16 #define paramdescriptions ("name of the adjacency file to write to") 17 #undef paramdefaults 17 18 #define paramreferences (adjacencyfile) 18 19 … … 29 30 30 31 // finally the information stored in the ActionTrait specialization 31 #undef DEFAULTVALUE 32 #define DESCRIPTION "name of the adjacency file to write to" 32 #define DESCRIPTION "store adjacency of each atom to file" 33 33 #define SHORTFORM "J" 34 #define TYPEINFO &typeid(std::string) -
src/Actions/MoleculeAction/SaveBondsAction.cpp
r23359f re4afb4 51 51 World::getInstance().getConfig()->BG->ConstructBondGraph(mol); 52 52 // TODO: sollte stream, nicht filenamen direkt nutzen, besser fuer unit tests 53 mol->StoreBondsToFile(params.bondsfile );53 mol->StoreBondsToFile(params.bondsfile.leaf(), params.bondsfile.branch_path().string()); 54 54 } 55 55 return Action::success; … … 77 77 return false; 78 78 } 79 80 const string MoleculeSaveBondsAction::getName() {81 return NAME;82 }83 79 /** =========== end of function ====================== */ -
src/Actions/MoleculeAction/SaveBondsAction.def
r23359f re4afb4 11 11 // i.e. there is an integer with variable name Z that can be found in 12 12 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 13 // "undefine" if no parameters are required 14 #define paramtypes ( std::string)13 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 14 #define paramtypes (boost::filesystem::path) 15 15 #define paramtokens ("save-bonds") 16 16 #define paramdescriptions ("name of the bonds file to write to") 17 #undef paramdefaults 17 18 #define paramreferences (bondsfile) 18 19 … … 29 30 30 31 // finally the information stored in the ActionTrait specialization 31 #undef DEFAULTVALUE 32 #define DESCRIPTION "name of the bonds file to write to" 32 #define DESCRIPTION "save bonds to dbond type file" 33 33 #define SHORTFORM "j" 34 #define TYPEINFO &typeid(std::string) -
src/Actions/MoleculeAction/SaveTemperatureAction.cpp
r23359f re4afb4 47 47 DoLog(1) && (Log() << Verbose(1) << "Storing temperatures in " << params.temperaturefile << "." << endl); 48 48 ofstream output; 49 output.open(params.temperaturefile. c_str(), ios::trunc);49 output.open(params.temperaturefile.string().c_str(), ios::trunc); 50 50 if (output.fail() || !mol->OutputTemperatureFromTrajectories((ofstream * const) &output, 0, mol->MDSteps)) 51 51 DoLog(2) && (Log() << Verbose(2) << "File could not be written." << endl); … … 78 78 return false; 79 79 } 80 81 const string MoleculeSaveTemperatureAction::getName() {82 return NAME;83 }84 80 /** =========== end of function ====================== */ -
src/Actions/MoleculeAction/SaveTemperatureAction.def
r23359f re4afb4 11 11 // i.e. there is an integer with variable name Z that can be found in 12 12 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 13 // "undefine" if no parameters are required 14 #define paramtypes ( std::string)13 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 14 #define paramtypes (boost::filesystem::path) 15 15 #define paramtokens ("save-temperature") 16 16 #define paramdescriptions ("name of the temperature file to write to") 17 #undef paramdefaults 17 18 #define paramreferences (temperaturefile) 18 19 … … 29 30 30 31 // finally the information stored in the ActionTrait specialization 31 #undef DEFAULTVALUE 32 #define DESCRIPTION "name of the temperature file to write to" 32 #define DESCRIPTION "save the temperature per time step to file" 33 33 #define SHORTFORM "S" 34 #define TYPEINFO &typeid(std::string) -
src/Actions/MoleculeAction/SuspendInWaterAction.cpp
r23359f re4afb4 77 77 return false; 78 78 } 79 80 const string MoleculeSuspendInWaterAction::getName() {81 return NAME;82 }83 79 /** =========== end of function ====================== */ -
src/Actions/MoleculeAction/SuspendInWaterAction.def
r23359f re4afb4 11 11 // i.e. there is an integer with variable name Z that can be found in 12 12 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 13 // "undefine" if no parameters are required 13 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 14 14 #define paramtypes (double) 15 15 #define paramtokens ("suspend-in-water") 16 #define paramdescriptions ("suspend the given molecule in water such that in the domain the mean density is as specified") 16 #define paramdescriptions ("desired final density") 17 #undef paramdefaults 17 18 #define paramreferences (density) 18 19 … … 29 30 30 31 // finally the information stored in the ActionTrait specialization 31 #undef DEFAULTVALUE32 32 #define DESCRIPTION "suspend the given molecule in water such that in the domain the mean density is as specified" 33 33 #define SHORTFORM "u" 34 #define TYPEINFO &typeid(double) -
src/Actions/MoleculeAction/VerletIntegrationAction.cpp
r23359f re4afb4 48 48 // TODO: sollte besser stream nutzen, nicht filename direkt (es sei denn, ist prefix), besser fuer unit test 49 49 char outputname[MAXSTRINGSIZE]; 50 strcpy(outputname, params.forcesfile. c_str());50 strcpy(outputname, params.forcesfile.string().c_str()); 51 51 if (!mol->VerletForceIntegration(outputname, *(World::getInstance().getConfig()), 0)) 52 52 DoLog(2) && (Log() << Verbose(2) << "File " << params.forcesfile << " not found." << endl); … … 78 78 return false; 79 79 } 80 81 const string MoleculeVerletIntegrationAction::getName() {82 return NAME;83 }84 80 /** =========== end of function ====================== */ -
src/Actions/MoleculeAction/VerletIntegrationAction.def
r23359f re4afb4 11 11 // i.e. there is an integer with variable name Z that can be found in 12 12 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 13 // "undefine" if no parameters are required 14 #define paramtypes ( std::string)13 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 14 #define paramtypes (boost::filesystem::path) 15 15 #define paramtokens ("verlet-integrate") 16 16 #define paramdescriptions ("perform verlet integration of a given force file") 17 #undef paramdefaults 17 18 #define paramreferences (forcesfile) 18 19 … … 29 30 30 31 // finally the information stored in the ActionTrait specialization 31 #undef DEFAULTVALUE32 32 #define DESCRIPTION "perform verlet integration of a given force file" 33 33 #define SHORTFORM "P" 34 #define TYPEINFO &typeid(std::string)
Note:
See TracChangeset
for help on using the changeset viewer.