• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Révision9b831ac5c4801a84cf241b3696443b774f6c442a (tree)
l'heure2014-01-04 19:14:15
AuteurMikiya Fujii <mikiya.fujii@gmai...>
CommiterMikiya Fujii

Message de Log

Bq is renamed to Ghost. #32750

git-svn-id: https://svn.sourceforge.jp/svnroot/molds/trunk@1611 1136aad2-a195-0410-b898-f5ea1d11b9d8

Change Summary

Modification

--- a/src/Makefile
+++ b/src/Makefile
@@ -38,9 +38,9 @@ DEPFILE = obj/objfile.dep
3838 LDFLAGS = -Wl,-rpath=$(BOOST_LIB_DIR)
3939 THIS_MAKEFILE := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
4040
41-ALL_CPP_FILES = base/Enums.cpp base/PrintController.cpp base/MolDSException.cpp base/MallocerFreer.cpp mpi/MpiProcess.cpp mpi/AsyncCommunicator.cpp wrappers/Blas.cpp wrappers/Lapack.cpp base/Utilities.cpp base/MathUtilities.cpp base/EularAngle.cpp base/Parameters.cpp base/RealSphericalHarmonicsIndex.cpp base/atoms/Atom.cpp base/atoms/Hatom.cpp base/atoms/Liatom.cpp base/atoms/Catom.cpp base/atoms/Natom.cpp base/atoms/Oatom.cpp base/atoms/Satom.cpp base/atoms/bq/Bq.cpp base/atoms/bq/BqHatom.cpp base/atoms/bq/BqLiatom.cpp base/atoms/bq/BqCatom.cpp base/atoms/bq/BqNatom.cpp base/atoms/bq/BqOatom.cpp base/atoms/bq/BqSatom.cpp base/atoms/mm/EnvironmentalPointCharge.cpp base/factories/AtomFactory.cpp base/Molecule.cpp base/InputParser.cpp base/GTOExpansionSTO.cpp base/loggers/MOLogger.cpp base/loggers/DensityLogger.cpp base/loggers/HoleDensityLogger.cpp base/loggers/ParticleDensityLogger.cpp cndo/Cndo2.cpp indo/Indo.cpp zindo/ZindoS.cpp mndo/Mndo.cpp am1/Am1.cpp am1/Am1D.cpp pm3/Pm3.cpp pm3/Pm3D.cpp pm3/Pm3Pddg.cpp base/factories/ElectronicStructureFactory.cpp md/MD.cpp mc/MC.cpp rpmd/RPMD.cpp nasco/NASCO.cpp optimization/Optimizer.cpp optimization/ConjugateGradient.cpp optimization/SteepestDescent.cpp optimization/BFGS.cpp optimization/GEDIIS.cpp base/factories/OptimizerFactory.cpp base/MolDS.cpp Main.cpp
42-ALL_HEAD_FILES = config.h base/Enums.h base/Uncopyable.h base/PrintController.h base/MolDSException.h base/containers/ThreadSafeQueue.h base/MallocerFreer.h mpi/MpiInt.h mpi/MpiProcess.h mpi/AsyncCommunicator.h wrappers/Blas.h wrappers/Lapack.h base/Utilities.h base/MathUtilities.h base/EularAngle.h base/Parameters.h base/RealSphericalHarmonicsIndex.h base/atoms/Atom.h base/atoms/Hatom.h base/atoms/Liatom.h base/atoms/Catom.h base/atoms/Natom.h base/atoms/Oatom.h base/atoms/Satom.h base/atoms/bq/Bq.h base/atoms/bq/BqHatom.h base/atoms/bq/BqLiatom.h base/atoms/bq/BqCatom.h base/atoms/bq/BqNatom.h base/atoms/bq/BqOatom.h base/atoms/bq/BqSatom.h base/atoms/mm/EnvironmentalPointCharge.h base/factories/AtomFactory.h base/Molecule.h base/InputParser.h base/GTOExpansionSTO.h base/loggers/MOLogger.h base/loggers/DensityLogger.h base/loggers/HoleDensityLogger.h base/loggers/ParticleDensityLogger.h base/ElectronicStructure.h cndo/Cndo2.h cndo/ReducedOverlapAOsParameters.h indo/Indo.h zindo/ZindoS.h mndo/Mndo.h am1/Am1.h am1/Am1D.h pm3/Pm3.h pm3/Pm3D.h pm3/Pm3Pddg.h base/factories/ElectronicStructureFactory.h md/MD.h mc/MC.h rpmd/RPMD.h nasco/NASCO.h optimization/Optimizer.h optimization/ConjugateGradient.h optimization/SteepestDescent.h optimization/BFGS.h optimization/GEDIIS.h base/factories/OptimizerFactory.h base/MolDS.h
43-ALL_OBJ_FILES = obj/Enums.o obj/PrintController.o obj/MolDSException.o obj/MallocerFreer.o obj/MpiProcess.o obj/AsyncCommunicator.o obj/Blas.o obj/Lapack.o obj/Utilities.o obj/MathUtilities.o obj/EularAngle.o obj/Parameters.o obj/RealSphericalHarmonicsIndex.o obj/Atom.o obj/Hatom.o obj/Liatom.o obj/Catom.o obj/Natom.o obj/Oatom.o obj/Satom.o obj/Bq.o obj/BqHatom.o obj/BqLiatom.o obj/BqCatom.o obj/BqNatom.o obj/BqOatom.o obj/BqSatom.o obj/EnvironmentalPointCharge.o obj/AtomFactory.o obj/Molecule.o obj/InputParser.o obj/GTOExpansionSTO.o obj/MOLogger.o obj/DensityLogger.o obj/HoleDensityLogger.o obj/ParticleDensityLogger.o obj/Cndo2.o obj/Indo.o obj/ZindoS.o obj/Mndo.o obj/Am1.o obj/Am1D.o obj/Pm3.o obj/Pm3D.o obj/Pm3Pddg.o obj/ElectronicStructureFactory.o obj/MD.o obj/MC.o obj/RPMD.o obj/NASCO.o obj/Optimizer.o obj/ConjugateGradient.o obj/SteepestDescent.o obj/BFGS.o obj/GEDIIS.o obj/OptimizerFactory.o obj/MolDS.o obj/Main.o
41+ALL_CPP_FILES = base/Enums.cpp base/PrintController.cpp base/MolDSException.cpp base/MallocerFreer.cpp mpi/MpiProcess.cpp mpi/AsyncCommunicator.cpp wrappers/Blas.cpp wrappers/Lapack.cpp base/Utilities.cpp base/MathUtilities.cpp base/EularAngle.cpp base/Parameters.cpp base/RealSphericalHarmonicsIndex.cpp base/atoms/Atom.cpp base/atoms/Hatom.cpp base/atoms/Liatom.cpp base/atoms/Catom.cpp base/atoms/Natom.cpp base/atoms/Oatom.cpp base/atoms/Satom.cpp base/atoms/ghost/Ghost.cpp base/atoms/ghost/GhostHatom.cpp base/atoms/ghost/GhostLiatom.cpp base/atoms/ghost/GhostCatom.cpp base/atoms/ghost/GhostNatom.cpp base/atoms/ghost/GhostOatom.cpp base/atoms/ghost/GhostSatom.cpp base/atoms/mm/EnvironmentalPointCharge.cpp base/factories/AtomFactory.cpp base/Molecule.cpp base/InputParser.cpp base/GTOExpansionSTO.cpp base/loggers/MOLogger.cpp base/loggers/DensityLogger.cpp base/loggers/HoleDensityLogger.cpp base/loggers/ParticleDensityLogger.cpp cndo/Cndo2.cpp indo/Indo.cpp zindo/ZindoS.cpp mndo/Mndo.cpp am1/Am1.cpp am1/Am1D.cpp pm3/Pm3.cpp pm3/Pm3D.cpp pm3/Pm3Pddg.cpp base/factories/ElectronicStructureFactory.cpp md/MD.cpp mc/MC.cpp rpmd/RPMD.cpp nasco/NASCO.cpp optimization/Optimizer.cpp optimization/ConjugateGradient.cpp optimization/SteepestDescent.cpp optimization/BFGS.cpp optimization/GEDIIS.cpp base/factories/OptimizerFactory.cpp base/MolDS.cpp Main.cpp
42+ALL_HEAD_FILES = config.h base/Enums.h base/Uncopyable.h base/PrintController.h base/MolDSException.h base/containers/ThreadSafeQueue.h base/MallocerFreer.h mpi/MpiInt.h mpi/MpiProcess.h mpi/AsyncCommunicator.h wrappers/Blas.h wrappers/Lapack.h base/Utilities.h base/MathUtilities.h base/EularAngle.h base/Parameters.h base/RealSphericalHarmonicsIndex.h base/atoms/Atom.h base/atoms/Hatom.h base/atoms/Liatom.h base/atoms/Catom.h base/atoms/Natom.h base/atoms/Oatom.h base/atoms/Satom.h base/atoms/ghost/Ghost.h base/atoms/ghost/GhostHatom.h base/atoms/ghost/GhostLiatom.h base/atoms/ghost/GhostCatom.h base/atoms/ghost/GhostNatom.h base/atoms/ghost/GhostOatom.h base/atoms/ghost/GhostSatom.h base/atoms/mm/EnvironmentalPointCharge.h base/factories/AtomFactory.h base/Molecule.h base/InputParser.h base/GTOExpansionSTO.h base/loggers/MOLogger.h base/loggers/DensityLogger.h base/loggers/HoleDensityLogger.h base/loggers/ParticleDensityLogger.h base/ElectronicStructure.h cndo/Cndo2.h cndo/ReducedOverlapAOsParameters.h indo/Indo.h zindo/ZindoS.h mndo/Mndo.h am1/Am1.h am1/Am1D.h pm3/Pm3.h pm3/Pm3D.h pm3/Pm3Pddg.h base/factories/ElectronicStructureFactory.h md/MD.h mc/MC.h rpmd/RPMD.h nasco/NASCO.h optimization/Optimizer.h optimization/ConjugateGradient.h optimization/SteepestDescent.h optimization/BFGS.h optimization/GEDIIS.h base/factories/OptimizerFactory.h base/MolDS.h
43+ALL_OBJ_FILES = obj/Enums.o obj/PrintController.o obj/MolDSException.o obj/MallocerFreer.o obj/MpiProcess.o obj/AsyncCommunicator.o obj/Blas.o obj/Lapack.o obj/Utilities.o obj/MathUtilities.o obj/EularAngle.o obj/Parameters.o obj/RealSphericalHarmonicsIndex.o obj/Atom.o obj/Hatom.o obj/Liatom.o obj/Catom.o obj/Natom.o obj/Oatom.o obj/Satom.o obj/Ghost.o obj/GhostHatom.o obj/GhostLiatom.o obj/GhostCatom.o obj/GhostNatom.o obj/GhostOatom.o obj/GhostSatom.o obj/EnvironmentalPointCharge.o obj/AtomFactory.o obj/Molecule.o obj/InputParser.o obj/GTOExpansionSTO.o obj/MOLogger.o obj/DensityLogger.o obj/HoleDensityLogger.o obj/ParticleDensityLogger.o obj/Cndo2.o obj/Indo.o obj/ZindoS.o obj/Mndo.o obj/Am1.o obj/Am1D.o obj/Pm3.o obj/Pm3D.o obj/Pm3Pddg.o obj/ElectronicStructureFactory.o obj/MD.o obj/MC.o obj/RPMD.o obj/NASCO.o obj/Optimizer.o obj/ConjugateGradient.o obj/SteepestDescent.o obj/BFGS.o obj/GEDIIS.o obj/OptimizerFactory.o obj/MolDS.o obj/Main.o
4444
4545 $(EXENAME): $(DEPFILE) $(ALL_OBJ_FILES)
4646 $(CC) -o $@ $(LDFLAGS) -L$(BOOST_LIB_DIR) $(ALL_OBJ_FILES) $(LIBS)
--- a/src/Makefile_GNU
+++ b/src/Makefile_GNU
@@ -35,9 +35,9 @@ DEPFILE = obj/objfile.dep
3535 LDFLAGS = -Wl,-rpath=$(BOOST_LIB_DIR) -Wl,-rpath=$(OPENBLAS_LIB_DIR)
3636 THIS_MAKEFILE := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
3737
38-ALL_CPP_FILES = base/Enums.cpp base/PrintController.cpp base/MolDSException.cpp base/MallocerFreer.cpp mpi/MpiProcess.cpp mpi/AsyncCommunicator.cpp wrappers/Blas.cpp wrappers/Lapack.cpp base/Utilities.cpp base/MathUtilities.cpp base/EularAngle.cpp base/Parameters.cpp base/atoms/Atom.cpp base/atoms/Hatom.cpp base/atoms/Liatom.cpp base/atoms/Catom.cpp base/atoms/Natom.cpp base/atoms/Oatom.cpp base/atoms/Satom.cpp base/atoms/bq/Bq.cpp base/atoms/bq/BqHatom.cpp base/atoms/bq/BqLiatom.cpp base/atoms/bq/BqCatom.cpp base/atoms/bq/BqNatom.cpp base/atoms/bq/BqOatom.cpp base/atoms/bq/BqSatom.cpp base/atoms/mm/EnvironmentalPointCharge.cpp base/factories/AtomFactory.cpp base/Molecule.cpp base/InputParser.cpp base/GTOExpansionSTO.cpp base/RealSphericalHarmonicsIndex.cpp base/loggers/MOLogger.cpp base/loggers/DensityLogger.cpp base/loggers/HoleDensityLogger.cpp base/loggers/ParticleDensityLogger.cpp cndo/Cndo2.cpp indo/Indo.cpp zindo/ZindoS.cpp mndo/Mndo.cpp am1/Am1.cpp am1/Am1D.cpp pm3/Pm3.cpp pm3/Pm3D.cpp pm3/Pm3Pddg.cpp base/factories/ElectronicStructureFactory.cpp md/MD.cpp mc/MC.cpp rpmd/RPMD.cpp nasco/NASCO.cpp optimization/Optimizer.cpp optimization/ConjugateGradient.cpp optimization/SteepestDescent.cpp optimization/BFGS.cpp optimization/GEDIIS.cpp base/factories/OptimizerFactory.cpp base/MolDS.cpp Main.cpp
39-ALL_HEAD_FILES = config.h base/Enums.h base/Uncopyable.h base/PrintController.h base/MolDSException.h base/containers/ThreadSafeQueue.h base/MallocerFreer.h mpi/MpiInt.h mpi/MpiProcess.h mpi/AsyncCommunicator.h wrappers/Blas.h wrappers/Lapack.h base/Utilities.h base/MathUtilities.h base/EularAngle.h base/Parameters.h base/atoms/Atom.h base/atoms/Hatom.h base/atoms/Liatom.h base/atoms/Catom.h base/atoms/Natom.h base/atoms/Oatom.h base/atoms/Satom.h base/atoms/bq/Bq.h base/atoms/bq/BqHatom.h base/atoms/bq/BqLiatom.h base/atoms/bq/BqCatom.h base/atoms/bq/BqNatom.h base/atoms/bq/BqOatom.h base/atoms/bq/BqSatom.h base/atoms/mm/EnvironmentalPointCharge.h base/factories/AtomFactory.h base/Molecule.h base/InputParser.h base/GTOExpansionSTO.h base/RealSphericalHarmonicsIndex.h base/loggers/MOLogger.h base/loggers/DensityLogger.h base/loggers/HoleDensityLogger.h base/loggers/ParticleDensityLogger.h base/ElectronicStructure.h cndo/Cndo2.h cndo/ReducedOverlapAOsParameters.h indo/Indo.h zindo/ZindoS.h mndo/Mndo.h am1/Am1.h am1/Am1D.h pm3/Pm3.h pm3/Pm3D.h pm3/Pm3Pddg.h base/factories/ElectronicStructureFactory.h md/MD.h mc/MC.h rpmd/RPMD.h nasco/NASCO.h optimization/Optimizer.h optimization/ConjugateGradient.h optimization/SteepestDescent.h optimization/BFGS.h optimization/GEDIIS.h base/factories/OptimizerFactory.h base/MolDS.h
40-ALL_OBJ_FILES = obj/Enums.o obj/PrintController.o obj/MolDSException.o obj/MallocerFreer.o obj/MpiProcess.o obj/AsyncCommunicator.o obj/Blas.o obj/Lapack.o obj/Utilities.o obj/MathUtilities.o obj/EularAngle.o obj/Parameters.o obj/Atom.o obj/Hatom.o obj/Liatom.o obj/Catom.o obj/Natom.o obj/Oatom.o obj/Satom.o obj/Bq.o obj/BqHatom.o obj/BqLiatom.o obj/BqCatom.o obj/BqNatom.o obj/BqOatom.o obj/BqSatom.o obj/EnvironmentalPointCharge.o obj/AtomFactory.o obj/Molecule.o obj/InputParser.o obj/GTOExpansionSTO.o obj/RealSphericalHarmonicsIndex.o obj/MOLogger.o obj/DensityLogger.o obj/HoleDensityLogger.o obj/ParticleDensityLogger.o obj/Cndo2.o obj/Indo.o obj/ZindoS.o obj/Mndo.o obj/Am1.o obj/Am1D.o obj/Pm3.o obj/Pm3D.o obj/Pm3Pddg.o obj/ElectronicStructureFactory.o obj/MD.o obj/MC.o obj/RPMD.o obj/NASCO.o obj/Optimizer.o obj/ConjugateGradient.o obj/SteepestDescent.o obj/BFGS.o obj/GEDIIS.o obj/OptimizerFactory.o obj/MolDS.o obj/Main.o
38+ALL_CPP_FILES = base/Enums.cpp base/PrintController.cpp base/MolDSException.cpp base/MallocerFreer.cpp mpi/MpiProcess.cpp mpi/AsyncCommunicator.cpp wrappers/Blas.cpp wrappers/Lapack.cpp base/Utilities.cpp base/MathUtilities.cpp base/EularAngle.cpp base/Parameters.cpp base/atoms/Atom.cpp base/atoms/Hatom.cpp base/atoms/Liatom.cpp base/atoms/Catom.cpp base/atoms/Natom.cpp base/atoms/Oatom.cpp base/atoms/Satom.cpp base/atoms/ghost/Ghost.cpp base/atoms/ghost/GhostHatom.cpp base/atoms/ghost/GhostLiatom.cpp base/atoms/ghost/GhostCatom.cpp base/atoms/ghost/GhostNatom.cpp base/atoms/ghost/GhostOatom.cpp base/atoms/ghost/GhostSatom.cpp base/atoms/mm/EnvironmentalPointCharge.cpp base/factories/AtomFactory.cpp base/Molecule.cpp base/InputParser.cpp base/GTOExpansionSTO.cpp base/RealSphericalHarmonicsIndex.cpp base/loggers/MOLogger.cpp base/loggers/DensityLogger.cpp base/loggers/HoleDensityLogger.cpp base/loggers/ParticleDensityLogger.cpp cndo/Cndo2.cpp indo/Indo.cpp zindo/ZindoS.cpp mndo/Mndo.cpp am1/Am1.cpp am1/Am1D.cpp pm3/Pm3.cpp pm3/Pm3D.cpp pm3/Pm3Pddg.cpp base/factories/ElectronicStructureFactory.cpp md/MD.cpp mc/MC.cpp rpmd/RPMD.cpp nasco/NASCO.cpp optimization/Optimizer.cpp optimization/ConjugateGradient.cpp optimization/SteepestDescent.cpp optimization/BFGS.cpp optimization/GEDIIS.cpp base/factories/OptimizerFactory.cpp base/MolDS.cpp Main.cpp
39+ALL_HEAD_FILES = config.h base/Enums.h base/Uncopyable.h base/PrintController.h base/MolDSException.h base/containers/ThreadSafeQueue.h base/MallocerFreer.h mpi/MpiInt.h mpi/MpiProcess.h mpi/AsyncCommunicator.h wrappers/Blas.h wrappers/Lapack.h base/Utilities.h base/MathUtilities.h base/EularAngle.h base/Parameters.h base/atoms/Atom.h base/atoms/Hatom.h base/atoms/Liatom.h base/atoms/Catom.h base/atoms/Natom.h base/atoms/Oatom.h base/atoms/Satom.h base/atoms/ghost/Ghost.h base/atoms/ghost/GhostHatom.h base/atoms/ghost/GhostLiatom.h base/atoms/ghost/GhostCatom.h base/atoms/ghost/GhostNatom.h base/atoms/ghost/GhostOatom.h base/atoms/ghost/GhostSatom.h base/atoms/mm/EnvironmentalPointCharge.h base/factories/AtomFactory.h base/Molecule.h base/InputParser.h base/GTOExpansionSTO.h base/RealSphericalHarmonicsIndex.h base/loggers/MOLogger.h base/loggers/DensityLogger.h base/loggers/HoleDensityLogger.h base/loggers/ParticleDensityLogger.h base/ElectronicStructure.h cndo/Cndo2.h cndo/ReducedOverlapAOsParameters.h indo/Indo.h zindo/ZindoS.h mndo/Mndo.h am1/Am1.h am1/Am1D.h pm3/Pm3.h pm3/Pm3D.h pm3/Pm3Pddg.h base/factories/ElectronicStructureFactory.h md/MD.h mc/MC.h rpmd/RPMD.h nasco/NASCO.h optimization/Optimizer.h optimization/ConjugateGradient.h optimization/SteepestDescent.h optimization/BFGS.h optimization/GEDIIS.h base/factories/OptimizerFactory.h base/MolDS.h
40+ALL_OBJ_FILES = obj/Enums.o obj/PrintController.o obj/MolDSException.o obj/MallocerFreer.o obj/MpiProcess.o obj/AsyncCommunicator.o obj/Blas.o obj/Lapack.o obj/Utilities.o obj/MathUtilities.o obj/EularAngle.o obj/Parameters.o obj/Atom.o obj/Hatom.o obj/Liatom.o obj/Catom.o obj/Natom.o obj/Oatom.o obj/Satom.o obj/Ghost.o obj/GhostHatom.o obj/GhostLiatom.o obj/GhostCatom.o obj/GhostNatom.o obj/GhostOatom.o obj/GhostSatom.o obj/EnvironmentalPointCharge.o obj/AtomFactory.o obj/Molecule.o obj/InputParser.o obj/GTOExpansionSTO.o obj/RealSphericalHarmonicsIndex.o obj/MOLogger.o obj/DensityLogger.o obj/HoleDensityLogger.o obj/ParticleDensityLogger.o obj/Cndo2.o obj/Indo.o obj/ZindoS.o obj/Mndo.o obj/Am1.o obj/Am1D.o obj/Pm3.o obj/Pm3D.o obj/Pm3Pddg.o obj/ElectronicStructureFactory.o obj/MD.o obj/MC.o obj/RPMD.o obj/NASCO.o obj/Optimizer.o obj/ConjugateGradient.o obj/SteepestDescent.o obj/BFGS.o obj/GEDIIS.o obj/OptimizerFactory.o obj/MolDS.o obj/Main.o
4141
4242 $(EXENAME): $(DEPFILE) $(ALL_OBJ_FILES)
4343 $(CC) -o $@ $(LDFLAGS) $(ALL_OBJ_FILES) -L$(BOOST_LIB_DIR) -L$(OPENBLAS_LIB_DIR) $(LIBS)
--- a/src/base/Enums.h
+++ b/src/base/Enums.h
@@ -125,24 +125,24 @@ RENUMSTR_BEGIN( AtomType, AtomTypeStr )
125125 RENUMSTR( S, "S" )
126126 RENUMSTR( Cl, "Cl" )
127127 RENUMSTR( Ar, "Ar" )
128- RENUMSTR( bqH, "ghost-H" )
129- RENUMSTR( bqHe, "ghost-He" )
130- RENUMSTR( bqLi, "ghost-Li" )
131- RENUMSTR( bqBe, "ghost-Be" )
132- RENUMSTR( bqB, "ghost-B" )
133- RENUMSTR( bqC, "ghost-C" )
134- RENUMSTR( bqN, "ghost-N" )
135- RENUMSTR( bqO, "ghost-O" )
136- RENUMSTR( bqF, "ghost-F" )
137- RENUMSTR( bqNe, "ghost-Ne" )
138- RENUMSTR( bqNa, "ghost-Na" )
139- RENUMSTR( bqMg, "ghost-Mg" )
140- RENUMSTR( bqAl, "ghost-Al" )
141- RENUMSTR( bqSi, "ghost-Si" )
142- RENUMSTR( bqP, "ghost-P" )
143- RENUMSTR( bqS, "ghost-S" )
144- RENUMSTR( bqCl, "ghost-Cl" )
145- RENUMSTR( bqAr, "ghost-Ar" )
128+ RENUMSTR( ghostH, "ghost-H" )
129+ RENUMSTR( ghostHe, "ghost-He" )
130+ RENUMSTR( ghostLi, "ghost-Li" )
131+ RENUMSTR( ghostBe, "ghost-Be" )
132+ RENUMSTR( ghostB, "ghost-B" )
133+ RENUMSTR( ghostC, "ghost-C" )
134+ RENUMSTR( ghostN, "ghost-N" )
135+ RENUMSTR( ghostO, "ghost-O" )
136+ RENUMSTR( ghostF, "ghost-F" )
137+ RENUMSTR( ghostNe, "ghost-Ne" )
138+ RENUMSTR( ghostNa, "ghost-Na" )
139+ RENUMSTR( ghostMg, "ghost-Mg" )
140+ RENUMSTR( ghostAl, "ghost-Al" )
141+ RENUMSTR( ghostSi, "ghost-Si" )
142+ RENUMSTR( ghostP, "ghost-P" )
143+ RENUMSTR( ghostS, "ghost-S" )
144+ RENUMSTR( ghostCl, "ghost-Cl" )
145+ RENUMSTR( ghostAr, "ghost-Ar" )
146146 RENUMSTR( EPC, "Environmental Point Charge" )
147147 RENUMSTR( AtomType_end, "AtomType_end" )
148148 RENUMSTR_END()
--- a/src/base/InputParser.cpp
+++ b/src/base/InputParser.cpp
@@ -40,12 +40,6 @@
4040 #include"Parameters.h"
4141 #include"RealSphericalHarmonicsIndex.h"
4242 #include"atoms/Atom.h"
43-#include"atoms/Hatom.h"
44-#include"atoms/Liatom.h"
45-#include"atoms/Catom.h"
46-#include"atoms/Natom.h"
47-#include"atoms/Oatom.h"
48-#include"atoms/Satom.h"
4943 #include"factories/AtomFactory.h"
5044 #include"Molecule.h"
5145 #include"InputParser.h"
@@ -250,7 +244,7 @@ void InputParser::SetMessages(){
250244 this->stringGeometry = "geometry";
251245 this->stringGeometryEnd = "geometry_end";
252246
253- // Ghost (bq) atoms
247+ // Ghost (ghost) atoms
254248 this->stringGhost = "ghost";
255249 this->stringGhostEnd = "ghost_end";
256250
@@ -491,7 +485,7 @@ int InputParser::ParseMolecularConfiguration(Molecule* molecule, vector<string>*
491485 else if((*inputTerms)[parseIndex] == "s"){
492486 atomType = S;
493487 }
494- int index = molecule->GetRealAtomVect().size() + molecule->GetBqAtomVect().size();
488+ int index = molecule->GetRealAtomVect().size() + molecule->GetGhostAtomVect().size();
495489 Atom* atom = AtomFactory::Create(atomType, index, x, y, z);
496490 molecule->AddRealAtom(atom);
497491 parseIndex += 4;
@@ -507,26 +501,26 @@ int InputParser::ParseGhostsConfiguration(Molecule* molecule, vector<string>* in
507501 double z = atof((*inputTerms)[parseIndex+3].c_str()) * Parameters::GetInstance()->GetAngstrom2AU();
508502 AtomType atomType = H;
509503 if((*inputTerms)[parseIndex] == "h"){
510- atomType = bqH;
504+ atomType = ghostH;
511505 }
512506 else if((*inputTerms)[parseIndex] == "li"){
513- atomType = bqLi;
507+ atomType = ghostLi;
514508 }
515509 else if((*inputTerms)[parseIndex] == "c"){
516- atomType = bqC;
510+ atomType = ghostC;
517511 }
518512 else if((*inputTerms)[parseIndex] == "n"){
519- atomType = bqN;
513+ atomType = ghostN;
520514 }
521515 else if((*inputTerms)[parseIndex] == "o"){
522- atomType = bqO;
516+ atomType = ghostO;
523517 }
524518 else if((*inputTerms)[parseIndex] == "s"){
525- atomType = bqS;
519+ atomType = ghostS;
526520 }
527- int index = molecule->GetRealAtomVect().size() + molecule->GetBqAtomVect().size();
521+ int index = molecule->GetRealAtomVect().size() + molecule->GetGhostAtomVect().size();
528522 Atom* atom = AtomFactory::Create(atomType, index, x, y, z);
529- molecule->AddBqAtom(atom);
523+ molecule->AddGhostAtom(atom);
530524 parseIndex += 4;
531525 }
532526 return parseIndex;
@@ -1233,7 +1227,7 @@ void InputParser::Parse(Molecule* molecule, int argc, char *argv[]) const{
12331227 i = this->ParseMolecularConfiguration(molecule, &inputTerms, i);
12341228 }
12351229
1236- // ghost atom (bq) configuration
1230+ // ghost atom configuration
12371231 if(inputTerms[i].compare(this->stringGhost) == 0){
12381232 i = this->ParseGhostsConfiguration(molecule, &inputTerms, i);
12391233 }
--- a/src/base/Molecule.cpp
+++ b/src/base/Molecule.cpp
@@ -63,12 +63,12 @@ Molecule& Molecule::operator=(const Molecule& rhs){
6363 double** oldDistanceAtomsEpcs = this->distanceAtomsEpcs;
6464 vector<Atom*>* oldAtomVect = this->atomVect;
6565 vector<Atom*>* oldRealAtomVect = this->realAtomVect;
66- vector<Atom*>* oldBqAtomVect = this->bqAtomVect;
66+ vector<Atom*>* oldGhostAtomVect= this->ghostAtomVect;
6767 vector<Atom*>* oldEpcVect = this->epcVect;
6868 this->CopyInitialize(rhs);
6969 this->Finalize(&oldAtomVect,
7070 &oldRealAtomVect,
71- &oldBqAtomVect,
71+ &oldGhostAtomVect,
7272 &oldEpcVect,
7373 &oldXyzCOM,
7474 &oldXyzCOC,
@@ -81,7 +81,7 @@ Molecule& Molecule::operator=(const Molecule& rhs){
8181 Molecule::~Molecule(){
8282 this->Finalize(&this->atomVect,
8383 &this->realAtomVect,
84- &this->bqAtomVect,
84+ &this->ghostAtomVect,
8585 &this->epcVect,
8686 &this->xyzCOM,
8787 &this->xyzCOC,
@@ -115,11 +115,11 @@ void Molecule::CopyInitialize(const Molecule& rhs){
115115 (*this->realAtomVect)[i]->SetFirstAOIndex(atom->GetFirstAOIndex());
116116 }
117117 }
118- if(rhs.bqAtomVect != NULL){
119- int bqAtomNum = rhs.bqAtomVect->size();
120- for(int i=0; i<bqAtomNum; i++){
121- Atom* atom = (*rhs.bqAtomVect)[i];
122- this->bqAtomVect->push_back(AtomFactory::Create(atom->GetAtomType(),
118+ if(rhs.ghostAtomVect != NULL){
119+ int ghostAtomNum = rhs.ghostAtomVect->size();
120+ for(int i=0; i<ghostAtomNum; i++){
121+ Atom* atom = (*rhs.ghostAtomVect)[i];
122+ this->ghostAtomVect->push_back(AtomFactory::Create(atom->GetAtomType(),
123123 atom->GetIndex(),
124124 atom->GetXyz()[XAxis],
125125 atom->GetXyz()[YAxis],
@@ -131,7 +131,7 @@ void Molecule::CopyInitialize(const Molecule& rhs){
131131 }
132132 }
133133 if(rhs.atomVect != NULL){
134- this->CopyRealBqAtom2Atom();
134+ this->CopyRealGhostAtom2Atom();
135135 int atomNum = this->atomVect->size();
136136 MallocerFreer::GetInstance()->Malloc<double>(&this->distanceAtoms, atomNum, atomNum);
137137 for(int i=0; i<atomNum; i++){
@@ -184,12 +184,12 @@ void Molecule::Initialize(){
184184 this->distanceAtomsEpcs = NULL;
185185 this->atomVect = NULL;
186186 this->realAtomVect = NULL;
187- this->bqAtomVect = NULL;
187+ this->ghostAtomVect = NULL;
188188 this->epcVect = NULL;
189189 try{
190190 this->atomVect = new vector<Atom*>;
191191 this->realAtomVect = new vector<Atom*>;
192- this->bqAtomVect = new vector<Atom*>;
192+ this->ghostAtomVect= new vector<Atom*>;
193193 this->epcVect = new vector<Atom*>;
194194 MallocerFreer::GetInstance()->Malloc<double>(&this->xyzCOM, CartesianType_end);
195195 MallocerFreer::GetInstance()->Malloc<double>(&this->xyzCOC, CartesianType_end);
@@ -197,7 +197,7 @@ void Molecule::Initialize(){
197197 catch(exception ex){
198198 this->Finalize(&this->atomVect,
199199 &this->realAtomVect,
200- &this->bqAtomVect,
200+ &this->ghostAtomVect,
201201 &this->epcVect,
202202 &this->xyzCOM,
203203 &this->xyzCOC,
@@ -210,7 +210,7 @@ void Molecule::Initialize(){
210210
211211 void Molecule::Finalize(vector<Atom*>** atomVect,
212212 vector<Atom*>** realAtomVect,
213- vector<Atom*>** bqAtomVect,
213+ vector<Atom*>** ghostAtomVect,
214214 vector<Atom*>** epcVect,
215215 double** xyzCOM,
216216 double** xyzCOC,
@@ -246,18 +246,18 @@ void Molecule::Finalize(vector<Atom*>** atomVect,
246246 *realAtomVect = NULL;
247247 //this->OutputLog("realAtomVect deleted\n");
248248 }
249- if(*bqAtomVect != NULL){
250- int bqAtomNum = (*bqAtomVect)->size();
251- for(int i=0; i<bqAtomNum; i++){
252- if((**bqAtomVect)[i] != NULL){
253- delete (**bqAtomVect)[i];
254- (**bqAtomVect)[i] = NULL;
249+ if(*ghostAtomVect != NULL){
250+ int ghostAtomNum = (*ghostAtomVect)->size();
251+ for(int i=0; i<ghostAtomNum; i++){
252+ if((**ghostAtomVect)[i] != NULL){
253+ delete (**ghostAtomVect)[i];
254+ (**ghostAtomVect)[i] = NULL;
255255 }
256256 }
257- (*bqAtomVect)->clear();
258- delete *bqAtomVect;
259- *bqAtomVect = NULL;
260- //this->OutputLog("bqAtomVect deleted\n");
257+ (*ghostAtomVect)->clear();
258+ delete *ghostAtomVect;
259+ *ghostAtomVect = NULL;
260+ //this->OutputLog("ghostAtomVect deleted\n");
261261 }
262262 if(*epcVect != NULL){
263263 epcNum = (*epcVect)->size();
@@ -278,13 +278,13 @@ void Molecule::Finalize(vector<Atom*>** atomVect,
278278 void Molecule::SetMessages(){
279279 this->errorMessageGetAtomVectNull = "Error in base::Molecule::GetAtomVect: atomVect is NULL.\n";
280280 this->errorMessageGetRealAtomVectNull = "Error in base::Molecule::GetRealAtomVect: realAtomVect is NULL.\n";
281- this->errorMessageGetBqAtomVectNull = "Error in base::Molecule::GetBqAtomVect: bqAtomVect is NULL.\n";
281+ this->errorMessageGetGhostAtomVectNull = "Error in base::Molecule::GetGhostAtomVect: ghostAtomVect is NULL.\n";
282282 this->errorMessageGetEPCVectNull = "Error in base::Molecule::GetEpcVect: epcVect is NULL.\n";
283283 this->errorMessageAddAtomNull = "Error in base::Molecule::AddAtom: atomVect is NULL.\n";
284284 this->errorMessageAddRealAtomNull = "Error in base::Molecule::AddAtom: realAtomVect is NULL.\n";
285- this->errorMessageAddBqAtomNull = "Error in base::Molecule::AddAtom: bqAtomVect is NULL.\n";
285+ this->errorMessageAddGhostAtomNull = "Error in base::Molecule::AddAtom: ghostAtomVect is NULL.\n";
286286 this->errorMessageAddEPCNull = "Error in base::Molecule::AddEnviromentalPointCharge: epcVect is NULL.\n";
287- this->errorMessageCopyRealBqAtom2AtomNotEmpty = "Error in base::Molecule::CopyRealBqAtom2Atom: atomVect is not empty.\n";
287+ this->errorMessageCopyRealGhostAtom2AtomNotEmpty = "Error in base::Molecule::CopyRealGhostAtom2Atom: atomVect is not empty.\n";
288288 this->errorMessageGetXyzCOMNull = "Error in base::Molecule::GetXyzCOM: xyzCOM is NULL.\n";
289289 this->errorMessageGetXyzCOCNull = "Error in base::Molecule::GetXyzCOC: xyzCOC is NULL.\n";
290290 this->errorMessageCalcXyzCOMNull = "Error in base::Molecule::CalcXyzCOM: xyzCOM is NULL.\n";
@@ -339,11 +339,11 @@ void Molecule::AddRealAtom(Atom* atom){
339339 this->realAtomVect->push_back(atom);
340340 }
341341
342-void Molecule::AddBqAtom(Atom* atom){
342+void Molecule::AddGhostAtom(Atom* atom){
343343 #ifdef MOLDS_DBG
344- if(this->bqAtomVect==NULL) throw MolDSException(this->errorMessageAddBqAtomNull);
344+ if(this->ghostAtomVect==NULL) throw MolDSException(this->errorMessageAddGhostAtomNull);
345345 #endif
346- this->bqAtomVect->push_back(atom);
346+ this->ghostAtomVect->push_back(atom);
347347 }
348348
349349 void Molecule::AddEpc(Atom* epc){
@@ -475,7 +475,7 @@ void Molecule::CalcDistanceAtomsEpcs(){
475475 }
476476
477477 void Molecule::CalcBasics(){
478- this->CopyRealBqAtom2Atom();
478+ this->CopyRealGhostAtom2Atom();
479479 this->CalcTotalNumberAOs();
480480 this->CalcTotalNumberValenceElectrons();
481481 this->CalcTotalCoreMass();
@@ -490,23 +490,23 @@ void Molecule::CalcBasicsConfiguration(){
490490 this->CalcDistanceAtomsEpcs();
491491 }
492492
493-void Molecule::CopyRealBqAtom2Atom(){
493+void Molecule::CopyRealGhostAtom2Atom(){
494494 if(!this->atomVect->empty()){
495- throw MolDSException(this->errorMessageCopyRealBqAtom2AtomNotEmpty);
495+ throw MolDSException(this->errorMessageCopyRealGhostAtom2AtomNotEmpty);
496496 }
497497 int realAtomNum = this->realAtomVect->size();
498- int bqAtomNum = this->bqAtomVect->size();
498+ int ghostAtomNum = this->ghostAtomVect->size();
499499 for(int i=0; i<realAtomNum; i++){
500500 Atom* atom = (*this->realAtomVect)[i];
501501 this->atomVect->push_back(atom);
502502 }
503- for(int i=0; i<bqAtomNum; i++){
504- Atom* atom = (*this->bqAtomVect)[i];
503+ for(int i=0; i<ghostAtomNum; i++){
504+ Atom* atom = (*this->ghostAtomVect)[i];
505505 this->atomVect->push_back(atom);
506506 }
507- std::sort(this->realAtomVect->begin(), this->realAtomVect->end(), MolDS_base_atoms::LessAtomIndex());
508- std::sort(this->bqAtomVect->begin(), this->bqAtomVect->end(), MolDS_base_atoms::LessAtomIndex());
509- std::sort(this->atomVect->begin(), this->atomVect->end(), MolDS_base_atoms::LessAtomIndex());
507+ std::sort(this->realAtomVect->begin(), this->realAtomVect->end(), MolDS_base_atoms::LessAtomIndex());
508+ std::sort(this->ghostAtomVect->begin(), this->ghostAtomVect->end(), MolDS_base_atoms::LessAtomIndex());
509+ std::sort(this->atomVect->begin(), this->atomVect->end(), MolDS_base_atoms::LessAtomIndex());
510510 }
511511
512512 void Molecule::CalcTotalNumberAOs(){
--- a/src/base/Molecule.h
+++ b/src/base/Molecule.h
@@ -38,11 +38,11 @@ public:
3838 #endif
3939 return *this->realAtomVect;
4040 }
41- inline const std::vector<MolDS_base_atoms::Atom*>& GetBqAtomVect() const{
41+ inline const std::vector<MolDS_base_atoms::Atom*>& GetGhostAtomVect() const{
4242 #ifdef MOLDS_DBG
43- if(this->bqAtomVect==NULL) throw MolDS_base::MolDSException(this->errorMessageGetBqAtomVectNull);
43+ if(this->ghostAtomVect==NULL) throw MolDS_base::MolDSException(this->errorMessageGetGhostAtomVectNull);
4444 #endif
45- return *this->bqAtomVect;
45+ return *this->ghostAtomVect;
4646 }
4747 inline const std::vector<MolDS_base_atoms::Atom*>& GetEpcVect() const{
4848 #ifdef MOLDS_DBG
@@ -52,7 +52,7 @@ public:
5252 }
5353 void AddAtom(MolDS_base_atoms::Atom* atom);
5454 void AddRealAtom(MolDS_base_atoms::Atom* atom);
55- void AddBqAtom(MolDS_base_atoms::Atom* atom);
55+ void AddGhostAtom(MolDS_base_atoms::Atom* atom);
5656 void AddEpc(MolDS_base_atoms::Atom* epc);
5757 double const* GetXyzCOM() const;
5858 double const* GetXyzCOC() const;
@@ -88,7 +88,7 @@ public:
8888 private:
8989 std::vector<MolDS_base_atoms::Atom*>* atomVect;
9090 std::vector<MolDS_base_atoms::Atom*>* realAtomVect; // Vector of real (=not ghost) atoms
91- std::vector<MolDS_base_atoms::Atom*>* bqAtomVect; // Vector of ghost atoms
91+ std::vector<MolDS_base_atoms::Atom*>* ghostAtomVect; // Vector of ghost atoms
9292 std::vector<MolDS_base_atoms::Atom*>* epcVect; // Vector of Environmental Point Charges
9393 double* xyzCOM; // x, y, z coordinates of Center of Mass;
9494 double* xyzCOC; // x, y, z coordinates of Center of Core;
@@ -102,7 +102,7 @@ private:
102102 void CopyInitialize(const Molecule& rhs);
103103 void Finalize(std::vector<MolDS_base_atoms::Atom*>** atomVect,
104104 std::vector<MolDS_base_atoms::Atom*>** realAtomVect,
105- std::vector<MolDS_base_atoms::Atom*>** bqAtomVect,
105+ std::vector<MolDS_base_atoms::Atom*>** ghostAtomVect,
106106 std::vector<MolDS_base_atoms::Atom*>** epcVect,
107107 double** xyzCOM,
108108 double** xyzCOC,
@@ -110,7 +110,7 @@ private:
110110 double*** distanceEpcs,
111111 double*** distanceAtomsEpcs);
112112 void SetMessages();
113- void CopyRealBqAtom2Atom();
113+ void CopyRealGhostAtom2Atom();
114114 void CalcTotalNumberAOs();
115115 void CalcTotalNumberValenceElectrons();
116116 void CalcTotalCoreMass();
@@ -137,13 +137,13 @@ private:
137137 void OutputTranslatingConditions(double const* translatingDifference) const;
138138 std::string errorMessageGetAtomVectNull;
139139 std::string errorMessageGetRealAtomVectNull;
140- std::string errorMessageGetBqAtomVectNull;
140+ std::string errorMessageGetGhostAtomVectNull;
141141 std::string errorMessageGetEPCVectNull;
142142 std::string errorMessageAddAtomNull;
143143 std::string errorMessageAddRealAtomNull;
144- std::string errorMessageAddBqAtomNull;
144+ std::string errorMessageAddGhostAtomNull;
145145 std::string errorMessageAddEPCNull;
146- std::string errorMessageCopyRealBqAtom2AtomNotEmpty;
146+ std::string errorMessageCopyRealGhostAtom2AtomNotEmpty;
147147 std::string errorMessageGetXyzCOMNull;
148148 std::string errorMessageGetXyzCOCNull;
149149 std::string errorMessageCalcXyzCOMNull;
--- a/src/base/atoms/bq/BqNatom.h
+++ /dev/null
@@ -1,31 +0,0 @@
1-//************************************************************************//
2-// Copyright (C) 2011-2012 Mikiya Fujii //
3-// //
4-// This file is part of MolDS. //
5-// //
6-// MolDS is free software: you can redistribute it and/or modify //
7-// it under the terms of the GNU General Public License as published by //
8-// the Free Software Foundation, either version 3 of the License, or //
9-// (at your option) any later version. //
10-// //
11-// MolDS is distributed in the hope that it will be useful, //
12-// but WITHOUT ANY WARRANTY; without even the implied warranty of //
13-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
14-// GNU General Public License for more details. //
15-// //
16-// You should have received a copy of the GNU General Public License //
17-// along with MolDS. If not, see <http://www.gnu.org/licenses/>. //
18-//************************************************************************//
19-#ifndef INCLUDED_BQNATOM
20-#define INCLUDED_BQNATOM
21-namespace MolDS_base_atoms_bq{
22-class BqNatom : public MolDS_base_atoms::Natom, public Bq {
23-public:
24- BqNatom(int index);
25-protected:
26- void virtual SetAtomicParameters();
27-private:
28- BqNatom();
29-};
30-}
31-#endif
--- a/src/base/atoms/bq/BqOatom.h
+++ /dev/null
@@ -1,31 +0,0 @@
1-//************************************************************************//
2-// Copyright (C) 2011-2012 Mikiya Fujii //
3-// //
4-// This file is part of MolDS. //
5-// //
6-// MolDS is free software: you can redistribute it and/or modify //
7-// it under the terms of the GNU General Public License as published by //
8-// the Free Software Foundation, either version 3 of the License, or //
9-// (at your option) any later version. //
10-// //
11-// MolDS is distributed in the hope that it will be useful, //
12-// but WITHOUT ANY WARRANTY; without even the implied warranty of //
13-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
14-// GNU General Public License for more details. //
15-// //
16-// You should have received a copy of the GNU General Public License //
17-// along with MolDS. If not, see <http://www.gnu.org/licenses/>. //
18-//************************************************************************//
19-#ifndef INCLUDED_BQOATOM
20-#define INCLUDED_BQOATOM
21-namespace MolDS_base_atoms_bq{
22-class BqOatom : public MolDS_base_atoms::Oatom, public Bq {
23-public:
24- BqOatom(int index);
25-protected:
26- void virtual SetAtomicParameters();
27-private:
28- BqOatom();
29-};
30-}
31-#endif
--- a/src/base/atoms/bq/BqSatom.h
+++ /dev/null
@@ -1,31 +0,0 @@
1-//************************************************************************//
2-// Copyright (C) 2011-2012 Mikiya Fujii //
3-// //
4-// This file is part of MolDS. //
5-// //
6-// MolDS is free software: you can redistribute it and/or modify //
7-// it under the terms of the GNU General Public License as published by //
8-// the Free Software Foundation, either version 3 of the License, or //
9-// (at your option) any later version. //
10-// //
11-// MolDS is distributed in the hope that it will be useful, //
12-// but WITHOUT ANY WARRANTY; without even the implied warranty of //
13-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
14-// GNU General Public License for more details. //
15-// //
16-// You should have received a copy of the GNU General Public License //
17-// along with MolDS. If not, see <http://www.gnu.org/licenses/>. //
18-//************************************************************************//
19-#ifndef INCLUDED_BQSATOM
20-#define INCLUDED_BQSATOM
21-namespace MolDS_base_atoms_bq{
22-class BqSatom : public MolDS_base_atoms::Satom, public Bq {
23-public:
24- BqSatom(int index);
25-protected:
26- void virtual SetAtomicParameters();
27-private:
28- BqSatom();
29-};
30-}
31-#endif
--- a/src/base/atoms/bq/Bq.cpp
+++ b/src/base/atoms/ghost/Ghost.cpp
@@ -34,15 +34,15 @@
3434 #include"../../Parameters.h"
3535 #include"../../RealSphericalHarmonicsIndex.h"
3636 #include"../Atom.h"
37-#include"Bq.h"
37+#include"Ghost.h"
3838 using namespace std;
3939 using namespace MolDS_base;
4040 using namespace MolDS_base_atoms;
41-namespace MolDS_base_atoms_bq{
42-Bq::Bq() : Atom(){
41+namespace MolDS_base_atoms_ghost{
42+Ghost::Ghost() : Atom(){
4343 }
4444
45-void Bq::SetAtomicParameters(){
45+void Ghost::SetAtomicParameters(){
4646 this->atomicMass = 0.0;
4747 this->coreCharge = 0.0;
4848 this->numberValenceElectrons = 0;
--- a/src/base/atoms/bq/Bq.h
+++ b/src/base/atoms/ghost/Ghost.h
@@ -16,12 +16,12 @@
1616 // You should have received a copy of the GNU General Public License //
1717 // along with MolDS. If not, see <http://www.gnu.org/licenses/>. //
1818 //************************************************************************//
19-#ifndef INCLUDED_BQ
20-#define INCLUDED_BQ
21-namespace MolDS_base_atoms_bq{
22-class Bq : virtual public MolDS_base_atoms::Atom {
19+#ifndef INCLUDED_GHOST
20+#define INCLUDED_GHOST
21+namespace MolDS_base_atoms_ghost{
22+class Ghost : virtual public MolDS_base_atoms::Atom {
2323 public:
24- Bq();
24+ Ghost();
2525 protected:
2626 void virtual SetAtomicParameters();
2727 private:
--- a/src/base/atoms/bq/BqCatom.cpp
+++ b/src/base/atoms/ghost/GhostCatom.cpp
@@ -35,18 +35,18 @@
3535 #include"../../RealSphericalHarmonicsIndex.h"
3636 #include"../Atom.h"
3737 #include"../Catom.h"
38-#include"Bq.h"
39-#include"BqCatom.h"
38+#include"Ghost.h"
39+#include"GhostCatom.h"
4040 using namespace std;
4141 using namespace MolDS_base;
4242 using namespace MolDS_base_atoms;
43-namespace MolDS_base_atoms_bq{
44-BqCatom::BqCatom(int index) : Catom(index),Bq(){
43+namespace MolDS_base_atoms_ghost{
44+GhostCatom::GhostCatom(int index) : Catom(index),Ghost(){
4545 }
4646
47-void BqCatom::SetAtomicParameters(){
47+void GhostCatom::SetAtomicParameters(){
4848 Catom::SetAtomicParameters();
49- Bq::SetAtomicParameters();
50- this->atomType = bqC;
49+ Ghost::SetAtomicParameters();
50+ this->atomType = ghostC;
5151 }
5252 }
--- a/src/base/atoms/bq/BqHatom.h
+++ b/src/base/atoms/ghost/GhostCatom.h
@@ -16,16 +16,16 @@
1616 // You should have received a copy of the GNU General Public License //
1717 // along with MolDS. If not, see <http://www.gnu.org/licenses/>. //
1818 //************************************************************************//
19-#ifndef INCLUDED_BQHATOM
20-#define INCLUDED_BQHATOM
21-namespace MolDS_base_atoms_bq{
22-class BqHatom : public MolDS_base_atoms::Hatom, public Bq {
19+#ifndef INCLUDED_GHOSTCATOM
20+#define INCLUDED_GHOSTCATOM
21+namespace MolDS_base_atoms_ghost{
22+class GhostCatom : public MolDS_base_atoms::Catom, public Ghost {
2323 public:
24- BqHatom(int index);
24+ GhostCatom(int index);
2525 protected:
2626 void virtual SetAtomicParameters();
2727 private:
28- BqHatom();
28+ GhostCatom();
2929 };
3030 }
3131 #endif
--- a/src/base/atoms/bq/BqHatom.cpp
+++ b/src/base/atoms/ghost/GhostHatom.cpp
@@ -35,18 +35,18 @@
3535 #include"../../RealSphericalHarmonicsIndex.h"
3636 #include"../Atom.h"
3737 #include"../Hatom.h"
38-#include"Bq.h"
39-#include"BqHatom.h"
38+#include"Ghost.h"
39+#include"GhostHatom.h"
4040 using namespace std;
4141 using namespace MolDS_base;
4242 using namespace MolDS_base_atoms;
43-namespace MolDS_base_atoms_bq{
44-BqHatom::BqHatom(int index) : Hatom(index),Bq(){
43+namespace MolDS_base_atoms_ghost{
44+GhostHatom::GhostHatom(int index) : Hatom(index),Ghost(){
4545 }
4646
47-void BqHatom::SetAtomicParameters(){
47+void GhostHatom::SetAtomicParameters(){
4848 Hatom::SetAtomicParameters();
49- Bq::SetAtomicParameters();
50- this->atomType = bqH;
49+ Ghost::SetAtomicParameters();
50+ this->atomType = ghostH;
5151 }
5252 }
--- a/src/base/atoms/bq/BqLiatom.h
+++ b/src/base/atoms/ghost/GhostHatom.h
@@ -16,16 +16,16 @@
1616 // You should have received a copy of the GNU General Public License //
1717 // along with MolDS. If not, see <http://www.gnu.org/licenses/>. //
1818 //************************************************************************//
19-#ifndef INCLUDED_BQLIATOM
20-#define INCLUDED_BQLIATOM
21-namespace MolDS_base_atoms_bq{
22-class BqLiatom : public MolDS_base_atoms::Liatom, public Bq {
19+#ifndef INCLUDED_GHOSTHATOM
20+#define INCLUDED_GHOSTHATOM
21+namespace MolDS_base_atoms_ghost{
22+class GhostHatom : public MolDS_base_atoms::Hatom, public Ghost {
2323 public:
24- BqLiatom(int index);
24+ GhostHatom(int index);
2525 protected:
2626 void virtual SetAtomicParameters();
2727 private:
28- BqLiatom();
28+ GhostHatom();
2929 };
3030 }
3131 #endif
--- a/src/base/atoms/bq/BqLiatom.cpp
+++ b/src/base/atoms/ghost/GhostLiatom.cpp
@@ -35,18 +35,18 @@
3535 #include"../../RealSphericalHarmonicsIndex.h"
3636 #include"../Atom.h"
3737 #include"../Liatom.h"
38-#include"Bq.h"
39-#include"BqLiatom.h"
38+#include"Ghost.h"
39+#include"GhostLiatom.h"
4040 using namespace std;
4141 using namespace MolDS_base;
4242 using namespace MolDS_base_atoms;
43-namespace MolDS_base_atoms_bq{
44-BqLiatom::BqLiatom(int index) : Liatom(index),Bq(){
43+namespace MolDS_base_atoms_ghost{
44+GhostLiatom::GhostLiatom(int index) : Liatom(index),Ghost(){
4545 }
4646
47-void BqLiatom::SetAtomicParameters(){
47+void GhostLiatom::SetAtomicParameters(){
4848 Liatom::SetAtomicParameters();
49- Bq::SetAtomicParameters();
50- this->atomType = bqLi;
49+ Ghost::SetAtomicParameters();
50+ this->atomType = ghostLi;
5151 }
5252 }
--- /dev/null
+++ b/src/base/atoms/ghost/GhostLiatom.h
@@ -0,0 +1,31 @@
1+//************************************************************************//
2+// Copyright (C) 2011-2012 Mikiya Fujii //
3+// //
4+// This file is part of MolDS. //
5+// //
6+// MolDS is free software: you can redistribute it and/or modify //
7+// it under the terms of the GNU General Public License as published by //
8+// the Free Software Foundation, either version 3 of the License, or //
9+// (at your option) any later version. //
10+// //
11+// MolDS is distributed in the hope that it will be useful, //
12+// but WITHOUT ANY WARRANTY; without even the implied warranty of //
13+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
14+// GNU General Public License for more details. //
15+// //
16+// You should have received a copy of the GNU General Public License //
17+// along with MolDS. If not, see <http://www.gnu.org/licenses/>. //
18+//************************************************************************//
19+#ifndef INCLUDED_GHOSTLIATOM
20+#define INCLUDED_GHOSTLIATOM
21+namespace MolDS_base_atoms_ghost{
22+class GhostLiatom : public MolDS_base_atoms::Liatom, public Ghost {
23+public:
24+ GhostLiatom(int index);
25+protected:
26+ void virtual SetAtomicParameters();
27+private:
28+ GhostLiatom();
29+};
30+}
31+#endif
--- a/src/base/atoms/bq/BqNatom.cpp
+++ b/src/base/atoms/ghost/GhostNatom.cpp
@@ -35,18 +35,18 @@
3535 #include"../../RealSphericalHarmonicsIndex.h"
3636 #include"../Atom.h"
3737 #include"../Natom.h"
38-#include"Bq.h"
39-#include"BqNatom.h"
38+#include"Ghost.h"
39+#include"GhostNatom.h"
4040 using namespace std;
4141 using namespace MolDS_base;
4242 using namespace MolDS_base_atoms;
43-namespace MolDS_base_atoms_bq{
44-BqNatom::BqNatom(int index) : Natom(index),Bq(){
43+namespace MolDS_base_atoms_ghost{
44+GhostNatom::GhostNatom(int index) : Natom(index),Ghost(){
4545 }
4646
47-void BqNatom::SetAtomicParameters(){
47+void GhostNatom::SetAtomicParameters(){
4848 Natom::SetAtomicParameters();
49- Bq::SetAtomicParameters();
50- this->atomType = bqN;
49+ Ghost::SetAtomicParameters();
50+ this->atomType = ghostN;
5151 }
5252 }
--- a/src/base/atoms/bq/BqCatom.h
+++ b/src/base/atoms/ghost/GhostNatom.h
@@ -16,16 +16,16 @@
1616 // You should have received a copy of the GNU General Public License //
1717 // along with MolDS. If not, see <http://www.gnu.org/licenses/>. //
1818 //************************************************************************//
19-#ifndef INCLUDED_BQCATOM
20-#define INCLUDED_BQCATOM
21-namespace MolDS_base_atoms_bq{
22-class BqCatom : public MolDS_base_atoms::Catom, public Bq {
19+#ifndef INCLUDED_GHOSTNATOM
20+#define INCLUDED_GHOSTNATOM
21+namespace MolDS_base_atoms_ghost{
22+class GhostNatom : public MolDS_base_atoms::Natom, public Ghost {
2323 public:
24- BqCatom(int index);
24+ GhostNatom(int index);
2525 protected:
2626 void virtual SetAtomicParameters();
2727 private:
28- BqCatom();
28+ GhostNatom();
2929 };
3030 }
3131 #endif
--- a/src/base/atoms/bq/BqOatom.cpp
+++ b/src/base/atoms/ghost/GhostOatom.cpp
@@ -35,18 +35,18 @@
3535 #include"../../RealSphericalHarmonicsIndex.h"
3636 #include"../Atom.h"
3737 #include"../Oatom.h"
38-#include"Bq.h"
39-#include"BqOatom.h"
38+#include"Ghost.h"
39+#include"GhostOatom.h"
4040 using namespace std;
4141 using namespace MolDS_base;
4242 using namespace MolDS_base_atoms;
43-namespace MolDS_base_atoms_bq{
44-BqOatom::BqOatom(int index) : Oatom(index),Bq(){
43+namespace MolDS_base_atoms_ghost{
44+GhostOatom::GhostOatom(int index) : Oatom(index),Ghost(){
4545 }
4646
47-void BqOatom::SetAtomicParameters(){
47+void GhostOatom::SetAtomicParameters(){
4848 Oatom::SetAtomicParameters();
49- Bq::SetAtomicParameters();
50- this->atomType = bqO;
49+ Ghost::SetAtomicParameters();
50+ this->atomType = ghostO;
5151 }
5252 }
--- /dev/null
+++ b/src/base/atoms/ghost/GhostOatom.h
@@ -0,0 +1,31 @@
1+//************************************************************************//
2+// Copyright (C) 2011-2012 Mikiya Fujii //
3+// //
4+// This file is part of MolDS. //
5+// //
6+// MolDS is free software: you can redistribute it and/or modify //
7+// it under the terms of the GNU General Public License as published by //
8+// the Free Software Foundation, either version 3 of the License, or //
9+// (at your option) any later version. //
10+// //
11+// MolDS is distributed in the hope that it will be useful, //
12+// but WITHOUT ANY WARRANTY; without even the implied warranty of //
13+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
14+// GNU General Public License for more details. //
15+// //
16+// You should have received a copy of the GNU General Public License //
17+// along with MolDS. If not, see <http://www.gnu.org/licenses/>. //
18+//************************************************************************//
19+#ifndef INCLUDED_GHOSTOATOM
20+#define INCLUDED_GHOSTOATOM
21+namespace MolDS_base_atoms_ghost{
22+class GhostOatom : public MolDS_base_atoms::Oatom, public Ghost {
23+public:
24+ GhostOatom(int index);
25+protected:
26+ void virtual SetAtomicParameters();
27+private:
28+ GhostOatom();
29+};
30+}
31+#endif
--- a/src/base/atoms/bq/BqSatom.cpp
+++ b/src/base/atoms/ghost/GhostSatom.cpp
@@ -35,18 +35,18 @@
3535 #include"../../RealSphericalHarmonicsIndex.h"
3636 #include"../Atom.h"
3737 #include"../Satom.h"
38-#include"Bq.h"
39-#include"BqSatom.h"
38+#include"Ghost.h"
39+#include"GhostSatom.h"
4040 using namespace std;
4141 using namespace MolDS_base;
4242 using namespace MolDS_base_atoms;
43-namespace MolDS_base_atoms_bq{
44-BqSatom::BqSatom(int index) : Satom(index),Bq(){
43+namespace MolDS_base_atoms_ghost{
44+GhostSatom::GhostSatom(int index) : Satom(index),Ghost(){
4545 }
4646
47-void BqSatom::SetAtomicParameters(){
47+void GhostSatom::SetAtomicParameters(){
4848 Satom::SetAtomicParameters();
49- Bq::SetAtomicParameters();
50- this->atomType = bqS;
49+ Ghost::SetAtomicParameters();
50+ this->atomType = ghostS;
5151 }
5252 }
--- /dev/null
+++ b/src/base/atoms/ghost/GhostSatom.h
@@ -0,0 +1,31 @@
1+//************************************************************************//
2+// Copyright (C) 2011-2012 Mikiya Fujii //
3+// //
4+// This file is part of MolDS. //
5+// //
6+// MolDS is free software: you can redistribute it and/or modify //
7+// it under the terms of the GNU General Public License as published by //
8+// the Free Software Foundation, either version 3 of the License, or //
9+// (at your option) any later version. //
10+// //
11+// MolDS is distributed in the hope that it will be useful, //
12+// but WITHOUT ANY WARRANTY; without even the implied warranty of //
13+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
14+// GNU General Public License for more details. //
15+// //
16+// You should have received a copy of the GNU General Public License //
17+// along with MolDS. If not, see <http://www.gnu.org/licenses/>. //
18+//************************************************************************//
19+#ifndef INCLUDED_GHOSTSATOM
20+#define INCLUDED_GHOSTSATOM
21+namespace MolDS_base_atoms_ghost{
22+class GhostSatom : public MolDS_base_atoms::Satom, public Ghost {
23+public:
24+ GhostSatom(int index);
25+protected:
26+ void virtual SetAtomicParameters();
27+private:
28+ GhostSatom();
29+};
30+}
31+#endif
--- a/src/base/factories/AtomFactory.cpp
+++ b/src/base/factories/AtomFactory.cpp
@@ -38,19 +38,19 @@
3838 #include"../atoms/Natom.h"
3939 #include"../atoms/Oatom.h"
4040 #include"../atoms/Satom.h"
41-#include"../atoms/bq/Bq.h"
42-#include"../atoms/bq/BqHatom.h"
43-#include"../atoms/bq/BqLiatom.h"
44-#include"../atoms/bq/BqCatom.h"
45-#include"../atoms/bq/BqNatom.h"
46-#include"../atoms/bq/BqOatom.h"
47-#include"../atoms/bq/BqSatom.h"
41+#include"../atoms/ghost/Ghost.h"
42+#include"../atoms/ghost/GhostHatom.h"
43+#include"../atoms/ghost/GhostLiatom.h"
44+#include"../atoms/ghost/GhostCatom.h"
45+#include"../atoms/ghost/GhostNatom.h"
46+#include"../atoms/ghost/GhostOatom.h"
47+#include"../atoms/ghost/GhostSatom.h"
4848 #include"../atoms/mm/EnvironmentalPointCharge.h"
4949 #include"AtomFactory.h"
5050 using namespace std;
5151 using namespace MolDS_base;
5252 using namespace MolDS_base_atoms;
53-using namespace MolDS_base_atoms_bq;
53+using namespace MolDS_base_atoms_ghost;
5454 using namespace MolDS_base_atoms_mm;
5555 namespace MolDS_base_factories{
5656
@@ -78,23 +78,23 @@ Atom* AtomFactory::Create(AtomType atomType, int index, double x, double y, doub
7878 else if(atomType == S){
7979 atom = new Satom(index);
8080 }
81- else if(atomType == bqH){
82- atom = new BqHatom(index);
81+ else if(atomType == ghostH){
82+ atom = new GhostHatom(index);
8383 }
84- else if(atomType == bqLi){
85- atom = new BqLiatom(index);
84+ else if(atomType == ghostLi){
85+ atom = new GhostLiatom(index);
8686 }
87- else if(atomType == bqC){
88- atom = new BqCatom(index);
87+ else if(atomType == ghostC){
88+ atom = new GhostCatom(index);
8989 }
90- else if(atomType == bqN){
91- atom = new BqNatom(index);
90+ else if(atomType == ghostN){
91+ atom = new GhostNatom(index);
9292 }
93- else if(atomType == bqO){
94- atom = new BqOatom(index);
93+ else if(atomType == ghostO){
94+ atom = new GhostOatom(index);
9595 }
96- else if(atomType == bqS){
97- atom = new BqSatom(index);
96+ else if(atomType == ghostS){
97+ atom = new GhostSatom(index);
9898 }
9999 else{
100100 stringstream ss;