Revision | 5639d87fc104ba65cc5995878a336b112f13fac5 (tree) |
---|---|
Time | 2013-12-31 19:28:19 |
Author | mikiya_fujii <mikiya_fujii@1136...> |
Commiter | mikiya_fujii |
Ghost atom classes are added. #32750
git-svn-id: https://svn.sourceforge.jp/svnroot/molds/trunk@1606 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/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/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/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/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 | |
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/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/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/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/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 | |
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) |
@@ -107,24 +107,42 @@ RENUMSTR_BEGIN( OrbitalType, OrbitalTypeStr ) | ||
107 | 107 | RENUMSTR_END() |
108 | 108 | |
109 | 109 | RENUMSTR_BEGIN( AtomType, AtomTypeStr ) |
110 | - RENUMSTR( H, "H" ) | |
111 | - RENUMSTR( He, "He" ) | |
112 | - RENUMSTR( Li, "Li" ) | |
113 | - RENUMSTR( Be, "Be" ) | |
114 | - RENUMSTR( B, "B" ) | |
115 | - RENUMSTR( C, "C" ) | |
116 | - RENUMSTR( N, "N" ) | |
117 | - RENUMSTR( O, "O" ) | |
118 | - RENUMSTR( F, "F" ) | |
119 | - RENUMSTR( Ne, "Ne" ) | |
120 | - RENUMSTR( Na, "Na" ) | |
121 | - RENUMSTR( Mg, "Mg" ) | |
122 | - RENUMSTR( Al, "Al" ) | |
123 | - RENUMSTR( Si, "Si" ) | |
124 | - RENUMSTR( P, "P" ) | |
125 | - RENUMSTR( S, "S" ) | |
126 | - RENUMSTR( Cl, "Cl" ) | |
127 | - RENUMSTR( Ar, "Ar" ) | |
110 | + RENUMSTR( H, "H" ) | |
111 | + RENUMSTR( He, "He" ) | |
112 | + RENUMSTR( Li, "Li" ) | |
113 | + RENUMSTR( Be, "Be" ) | |
114 | + RENUMSTR( B, "B" ) | |
115 | + RENUMSTR( C, "C" ) | |
116 | + RENUMSTR( N, "N" ) | |
117 | + RENUMSTR( O, "O" ) | |
118 | + RENUMSTR( F, "F" ) | |
119 | + RENUMSTR( Ne, "Ne" ) | |
120 | + RENUMSTR( Na, "Na" ) | |
121 | + RENUMSTR( Mg, "Mg" ) | |
122 | + RENUMSTR( Al, "Al" ) | |
123 | + RENUMSTR( Si, "Si" ) | |
124 | + RENUMSTR( P, "P" ) | |
125 | + RENUMSTR( S, "S" ) | |
126 | + RENUMSTR( Cl, "Cl" ) | |
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 | 146 | RENUMSTR( EPC, "Environmental Point Charge" ) |
129 | 147 | RENUMSTR( AtomType_end, "AtomType_end" ) |
130 | 148 | RENUMSTR_END() |
@@ -58,6 +58,8 @@ Atom::Atom(int index){ | ||
58 | 58 | this->index = index; |
59 | 59 | } |
60 | 60 | |
61 | +Atom::Atom(){} | |
62 | + | |
61 | 63 | Atom::~Atom(){ |
62 | 64 | MallocerFreer::GetInstance()->Free<double>(&this->xyz, CartesianType_end); |
63 | 65 | MallocerFreer::GetInstance()->Free<double>(&this->pxyz, CartesianType_end); |
@@ -107,6 +107,7 @@ public: | ||
107 | 107 | double GetPm3PddgParameterPa(int paIndex) const; |
108 | 108 | double GetPm3PddgParameterDa(int daIndex) const; |
109 | 109 | protected: |
110 | + Atom(); | |
110 | 111 | double* xyz; // coordinates |
111 | 112 | double* pxyz; // momentum. Note that this is not velocity!! |
112 | 113 | MolDS_base::AtomType atomType; |
@@ -228,8 +229,8 @@ protected: | ||
228 | 229 | double pm3DBondingParameterS; // Table II in ref. [MH_2007] for H, C, N, O, and Table IV in re. [MMHBV_2007] for S. |
229 | 230 | double pm3DBondingParameterP; // Table II in ref. [MH_2007] for H, C, N, O, and Table IV in re. [MMHBV_2007] for S. |
230 | 231 | double pm3DAlpha; // Table II in ref. [MH_2007] for H, C, N, O, and Table IV in re. [MMHBV_2007] for S. |
232 | + virtual void SetAtomicParameters() = 0; | |
231 | 233 | private: |
232 | - Atom(); | |
233 | 234 | std::string errorMessageIonPot; |
234 | 235 | std::string errorMessageAtomType; |
235 | 236 | std::string errorMessageNumberValences; |
@@ -306,7 +307,6 @@ private: | ||
306 | 307 | double GetPm3CoreIntegral(MolDS_base::OrbitalType orbital) const; |
307 | 308 | double GetPm3DCoreIntegral(MolDS_base::OrbitalType orbital) const; |
308 | 309 | double GetPm3PddgCoreIntegral(MolDS_base::OrbitalType orbital) const; |
309 | - virtual void SetAtomicParameters() = 0; | |
310 | 310 | }; |
311 | 311 | } |
312 | 312 | #endif |
@@ -19,12 +19,13 @@ | ||
19 | 19 | #ifndef INCLUDED_CATOM |
20 | 20 | #define INCLUDED_CATOM |
21 | 21 | namespace MolDS_base_atoms{ |
22 | -class Catom : public Atom { | |
22 | +class Catom : virtual public Atom { | |
23 | 23 | public: |
24 | 24 | Catom(int index); |
25 | +protected: | |
26 | + void virtual SetAtomicParameters(); | |
25 | 27 | private: |
26 | 28 | Catom(); |
27 | - void SetAtomicParameters(); | |
28 | 29 | }; |
29 | 30 | } |
30 | 31 | #endif |
@@ -20,12 +20,13 @@ | ||
20 | 20 | #define INCLUDED_HATOM |
21 | 21 | namespace MolDS_base_atoms{ |
22 | 22 | |
23 | -class Hatom : public Atom { | |
23 | +class Hatom : virtual public Atom { | |
24 | 24 | public: |
25 | 25 | Hatom(int index); |
26 | +protected: | |
27 | + void virtual SetAtomicParameters(); | |
26 | 28 | private: |
27 | 29 | Hatom(); |
28 | - void SetAtomicParameters(); | |
29 | 30 | }; |
30 | 31 | |
31 | 32 | } |
@@ -19,12 +19,13 @@ | ||
19 | 19 | #ifndef INCLUDED_LIATOM |
20 | 20 | #define INCLUDED_LIATOM |
21 | 21 | namespace MolDS_base_atoms{ |
22 | -class Liatom : public Atom { | |
22 | +class Liatom : virtual public Atom { | |
23 | 23 | public: |
24 | 24 | Liatom(int index); |
25 | +protected: | |
26 | + void virtual SetAtomicParameters(); | |
25 | 27 | private: |
26 | 28 | Liatom(); |
27 | - void SetAtomicParameters(); | |
28 | 29 | }; |
29 | 30 | } |
30 | 31 | #endif |
@@ -19,12 +19,13 @@ | ||
19 | 19 | #ifndef INCLUDED_NATOM |
20 | 20 | #define INCLUDED_NATOM |
21 | 21 | namespace MolDS_base_atoms{ |
22 | -class Natom : public Atom { | |
22 | +class Natom : virtual public Atom { | |
23 | 23 | public: |
24 | 24 | Natom(int index); |
25 | +protected: | |
26 | + void virtual SetAtomicParameters(); | |
25 | 27 | private: |
26 | 28 | Natom(); |
27 | - void SetAtomicParameters(); | |
28 | 29 | }; |
29 | 30 | } |
30 | 31 | #endif |
@@ -19,12 +19,13 @@ | ||
19 | 19 | #ifndef INCLUDED_OATOM |
20 | 20 | #define INCLUDED_OATOM |
21 | 21 | namespace MolDS_base_atoms{ |
22 | -class Oatom : public Atom { | |
22 | +class Oatom : virtual public Atom { | |
23 | 23 | public: |
24 | 24 | Oatom(int index); |
25 | +protected: | |
26 | + void virtual SetAtomicParameters(); | |
25 | 27 | private: |
26 | 28 | Oatom(); |
27 | - void SetAtomicParameters(); | |
28 | 29 | }; |
29 | 30 | } |
30 | 31 | #endif |
@@ -19,12 +19,13 @@ | ||
19 | 19 | #ifndef INCLUDED_SATOM |
20 | 20 | #define INCLUDED_SATOM |
21 | 21 | namespace MolDS_base_atoms{ |
22 | -class Satom : public Atom { | |
22 | +class Satom : virtual public Atom { | |
23 | 23 | public: |
24 | 24 | Satom(int index); |
25 | +protected: | |
26 | + void virtual SetAtomicParameters(); | |
25 | 27 | private: |
26 | 28 | Satom(); |
27 | - void SetAtomicParameters(); | |
28 | 29 | }; |
29 | 30 | } |
30 | 31 | #endif |
@@ -0,0 +1,54 @@ | ||
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 | +#include<stdio.h> | |
20 | +#include<stdlib.h> | |
21 | +#include<iostream> | |
22 | +#include<sstream> | |
23 | +#include<math.h> | |
24 | +#include<vector> | |
25 | +#include<boost/format.hpp> | |
26 | +#include"../../Enums.h" | |
27 | +#include"../../Uncopyable.h" | |
28 | +#include"../../PrintController.h" | |
29 | +#include"../../MolDSException.h" | |
30 | +#include"../../MallocerFreer.h" | |
31 | +#include"../../../mpi/MpiInt.h" | |
32 | +#include"../../../mpi/MpiProcess.h" | |
33 | +#include"../../EularAngle.h" | |
34 | +#include"../../Parameters.h" | |
35 | +#include"../../RealSphericalHarmonicsIndex.h" | |
36 | +#include"../Atom.h" | |
37 | +#include"Bq.h" | |
38 | +using namespace std; | |
39 | +using namespace MolDS_base; | |
40 | +using namespace MolDS_base_atoms; | |
41 | +namespace MolDS_base_atoms_bq{ | |
42 | +Bq::Bq() : Atom(){ | |
43 | +} | |
44 | + | |
45 | +void Bq::SetAtomicParameters(){ | |
46 | + this->atomicMass = 0.0; | |
47 | + this->coreCharge = 0.0; | |
48 | + this->numberValenceElectrons = 0; | |
49 | + this->vdWCoefficient = 0.0; | |
50 | + for(int i=0; i<2; i++){ | |
51 | + pm3PddgParameterPa[i]=0.0; | |
52 | + } | |
53 | +} | |
54 | +} |
@@ -0,0 +1,30 @@ | ||
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_BQ | |
20 | +#define INCLUDED_BQ | |
21 | +namespace MolDS_base_atoms_bq{ | |
22 | +class Bq : virtual public MolDS_base_atoms::Atom { | |
23 | +public: | |
24 | + Bq(); | |
25 | +protected: | |
26 | + void virtual SetAtomicParameters(); | |
27 | +private: | |
28 | +}; | |
29 | +} | |
30 | +#endif |
@@ -0,0 +1,52 @@ | ||
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 | +#include<stdio.h> | |
20 | +#include<stdlib.h> | |
21 | +#include<iostream> | |
22 | +#include<sstream> | |
23 | +#include<math.h> | |
24 | +#include<vector> | |
25 | +#include<boost/format.hpp> | |
26 | +#include"../../Enums.h" | |
27 | +#include"../../Uncopyable.h" | |
28 | +#include"../../PrintController.h" | |
29 | +#include"../../MolDSException.h" | |
30 | +#include"../../MallocerFreer.h" | |
31 | +#include"../../../mpi/MpiInt.h" | |
32 | +#include"../../../mpi/MpiProcess.h" | |
33 | +#include"../../EularAngle.h" | |
34 | +#include"../../Parameters.h" | |
35 | +#include"../../RealSphericalHarmonicsIndex.h" | |
36 | +#include"../Atom.h" | |
37 | +#include"../Catom.h" | |
38 | +#include"Bq.h" | |
39 | +#include"BqCatom.h" | |
40 | +using namespace std; | |
41 | +using namespace MolDS_base; | |
42 | +using namespace MolDS_base_atoms; | |
43 | +namespace MolDS_base_atoms_bq{ | |
44 | +BqCatom::BqCatom(int index) : Catom(index),Bq(){ | |
45 | +} | |
46 | + | |
47 | +void BqCatom::SetAtomicParameters(){ | |
48 | + Catom::SetAtomicParameters(); | |
49 | + Bq::SetAtomicParameters(); | |
50 | + this->atomType = bqC; | |
51 | +} | |
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_BQCATOM | |
20 | +#define INCLUDED_BQCATOM | |
21 | +namespace MolDS_base_atoms_bq{ | |
22 | +class BqCatom : public MolDS_base_atoms::Catom, public Bq { | |
23 | +public: | |
24 | + BqCatom(int index); | |
25 | +protected: | |
26 | + void virtual SetAtomicParameters(); | |
27 | +private: | |
28 | + BqCatom(); | |
29 | +}; | |
30 | +} | |
31 | +#endif |
@@ -0,0 +1,52 @@ | ||
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 | +#include<stdio.h> | |
20 | +#include<stdlib.h> | |
21 | +#include<iostream> | |
22 | +#include<sstream> | |
23 | +#include<math.h> | |
24 | +#include<vector> | |
25 | +#include<boost/format.hpp> | |
26 | +#include"../../Enums.h" | |
27 | +#include"../../Uncopyable.h" | |
28 | +#include"../../PrintController.h" | |
29 | +#include"../../MolDSException.h" | |
30 | +#include"../../MallocerFreer.h" | |
31 | +#include"../../../mpi/MpiInt.h" | |
32 | +#include"../../../mpi/MpiProcess.h" | |
33 | +#include"../../EularAngle.h" | |
34 | +#include"../../Parameters.h" | |
35 | +#include"../../RealSphericalHarmonicsIndex.h" | |
36 | +#include"../Atom.h" | |
37 | +#include"../Hatom.h" | |
38 | +#include"Bq.h" | |
39 | +#include"BqHatom.h" | |
40 | +using namespace std; | |
41 | +using namespace MolDS_base; | |
42 | +using namespace MolDS_base_atoms; | |
43 | +namespace MolDS_base_atoms_bq{ | |
44 | +BqHatom::BqHatom(int index) : Hatom(index),Bq(){ | |
45 | +} | |
46 | + | |
47 | +void BqHatom::SetAtomicParameters(){ | |
48 | + Hatom::SetAtomicParameters(); | |
49 | + Bq::SetAtomicParameters(); | |
50 | + this->atomType = bqC; | |
51 | +} | |
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_BQHATOM | |
20 | +#define INCLUDED_BQHATOM | |
21 | +namespace MolDS_base_atoms_bq{ | |
22 | +class BqHatom : public MolDS_base_atoms::Hatom, public Bq { | |
23 | +public: | |
24 | + BqHatom(int index); | |
25 | +protected: | |
26 | + void virtual SetAtomicParameters(); | |
27 | +private: | |
28 | + BqHatom(); | |
29 | +}; | |
30 | +} | |
31 | +#endif |
@@ -0,0 +1,52 @@ | ||
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 | +#include<stdio.h> | |
20 | +#include<stdlib.h> | |
21 | +#include<iostream> | |
22 | +#include<sstream> | |
23 | +#include<math.h> | |
24 | +#include<vector> | |
25 | +#include<boost/format.hpp> | |
26 | +#include"../../Enums.h" | |
27 | +#include"../../Uncopyable.h" | |
28 | +#include"../../PrintController.h" | |
29 | +#include"../../MolDSException.h" | |
30 | +#include"../../MallocerFreer.h" | |
31 | +#include"../../../mpi/MpiInt.h" | |
32 | +#include"../../../mpi/MpiProcess.h" | |
33 | +#include"../../EularAngle.h" | |
34 | +#include"../../Parameters.h" | |
35 | +#include"../../RealSphericalHarmonicsIndex.h" | |
36 | +#include"../Atom.h" | |
37 | +#include"../Liatom.h" | |
38 | +#include"Bq.h" | |
39 | +#include"BqLiatom.h" | |
40 | +using namespace std; | |
41 | +using namespace MolDS_base; | |
42 | +using namespace MolDS_base_atoms; | |
43 | +namespace MolDS_base_atoms_bq{ | |
44 | +BqLiatom::BqLiatom(int index) : Liatom(index),Bq(){ | |
45 | +} | |
46 | + | |
47 | +void BqLiatom::SetAtomicParameters(){ | |
48 | + Liatom::SetAtomicParameters(); | |
49 | + Bq::SetAtomicParameters(); | |
50 | + this->atomType = bqC; | |
51 | +} | |
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_BQLIATOM | |
20 | +#define INCLUDED_BQLIATOM | |
21 | +namespace MolDS_base_atoms_bq{ | |
22 | +class BqLiatom : public MolDS_base_atoms::Liatom, public Bq { | |
23 | +public: | |
24 | + BqLiatom(int index); | |
25 | +protected: | |
26 | + void virtual SetAtomicParameters(); | |
27 | +private: | |
28 | + BqLiatom(); | |
29 | +}; | |
30 | +} | |
31 | +#endif |
@@ -0,0 +1,52 @@ | ||
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 | +#include<stdio.h> | |
20 | +#include<stdlib.h> | |
21 | +#include<iostream> | |
22 | +#include<sstream> | |
23 | +#include<math.h> | |
24 | +#include<vector> | |
25 | +#include<boost/format.hpp> | |
26 | +#include"../../Enums.h" | |
27 | +#include"../../Uncopyable.h" | |
28 | +#include"../../PrintController.h" | |
29 | +#include"../../MolDSException.h" | |
30 | +#include"../../MallocerFreer.h" | |
31 | +#include"../../../mpi/MpiInt.h" | |
32 | +#include"../../../mpi/MpiProcess.h" | |
33 | +#include"../../EularAngle.h" | |
34 | +#include"../../Parameters.h" | |
35 | +#include"../../RealSphericalHarmonicsIndex.h" | |
36 | +#include"../Atom.h" | |
37 | +#include"../Natom.h" | |
38 | +#include"Bq.h" | |
39 | +#include"BqNatom.h" | |
40 | +using namespace std; | |
41 | +using namespace MolDS_base; | |
42 | +using namespace MolDS_base_atoms; | |
43 | +namespace MolDS_base_atoms_bq{ | |
44 | +BqNatom::BqNatom(int index) : Natom(index),Bq(){ | |
45 | +} | |
46 | + | |
47 | +void BqNatom::SetAtomicParameters(){ | |
48 | + Natom::SetAtomicParameters(); | |
49 | + Bq::SetAtomicParameters(); | |
50 | + this->atomType = bqC; | |
51 | +} | |
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_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 |
@@ -0,0 +1,52 @@ | ||
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 | +#include<stdio.h> | |
20 | +#include<stdlib.h> | |
21 | +#include<iostream> | |
22 | +#include<sstream> | |
23 | +#include<math.h> | |
24 | +#include<vector> | |
25 | +#include<boost/format.hpp> | |
26 | +#include"../../Enums.h" | |
27 | +#include"../../Uncopyable.h" | |
28 | +#include"../../PrintController.h" | |
29 | +#include"../../MolDSException.h" | |
30 | +#include"../../MallocerFreer.h" | |
31 | +#include"../../../mpi/MpiInt.h" | |
32 | +#include"../../../mpi/MpiProcess.h" | |
33 | +#include"../../EularAngle.h" | |
34 | +#include"../../Parameters.h" | |
35 | +#include"../../RealSphericalHarmonicsIndex.h" | |
36 | +#include"../Atom.h" | |
37 | +#include"../Oatom.h" | |
38 | +#include"Bq.h" | |
39 | +#include"BqOatom.h" | |
40 | +using namespace std; | |
41 | +using namespace MolDS_base; | |
42 | +using namespace MolDS_base_atoms; | |
43 | +namespace MolDS_base_atoms_bq{ | |
44 | +BqOatom::BqOatom(int index) : Oatom(index),Bq(){ | |
45 | +} | |
46 | + | |
47 | +void BqOatom::SetAtomicParameters(){ | |
48 | + Oatom::SetAtomicParameters(); | |
49 | + Bq::SetAtomicParameters(); | |
50 | + this->atomType = bqC; | |
51 | +} | |
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_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 |
@@ -0,0 +1,52 @@ | ||
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 | +#include<stdio.h> | |
20 | +#include<stdlib.h> | |
21 | +#include<iostream> | |
22 | +#include<sstream> | |
23 | +#include<math.h> | |
24 | +#include<vector> | |
25 | +#include<boost/format.hpp> | |
26 | +#include"../../Enums.h" | |
27 | +#include"../../Uncopyable.h" | |
28 | +#include"../../PrintController.h" | |
29 | +#include"../../MolDSException.h" | |
30 | +#include"../../MallocerFreer.h" | |
31 | +#include"../../../mpi/MpiInt.h" | |
32 | +#include"../../../mpi/MpiProcess.h" | |
33 | +#include"../../EularAngle.h" | |
34 | +#include"../../Parameters.h" | |
35 | +#include"../../RealSphericalHarmonicsIndex.h" | |
36 | +#include"../Atom.h" | |
37 | +#include"../Satom.h" | |
38 | +#include"Bq.h" | |
39 | +#include"BqSatom.h" | |
40 | +using namespace std; | |
41 | +using namespace MolDS_base; | |
42 | +using namespace MolDS_base_atoms; | |
43 | +namespace MolDS_base_atoms_bq{ | |
44 | +BqSatom::BqSatom(int index) : Satom(index),Bq(){ | |
45 | +} | |
46 | + | |
47 | +void BqSatom::SetAtomicParameters(){ | |
48 | + Satom::SetAtomicParameters(); | |
49 | + Bq::SetAtomicParameters(); | |
50 | + this->atomType = bqC; | |
51 | +} | |
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_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 |