Révision | 9b831ac5c4801a84cf241b3696443b774f6c442a (tree) |
---|---|
l'heure | 2014-01-04 19:14:15 |
Auteur | Mikiya Fujii <mikiya.fujii@gmai...> |
Commiter | Mikiya Fujii |
Bq is renamed to Ghost. #32750
git-svn-id: https://svn.sourceforge.jp/svnroot/molds/trunk@1611 1136aad2-a195-0410-b898-f5ea1d11b9d8
@@ -38,9 +38,9 @@ DEPFILE = obj/objfile.dep | ||
38 | 38 | LDFLAGS = -Wl,-rpath=$(BOOST_LIB_DIR) |
39 | 39 | THIS_MAKEFILE := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)) |
40 | 40 | |
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 | |
44 | 44 | |
45 | 45 | $(EXENAME): $(DEPFILE) $(ALL_OBJ_FILES) |
46 | 46 | $(CC) -o $@ $(LDFLAGS) -L$(BOOST_LIB_DIR) $(ALL_OBJ_FILES) $(LIBS) |
@@ -35,9 +35,9 @@ DEPFILE = obj/objfile.dep | ||
35 | 35 | LDFLAGS = -Wl,-rpath=$(BOOST_LIB_DIR) -Wl,-rpath=$(OPENBLAS_LIB_DIR) |
36 | 36 | THIS_MAKEFILE := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)) |
37 | 37 | |
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 | |
41 | 41 | |
42 | 42 | $(EXENAME): $(DEPFILE) $(ALL_OBJ_FILES) |
43 | 43 | $(CC) -o $@ $(LDFLAGS) $(ALL_OBJ_FILES) -L$(BOOST_LIB_DIR) -L$(OPENBLAS_LIB_DIR) $(LIBS) |
@@ -125,24 +125,24 @@ RENUMSTR_BEGIN( AtomType, AtomTypeStr ) | ||
125 | 125 | RENUMSTR( S, "S" ) |
126 | 126 | RENUMSTR( Cl, "Cl" ) |
127 | 127 | 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" ) | |
146 | 146 | RENUMSTR( EPC, "Environmental Point Charge" ) |
147 | 147 | RENUMSTR( AtomType_end, "AtomType_end" ) |
148 | 148 | RENUMSTR_END() |
@@ -40,12 +40,6 @@ | ||
40 | 40 | #include"Parameters.h" |
41 | 41 | #include"RealSphericalHarmonicsIndex.h" |
42 | 42 | #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" | |
49 | 43 | #include"factories/AtomFactory.h" |
50 | 44 | #include"Molecule.h" |
51 | 45 | #include"InputParser.h" |
@@ -250,7 +244,7 @@ void InputParser::SetMessages(){ | ||
250 | 244 | this->stringGeometry = "geometry"; |
251 | 245 | this->stringGeometryEnd = "geometry_end"; |
252 | 246 | |
253 | - // Ghost (bq) atoms | |
247 | + // Ghost (ghost) atoms | |
254 | 248 | this->stringGhost = "ghost"; |
255 | 249 | this->stringGhostEnd = "ghost_end"; |
256 | 250 |
@@ -491,7 +485,7 @@ int InputParser::ParseMolecularConfiguration(Molecule* molecule, vector<string>* | ||
491 | 485 | else if((*inputTerms)[parseIndex] == "s"){ |
492 | 486 | atomType = S; |
493 | 487 | } |
494 | - int index = molecule->GetRealAtomVect().size() + molecule->GetBqAtomVect().size(); | |
488 | + int index = molecule->GetRealAtomVect().size() + molecule->GetGhostAtomVect().size(); | |
495 | 489 | Atom* atom = AtomFactory::Create(atomType, index, x, y, z); |
496 | 490 | molecule->AddRealAtom(atom); |
497 | 491 | parseIndex += 4; |
@@ -507,26 +501,26 @@ int InputParser::ParseGhostsConfiguration(Molecule* molecule, vector<string>* in | ||
507 | 501 | double z = atof((*inputTerms)[parseIndex+3].c_str()) * Parameters::GetInstance()->GetAngstrom2AU(); |
508 | 502 | AtomType atomType = H; |
509 | 503 | if((*inputTerms)[parseIndex] == "h"){ |
510 | - atomType = bqH; | |
504 | + atomType = ghostH; | |
511 | 505 | } |
512 | 506 | else if((*inputTerms)[parseIndex] == "li"){ |
513 | - atomType = bqLi; | |
507 | + atomType = ghostLi; | |
514 | 508 | } |
515 | 509 | else if((*inputTerms)[parseIndex] == "c"){ |
516 | - atomType = bqC; | |
510 | + atomType = ghostC; | |
517 | 511 | } |
518 | 512 | else if((*inputTerms)[parseIndex] == "n"){ |
519 | - atomType = bqN; | |
513 | + atomType = ghostN; | |
520 | 514 | } |
521 | 515 | else if((*inputTerms)[parseIndex] == "o"){ |
522 | - atomType = bqO; | |
516 | + atomType = ghostO; | |
523 | 517 | } |
524 | 518 | else if((*inputTerms)[parseIndex] == "s"){ |
525 | - atomType = bqS; | |
519 | + atomType = ghostS; | |
526 | 520 | } |
527 | - int index = molecule->GetRealAtomVect().size() + molecule->GetBqAtomVect().size(); | |
521 | + int index = molecule->GetRealAtomVect().size() + molecule->GetGhostAtomVect().size(); | |
528 | 522 | Atom* atom = AtomFactory::Create(atomType, index, x, y, z); |
529 | - molecule->AddBqAtom(atom); | |
523 | + molecule->AddGhostAtom(atom); | |
530 | 524 | parseIndex += 4; |
531 | 525 | } |
532 | 526 | return parseIndex; |
@@ -1233,7 +1227,7 @@ void InputParser::Parse(Molecule* molecule, int argc, char *argv[]) const{ | ||
1233 | 1227 | i = this->ParseMolecularConfiguration(molecule, &inputTerms, i); |
1234 | 1228 | } |
1235 | 1229 | |
1236 | - // ghost atom (bq) configuration | |
1230 | + // ghost atom configuration | |
1237 | 1231 | if(inputTerms[i].compare(this->stringGhost) == 0){ |
1238 | 1232 | i = this->ParseGhostsConfiguration(molecule, &inputTerms, i); |
1239 | 1233 | } |
@@ -63,12 +63,12 @@ Molecule& Molecule::operator=(const Molecule& rhs){ | ||
63 | 63 | double** oldDistanceAtomsEpcs = this->distanceAtomsEpcs; |
64 | 64 | vector<Atom*>* oldAtomVect = this->atomVect; |
65 | 65 | vector<Atom*>* oldRealAtomVect = this->realAtomVect; |
66 | - vector<Atom*>* oldBqAtomVect = this->bqAtomVect; | |
66 | + vector<Atom*>* oldGhostAtomVect= this->ghostAtomVect; | |
67 | 67 | vector<Atom*>* oldEpcVect = this->epcVect; |
68 | 68 | this->CopyInitialize(rhs); |
69 | 69 | this->Finalize(&oldAtomVect, |
70 | 70 | &oldRealAtomVect, |
71 | - &oldBqAtomVect, | |
71 | + &oldGhostAtomVect, | |
72 | 72 | &oldEpcVect, |
73 | 73 | &oldXyzCOM, |
74 | 74 | &oldXyzCOC, |
@@ -81,7 +81,7 @@ Molecule& Molecule::operator=(const Molecule& rhs){ | ||
81 | 81 | Molecule::~Molecule(){ |
82 | 82 | this->Finalize(&this->atomVect, |
83 | 83 | &this->realAtomVect, |
84 | - &this->bqAtomVect, | |
84 | + &this->ghostAtomVect, | |
85 | 85 | &this->epcVect, |
86 | 86 | &this->xyzCOM, |
87 | 87 | &this->xyzCOC, |
@@ -115,11 +115,11 @@ void Molecule::CopyInitialize(const Molecule& rhs){ | ||
115 | 115 | (*this->realAtomVect)[i]->SetFirstAOIndex(atom->GetFirstAOIndex()); |
116 | 116 | } |
117 | 117 | } |
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(), | |
123 | 123 | atom->GetIndex(), |
124 | 124 | atom->GetXyz()[XAxis], |
125 | 125 | atom->GetXyz()[YAxis], |
@@ -131,7 +131,7 @@ void Molecule::CopyInitialize(const Molecule& rhs){ | ||
131 | 131 | } |
132 | 132 | } |
133 | 133 | if(rhs.atomVect != NULL){ |
134 | - this->CopyRealBqAtom2Atom(); | |
134 | + this->CopyRealGhostAtom2Atom(); | |
135 | 135 | int atomNum = this->atomVect->size(); |
136 | 136 | MallocerFreer::GetInstance()->Malloc<double>(&this->distanceAtoms, atomNum, atomNum); |
137 | 137 | for(int i=0; i<atomNum; i++){ |
@@ -184,12 +184,12 @@ void Molecule::Initialize(){ | ||
184 | 184 | this->distanceAtomsEpcs = NULL; |
185 | 185 | this->atomVect = NULL; |
186 | 186 | this->realAtomVect = NULL; |
187 | - this->bqAtomVect = NULL; | |
187 | + this->ghostAtomVect = NULL; | |
188 | 188 | this->epcVect = NULL; |
189 | 189 | try{ |
190 | 190 | this->atomVect = new vector<Atom*>; |
191 | 191 | this->realAtomVect = new vector<Atom*>; |
192 | - this->bqAtomVect = new vector<Atom*>; | |
192 | + this->ghostAtomVect= new vector<Atom*>; | |
193 | 193 | this->epcVect = new vector<Atom*>; |
194 | 194 | MallocerFreer::GetInstance()->Malloc<double>(&this->xyzCOM, CartesianType_end); |
195 | 195 | MallocerFreer::GetInstance()->Malloc<double>(&this->xyzCOC, CartesianType_end); |
@@ -197,7 +197,7 @@ void Molecule::Initialize(){ | ||
197 | 197 | catch(exception ex){ |
198 | 198 | this->Finalize(&this->atomVect, |
199 | 199 | &this->realAtomVect, |
200 | - &this->bqAtomVect, | |
200 | + &this->ghostAtomVect, | |
201 | 201 | &this->epcVect, |
202 | 202 | &this->xyzCOM, |
203 | 203 | &this->xyzCOC, |
@@ -210,7 +210,7 @@ void Molecule::Initialize(){ | ||
210 | 210 | |
211 | 211 | void Molecule::Finalize(vector<Atom*>** atomVect, |
212 | 212 | vector<Atom*>** realAtomVect, |
213 | - vector<Atom*>** bqAtomVect, | |
213 | + vector<Atom*>** ghostAtomVect, | |
214 | 214 | vector<Atom*>** epcVect, |
215 | 215 | double** xyzCOM, |
216 | 216 | double** xyzCOC, |
@@ -246,18 +246,18 @@ void Molecule::Finalize(vector<Atom*>** atomVect, | ||
246 | 246 | *realAtomVect = NULL; |
247 | 247 | //this->OutputLog("realAtomVect deleted\n"); |
248 | 248 | } |
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; | |
255 | 255 | } |
256 | 256 | } |
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"); | |
261 | 261 | } |
262 | 262 | if(*epcVect != NULL){ |
263 | 263 | epcNum = (*epcVect)->size(); |
@@ -278,13 +278,13 @@ void Molecule::Finalize(vector<Atom*>** atomVect, | ||
278 | 278 | void Molecule::SetMessages(){ |
279 | 279 | this->errorMessageGetAtomVectNull = "Error in base::Molecule::GetAtomVect: atomVect is NULL.\n"; |
280 | 280 | 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"; | |
282 | 282 | this->errorMessageGetEPCVectNull = "Error in base::Molecule::GetEpcVect: epcVect is NULL.\n"; |
283 | 283 | this->errorMessageAddAtomNull = "Error in base::Molecule::AddAtom: atomVect is NULL.\n"; |
284 | 284 | 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"; | |
286 | 286 | 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"; | |
288 | 288 | this->errorMessageGetXyzCOMNull = "Error in base::Molecule::GetXyzCOM: xyzCOM is NULL.\n"; |
289 | 289 | this->errorMessageGetXyzCOCNull = "Error in base::Molecule::GetXyzCOC: xyzCOC is NULL.\n"; |
290 | 290 | this->errorMessageCalcXyzCOMNull = "Error in base::Molecule::CalcXyzCOM: xyzCOM is NULL.\n"; |
@@ -339,11 +339,11 @@ void Molecule::AddRealAtom(Atom* atom){ | ||
339 | 339 | this->realAtomVect->push_back(atom); |
340 | 340 | } |
341 | 341 | |
342 | -void Molecule::AddBqAtom(Atom* atom){ | |
342 | +void Molecule::AddGhostAtom(Atom* atom){ | |
343 | 343 | #ifdef MOLDS_DBG |
344 | - if(this->bqAtomVect==NULL) throw MolDSException(this->errorMessageAddBqAtomNull); | |
344 | + if(this->ghostAtomVect==NULL) throw MolDSException(this->errorMessageAddGhostAtomNull); | |
345 | 345 | #endif |
346 | - this->bqAtomVect->push_back(atom); | |
346 | + this->ghostAtomVect->push_back(atom); | |
347 | 347 | } |
348 | 348 | |
349 | 349 | void Molecule::AddEpc(Atom* epc){ |
@@ -475,7 +475,7 @@ void Molecule::CalcDistanceAtomsEpcs(){ | ||
475 | 475 | } |
476 | 476 | |
477 | 477 | void Molecule::CalcBasics(){ |
478 | - this->CopyRealBqAtom2Atom(); | |
478 | + this->CopyRealGhostAtom2Atom(); | |
479 | 479 | this->CalcTotalNumberAOs(); |
480 | 480 | this->CalcTotalNumberValenceElectrons(); |
481 | 481 | this->CalcTotalCoreMass(); |
@@ -490,23 +490,23 @@ void Molecule::CalcBasicsConfiguration(){ | ||
490 | 490 | this->CalcDistanceAtomsEpcs(); |
491 | 491 | } |
492 | 492 | |
493 | -void Molecule::CopyRealBqAtom2Atom(){ | |
493 | +void Molecule::CopyRealGhostAtom2Atom(){ | |
494 | 494 | if(!this->atomVect->empty()){ |
495 | - throw MolDSException(this->errorMessageCopyRealBqAtom2AtomNotEmpty); | |
495 | + throw MolDSException(this->errorMessageCopyRealGhostAtom2AtomNotEmpty); | |
496 | 496 | } |
497 | 497 | int realAtomNum = this->realAtomVect->size(); |
498 | - int bqAtomNum = this->bqAtomVect->size(); | |
498 | + int ghostAtomNum = this->ghostAtomVect->size(); | |
499 | 499 | for(int i=0; i<realAtomNum; i++){ |
500 | 500 | Atom* atom = (*this->realAtomVect)[i]; |
501 | 501 | this->atomVect->push_back(atom); |
502 | 502 | } |
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]; | |
505 | 505 | this->atomVect->push_back(atom); |
506 | 506 | } |
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()); | |
510 | 510 | } |
511 | 511 | |
512 | 512 | void Molecule::CalcTotalNumberAOs(){ |
@@ -38,11 +38,11 @@ public: | ||
38 | 38 | #endif |
39 | 39 | return *this->realAtomVect; |
40 | 40 | } |
41 | - inline const std::vector<MolDS_base_atoms::Atom*>& GetBqAtomVect() const{ | |
41 | + inline const std::vector<MolDS_base_atoms::Atom*>& GetGhostAtomVect() const{ | |
42 | 42 | #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); | |
44 | 44 | #endif |
45 | - return *this->bqAtomVect; | |
45 | + return *this->ghostAtomVect; | |
46 | 46 | } |
47 | 47 | inline const std::vector<MolDS_base_atoms::Atom*>& GetEpcVect() const{ |
48 | 48 | #ifdef MOLDS_DBG |
@@ -52,7 +52,7 @@ public: | ||
52 | 52 | } |
53 | 53 | void AddAtom(MolDS_base_atoms::Atom* atom); |
54 | 54 | void AddRealAtom(MolDS_base_atoms::Atom* atom); |
55 | - void AddBqAtom(MolDS_base_atoms::Atom* atom); | |
55 | + void AddGhostAtom(MolDS_base_atoms::Atom* atom); | |
56 | 56 | void AddEpc(MolDS_base_atoms::Atom* epc); |
57 | 57 | double const* GetXyzCOM() const; |
58 | 58 | double const* GetXyzCOC() const; |
@@ -88,7 +88,7 @@ public: | ||
88 | 88 | private: |
89 | 89 | std::vector<MolDS_base_atoms::Atom*>* atomVect; |
90 | 90 | 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 | |
92 | 92 | std::vector<MolDS_base_atoms::Atom*>* epcVect; // Vector of Environmental Point Charges |
93 | 93 | double* xyzCOM; // x, y, z coordinates of Center of Mass; |
94 | 94 | double* xyzCOC; // x, y, z coordinates of Center of Core; |
@@ -102,7 +102,7 @@ private: | ||
102 | 102 | void CopyInitialize(const Molecule& rhs); |
103 | 103 | void Finalize(std::vector<MolDS_base_atoms::Atom*>** atomVect, |
104 | 104 | std::vector<MolDS_base_atoms::Atom*>** realAtomVect, |
105 | - std::vector<MolDS_base_atoms::Atom*>** bqAtomVect, | |
105 | + std::vector<MolDS_base_atoms::Atom*>** ghostAtomVect, | |
106 | 106 | std::vector<MolDS_base_atoms::Atom*>** epcVect, |
107 | 107 | double** xyzCOM, |
108 | 108 | double** xyzCOC, |
@@ -110,7 +110,7 @@ private: | ||
110 | 110 | double*** distanceEpcs, |
111 | 111 | double*** distanceAtomsEpcs); |
112 | 112 | void SetMessages(); |
113 | - void CopyRealBqAtom2Atom(); | |
113 | + void CopyRealGhostAtom2Atom(); | |
114 | 114 | void CalcTotalNumberAOs(); |
115 | 115 | void CalcTotalNumberValenceElectrons(); |
116 | 116 | void CalcTotalCoreMass(); |
@@ -137,13 +137,13 @@ private: | ||
137 | 137 | void OutputTranslatingConditions(double const* translatingDifference) const; |
138 | 138 | std::string errorMessageGetAtomVectNull; |
139 | 139 | std::string errorMessageGetRealAtomVectNull; |
140 | - std::string errorMessageGetBqAtomVectNull; | |
140 | + std::string errorMessageGetGhostAtomVectNull; | |
141 | 141 | std::string errorMessageGetEPCVectNull; |
142 | 142 | std::string errorMessageAddAtomNull; |
143 | 143 | std::string errorMessageAddRealAtomNull; |
144 | - std::string errorMessageAddBqAtomNull; | |
144 | + std::string errorMessageAddGhostAtomNull; | |
145 | 145 | std::string errorMessageAddEPCNull; |
146 | - std::string errorMessageCopyRealBqAtom2AtomNotEmpty; | |
146 | + std::string errorMessageCopyRealGhostAtom2AtomNotEmpty; | |
147 | 147 | std::string errorMessageGetXyzCOMNull; |
148 | 148 | std::string errorMessageGetXyzCOCNull; |
149 | 149 | std::string errorMessageCalcXyzCOMNull; |
@@ -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 |
@@ -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 |
@@ -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 |
@@ -34,15 +34,15 @@ | ||
34 | 34 | #include"../../Parameters.h" |
35 | 35 | #include"../../RealSphericalHarmonicsIndex.h" |
36 | 36 | #include"../Atom.h" |
37 | -#include"Bq.h" | |
37 | +#include"Ghost.h" | |
38 | 38 | using namespace std; |
39 | 39 | using namespace MolDS_base; |
40 | 40 | 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(){ | |
43 | 43 | } |
44 | 44 | |
45 | -void Bq::SetAtomicParameters(){ | |
45 | +void Ghost::SetAtomicParameters(){ | |
46 | 46 | this->atomicMass = 0.0; |
47 | 47 | this->coreCharge = 0.0; |
48 | 48 | this->numberValenceElectrons = 0; |
@@ -16,12 +16,12 @@ | ||
16 | 16 | // You should have received a copy of the GNU General Public License // |
17 | 17 | // along with MolDS. If not, see <http://www.gnu.org/licenses/>. // |
18 | 18 | //************************************************************************// |
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 { | |
23 | 23 | public: |
24 | - Bq(); | |
24 | + Ghost(); | |
25 | 25 | protected: |
26 | 26 | void virtual SetAtomicParameters(); |
27 | 27 | private: |
@@ -35,18 +35,18 @@ | ||
35 | 35 | #include"../../RealSphericalHarmonicsIndex.h" |
36 | 36 | #include"../Atom.h" |
37 | 37 | #include"../Catom.h" |
38 | -#include"Bq.h" | |
39 | -#include"BqCatom.h" | |
38 | +#include"Ghost.h" | |
39 | +#include"GhostCatom.h" | |
40 | 40 | using namespace std; |
41 | 41 | using namespace MolDS_base; |
42 | 42 | 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(){ | |
45 | 45 | } |
46 | 46 | |
47 | -void BqCatom::SetAtomicParameters(){ | |
47 | +void GhostCatom::SetAtomicParameters(){ | |
48 | 48 | Catom::SetAtomicParameters(); |
49 | - Bq::SetAtomicParameters(); | |
50 | - this->atomType = bqC; | |
49 | + Ghost::SetAtomicParameters(); | |
50 | + this->atomType = ghostC; | |
51 | 51 | } |
52 | 52 | } |
@@ -16,16 +16,16 @@ | ||
16 | 16 | // You should have received a copy of the GNU General Public License // |
17 | 17 | // along with MolDS. If not, see <http://www.gnu.org/licenses/>. // |
18 | 18 | //************************************************************************// |
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 { | |
23 | 23 | public: |
24 | - BqHatom(int index); | |
24 | + GhostCatom(int index); | |
25 | 25 | protected: |
26 | 26 | void virtual SetAtomicParameters(); |
27 | 27 | private: |
28 | - BqHatom(); | |
28 | + GhostCatom(); | |
29 | 29 | }; |
30 | 30 | } |
31 | 31 | #endif |
@@ -35,18 +35,18 @@ | ||
35 | 35 | #include"../../RealSphericalHarmonicsIndex.h" |
36 | 36 | #include"../Atom.h" |
37 | 37 | #include"../Hatom.h" |
38 | -#include"Bq.h" | |
39 | -#include"BqHatom.h" | |
38 | +#include"Ghost.h" | |
39 | +#include"GhostHatom.h" | |
40 | 40 | using namespace std; |
41 | 41 | using namespace MolDS_base; |
42 | 42 | 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(){ | |
45 | 45 | } |
46 | 46 | |
47 | -void BqHatom::SetAtomicParameters(){ | |
47 | +void GhostHatom::SetAtomicParameters(){ | |
48 | 48 | Hatom::SetAtomicParameters(); |
49 | - Bq::SetAtomicParameters(); | |
50 | - this->atomType = bqH; | |
49 | + Ghost::SetAtomicParameters(); | |
50 | + this->atomType = ghostH; | |
51 | 51 | } |
52 | 52 | } |
@@ -16,16 +16,16 @@ | ||
16 | 16 | // You should have received a copy of the GNU General Public License // |
17 | 17 | // along with MolDS. If not, see <http://www.gnu.org/licenses/>. // |
18 | 18 | //************************************************************************// |
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 { | |
23 | 23 | public: |
24 | - BqLiatom(int index); | |
24 | + GhostHatom(int index); | |
25 | 25 | protected: |
26 | 26 | void virtual SetAtomicParameters(); |
27 | 27 | private: |
28 | - BqLiatom(); | |
28 | + GhostHatom(); | |
29 | 29 | }; |
30 | 30 | } |
31 | 31 | #endif |
@@ -35,18 +35,18 @@ | ||
35 | 35 | #include"../../RealSphericalHarmonicsIndex.h" |
36 | 36 | #include"../Atom.h" |
37 | 37 | #include"../Liatom.h" |
38 | -#include"Bq.h" | |
39 | -#include"BqLiatom.h" | |
38 | +#include"Ghost.h" | |
39 | +#include"GhostLiatom.h" | |
40 | 40 | using namespace std; |
41 | 41 | using namespace MolDS_base; |
42 | 42 | 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(){ | |
45 | 45 | } |
46 | 46 | |
47 | -void BqLiatom::SetAtomicParameters(){ | |
47 | +void GhostLiatom::SetAtomicParameters(){ | |
48 | 48 | Liatom::SetAtomicParameters(); |
49 | - Bq::SetAtomicParameters(); | |
50 | - this->atomType = bqLi; | |
49 | + Ghost::SetAtomicParameters(); | |
50 | + this->atomType = ghostLi; | |
51 | 51 | } |
52 | 52 | } |
@@ -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 |
@@ -35,18 +35,18 @@ | ||
35 | 35 | #include"../../RealSphericalHarmonicsIndex.h" |
36 | 36 | #include"../Atom.h" |
37 | 37 | #include"../Natom.h" |
38 | -#include"Bq.h" | |
39 | -#include"BqNatom.h" | |
38 | +#include"Ghost.h" | |
39 | +#include"GhostNatom.h" | |
40 | 40 | using namespace std; |
41 | 41 | using namespace MolDS_base; |
42 | 42 | 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(){ | |
45 | 45 | } |
46 | 46 | |
47 | -void BqNatom::SetAtomicParameters(){ | |
47 | +void GhostNatom::SetAtomicParameters(){ | |
48 | 48 | Natom::SetAtomicParameters(); |
49 | - Bq::SetAtomicParameters(); | |
50 | - this->atomType = bqN; | |
49 | + Ghost::SetAtomicParameters(); | |
50 | + this->atomType = ghostN; | |
51 | 51 | } |
52 | 52 | } |
@@ -16,16 +16,16 @@ | ||
16 | 16 | // You should have received a copy of the GNU General Public License // |
17 | 17 | // along with MolDS. If not, see <http://www.gnu.org/licenses/>. // |
18 | 18 | //************************************************************************// |
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 { | |
23 | 23 | public: |
24 | - BqCatom(int index); | |
24 | + GhostNatom(int index); | |
25 | 25 | protected: |
26 | 26 | void virtual SetAtomicParameters(); |
27 | 27 | private: |
28 | - BqCatom(); | |
28 | + GhostNatom(); | |
29 | 29 | }; |
30 | 30 | } |
31 | 31 | #endif |
@@ -35,18 +35,18 @@ | ||
35 | 35 | #include"../../RealSphericalHarmonicsIndex.h" |
36 | 36 | #include"../Atom.h" |
37 | 37 | #include"../Oatom.h" |
38 | -#include"Bq.h" | |
39 | -#include"BqOatom.h" | |
38 | +#include"Ghost.h" | |
39 | +#include"GhostOatom.h" | |
40 | 40 | using namespace std; |
41 | 41 | using namespace MolDS_base; |
42 | 42 | 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(){ | |
45 | 45 | } |
46 | 46 | |
47 | -void BqOatom::SetAtomicParameters(){ | |
47 | +void GhostOatom::SetAtomicParameters(){ | |
48 | 48 | Oatom::SetAtomicParameters(); |
49 | - Bq::SetAtomicParameters(); | |
50 | - this->atomType = bqO; | |
49 | + Ghost::SetAtomicParameters(); | |
50 | + this->atomType = ghostO; | |
51 | 51 | } |
52 | 52 | } |
@@ -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 |
@@ -35,18 +35,18 @@ | ||
35 | 35 | #include"../../RealSphericalHarmonicsIndex.h" |
36 | 36 | #include"../Atom.h" |
37 | 37 | #include"../Satom.h" |
38 | -#include"Bq.h" | |
39 | -#include"BqSatom.h" | |
38 | +#include"Ghost.h" | |
39 | +#include"GhostSatom.h" | |
40 | 40 | using namespace std; |
41 | 41 | using namespace MolDS_base; |
42 | 42 | 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(){ | |
45 | 45 | } |
46 | 46 | |
47 | -void BqSatom::SetAtomicParameters(){ | |
47 | +void GhostSatom::SetAtomicParameters(){ | |
48 | 48 | Satom::SetAtomicParameters(); |
49 | - Bq::SetAtomicParameters(); | |
50 | - this->atomType = bqS; | |
49 | + Ghost::SetAtomicParameters(); | |
50 | + this->atomType = ghostS; | |
51 | 51 | } |
52 | 52 | } |
@@ -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 |
@@ -38,19 +38,19 @@ | ||
38 | 38 | #include"../atoms/Natom.h" |
39 | 39 | #include"../atoms/Oatom.h" |
40 | 40 | #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" | |
48 | 48 | #include"../atoms/mm/EnvironmentalPointCharge.h" |
49 | 49 | #include"AtomFactory.h" |
50 | 50 | using namespace std; |
51 | 51 | using namespace MolDS_base; |
52 | 52 | using namespace MolDS_base_atoms; |
53 | -using namespace MolDS_base_atoms_bq; | |
53 | +using namespace MolDS_base_atoms_ghost; | |
54 | 54 | using namespace MolDS_base_atoms_mm; |
55 | 55 | namespace MolDS_base_factories{ |
56 | 56 |
@@ -78,23 +78,23 @@ Atom* AtomFactory::Create(AtomType atomType, int index, double x, double y, doub | ||
78 | 78 | else if(atomType == S){ |
79 | 79 | atom = new Satom(index); |
80 | 80 | } |
81 | - else if(atomType == bqH){ | |
82 | - atom = new BqHatom(index); | |
81 | + else if(atomType == ghostH){ | |
82 | + atom = new GhostHatom(index); | |
83 | 83 | } |
84 | - else if(atomType == bqLi){ | |
85 | - atom = new BqLiatom(index); | |
84 | + else if(atomType == ghostLi){ | |
85 | + atom = new GhostLiatom(index); | |
86 | 86 | } |
87 | - else if(atomType == bqC){ | |
88 | - atom = new BqCatom(index); | |
87 | + else if(atomType == ghostC){ | |
88 | + atom = new GhostCatom(index); | |
89 | 89 | } |
90 | - else if(atomType == bqN){ | |
91 | - atom = new BqNatom(index); | |
90 | + else if(atomType == ghostN){ | |
91 | + atom = new GhostNatom(index); | |
92 | 92 | } |
93 | - else if(atomType == bqO){ | |
94 | - atom = new BqOatom(index); | |
93 | + else if(atomType == ghostO){ | |
94 | + atom = new GhostOatom(index); | |
95 | 95 | } |
96 | - else if(atomType == bqS){ | |
97 | - atom = new BqSatom(index); | |
96 | + else if(atomType == ghostS){ | |
97 | + atom = new GhostSatom(index); | |
98 | 98 | } |
99 | 99 | else{ |
100 | 100 | stringstream ss; |