forked from dftfeDevelopers/dftfe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ion relaxation ctest. ctests passed
- Loading branch information
Sambit Das
committed
Jul 1, 2018
1 parent
703fbdd
commit 2d36989
Showing
10 changed files
with
1,430 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,225 changes: 1,225 additions & 0 deletions
1,225
tests/dft/pseudopotential/real/N_ONCV_PBE-1.0.upf
Large diffs are not rendered by default.
Oops, something went wrong.
68 changes: 68 additions & 0 deletions
68
tests/dft/pseudopotential/real/nitrogenMolecule_01.mpirun=10.output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
number of atoms: 2 | ||
number of atoms types: 1 | ||
-----------Simulation Domain bounding vectors (lattice vectors in fully periodic case)------------- | ||
v1 : 8.000000000000000000e+01 0.000000000000000000e+00 0.000000000000000000e+00 | ||
v2 : 0.000000000000000000e+00 8.000000000000000000e+01 0.000000000000000000e+00 | ||
v3 : 0.000000000000000000e+00 0.000000000000000000e+00 8.000000000000000000e+01 | ||
----------------------------------------------------------------------------------------- | ||
------------Cartesian coordinates of atoms (origin at center of domain)------------------ | ||
AtomId 0: -1.199999999999999956e+00 0.000000000000000000e+00 0.000000000000000000e+00 | ||
AtomId 1: 1.199999999999999956e+00 0.000000000000000000e+00 0.000000000000000000e+00 | ||
----------------------------------------------------------------------------------------- | ||
|
||
Finite element mesh information | ||
------------------------------------------------- | ||
number of elements: 960 | ||
number of degrees of freedom: 31257 | ||
------------------------------------------------- | ||
|
||
Setting initial guess for wavefunctions.... | ||
|
||
Reading initial guess for electron-density..... | ||
|
||
Pseudopotential initalization.... | ||
|
||
Starting SCF iterations.... | ||
SCF iterations converged to the specified tolerance after: 12 iterations. | ||
|
||
Energy computations (Hartree) | ||
------------------- | ||
Total energy: -19.83481668 | ||
|
||
Absolute values of ion forces (Hartree/Bohr) | ||
-------------------------------------------------------------------------------------------- | ||
AtomId 0: 0.243134,0.000000,0.000000 | ||
AtomId 1: 0.243131,0.000000,0.000000 | ||
-------------------------------------------------------------------------------------------- | ||
-----------Simulation Domain bounding vectors (lattice vectors in fully periodic case)------------- | ||
v1 : 80.000000 0.000000 0.000000 | ||
v2 : 0.000000 80.000000 0.000000 | ||
v3 : 0.000000 0.000000 80.000000 | ||
----------------------------------------------------------------------------------------- | ||
------------Cartesian coordinates of atoms (origin at center of domain)------------------ | ||
AtomId 0: -1.029807 0.000000 0.000000 | ||
AtomId 1: 1.029808 0.000000 0.000000 | ||
----------------------------------------------------------------------------------------- | ||
|
||
Finite element mesh information | ||
------------------------------------------------- | ||
number of elements: 960 | ||
number of degrees of freedom: 31257 | ||
------------------------------------------------- | ||
|
||
Reading initial guess for PSI.... | ||
|
||
Pseudopotential initalization.... | ||
|
||
Starting SCF iterations.... | ||
SCF iterations converged to the specified tolerance after: 13 iterations. | ||
|
||
Energy computations (Hartree) | ||
------------------- | ||
Total energy: -19.88861003 | ||
|
||
Absolute values of ion forces (Hartree/Bohr) | ||
-------------------------------------------------------------------------------------------- | ||
AtomId 0: 0.078653,0.000000,0.000000 | ||
AtomId 1: 0.078651,0.000000,0.000000 | ||
-------------------------------------------------------------------------------------------- |
68 changes: 68 additions & 0 deletions
68
tests/dft/pseudopotential/real/nitrogenMolecule_01.mpirun=13.output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
number of atoms: 2 | ||
number of atoms types: 1 | ||
-----------Simulation Domain bounding vectors (lattice vectors in fully periodic case)------------- | ||
v1 : 8.000000000000000000e+01 0.000000000000000000e+00 0.000000000000000000e+00 | ||
v2 : 0.000000000000000000e+00 8.000000000000000000e+01 0.000000000000000000e+00 | ||
v3 : 0.000000000000000000e+00 0.000000000000000000e+00 8.000000000000000000e+01 | ||
----------------------------------------------------------------------------------------- | ||
------------Cartesian coordinates of atoms (origin at center of domain)------------------ | ||
AtomId 0: -1.199999999999999956e+00 0.000000000000000000e+00 0.000000000000000000e+00 | ||
AtomId 1: 1.199999999999999956e+00 0.000000000000000000e+00 0.000000000000000000e+00 | ||
----------------------------------------------------------------------------------------- | ||
|
||
Finite element mesh information | ||
------------------------------------------------- | ||
number of elements: 960 | ||
number of degrees of freedom: 31257 | ||
------------------------------------------------- | ||
|
||
Setting initial guess for wavefunctions.... | ||
|
||
Reading initial guess for electron-density..... | ||
|
||
Pseudopotential initalization.... | ||
|
||
Starting SCF iterations.... | ||
SCF iterations converged to the specified tolerance after: 12 iterations. | ||
|
||
Energy computations (Hartree) | ||
------------------- | ||
Total energy: -19.83481668 | ||
|
||
Absolute values of ion forces (Hartree/Bohr) | ||
-------------------------------------------------------------------------------------------- | ||
AtomId 0: 0.243134,0.000000,0.000000 | ||
AtomId 1: 0.243131,0.000000,0.000000 | ||
-------------------------------------------------------------------------------------------- | ||
-----------Simulation Domain bounding vectors (lattice vectors in fully periodic case)------------- | ||
v1 : 80.000000 0.000000 0.000000 | ||
v2 : 0.000000 80.000000 0.000000 | ||
v3 : 0.000000 0.000000 80.000000 | ||
----------------------------------------------------------------------------------------- | ||
------------Cartesian coordinates of atoms (origin at center of domain)------------------ | ||
AtomId 0: -1.029806 0.000000 0.000000 | ||
AtomId 1: 1.029808 0.000000 0.000000 | ||
----------------------------------------------------------------------------------------- | ||
|
||
Finite element mesh information | ||
------------------------------------------------- | ||
number of elements: 960 | ||
number of degrees of freedom: 31257 | ||
------------------------------------------------- | ||
|
||
Reading initial guess for PSI.... | ||
|
||
Pseudopotential initalization.... | ||
|
||
Starting SCF iterations.... | ||
SCF iterations converged to the specified tolerance after: 12 iterations. | ||
|
||
Energy computations (Hartree) | ||
------------------- | ||
Total energy: -19.88861002 | ||
|
||
Absolute values of ion forces (Hartree/Bohr) | ||
-------------------------------------------------------------------------------------------- | ||
AtomId 0: 0.078646,0.000000,0.000000 | ||
AtomId 1: 0.078646,0.000000,0.000000 | ||
-------------------------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
set VERBOSITY = 0 | ||
set REPRODUCIBLE OUTPUT = true | ||
|
||
subsection Geometry | ||
set NATOMS=2 | ||
set NATOM TYPES=1 | ||
set ATOMIC COORDINATES FILE = @SOURCE_DIR@/nitrogenMolecule_coordinates.inp | ||
set DOMAIN VECTORS FILE = @SOURCE_DIR@/nitrogenMolecule_domainVectors.inp | ||
subsection Optimization | ||
set ION OPT=true | ||
set FORCE TOL=0.1 | ||
set ION RELAX FLAGS FILE =@SOURCE_DIR@/nitrogenMolecule_relaxationFlags.inp | ||
end | ||
end | ||
|
||
subsection Boundary conditions | ||
set PERIODIC1 = false | ||
set PERIODIC2 = false | ||
set PERIODIC3 = false | ||
set SELF POTENTIAL RADIUS = 4.0 | ||
end | ||
|
||
subsection Finite element mesh parameters | ||
set POLYNOMIAL ORDER=3 | ||
subsection Auto mesh generation parameters | ||
set MESH SIZE AROUND ATOM = 0.7 | ||
set BASE MESH SIZE = 10.0 | ||
set ATOM BALL RADIUS = 2.0 | ||
set MESH SIZE AT ATOM = 0.7 | ||
end | ||
end | ||
|
||
subsection DFT functional parameters | ||
set EXCHANGE CORRELATION TYPE = 4 | ||
set PSEUDOPOTENTIAL CALCULATION = true | ||
set PSEUDO TESTS FLAG = true | ||
set PSEUDOPOTENTIAL FILE NAMES LIST = @SOURCE_DIR@/pseudoNGGA.inp | ||
end | ||
|
||
subsection SCF parameters | ||
set ANDERSON SCHEME MIXING HISTORY = 70 | ||
set ANDERSON SCHEME MIXING PARAMETER = 0.5 | ||
set MAXIMUM ITERATIONS = 40 | ||
set TEMPERATURE = 500 | ||
set TOLERANCE = 5e-6 | ||
|
||
subsection Eigen-solver parameters | ||
set NUMBER OF KOHN-SHAM WAVEFUNCTIONS = 12 | ||
set ORTHOGONALIZATION TYPE=LW | ||
set CHEBYSHEV POLYNOMIAL DEGREE = 25 | ||
end | ||
end |
2 changes: 2 additions & 0 deletions
2
tests/dft/pseudopotential/real/nitrogenMolecule_coordinates.inp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
7 5 -1.20000000E+00 0.00000000E+00 0.00000000E+00 | ||
7 5 1.20000000E+00 0.00000000E+00 0.00000000E+00 |
3 changes: 3 additions & 0 deletions
3
tests/dft/pseudopotential/real/nitrogenMolecule_domainVectors.inp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
80.0 0.0 0.0 | ||
0.0 80.0 0.0 | ||
0.0 0.0 80.0 |
2 changes: 2 additions & 0 deletions
2
tests/dft/pseudopotential/real/nitrogenMolecule_relaxationFlags.inp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
1 0 0 | ||
1 0 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7 N_ONCV_PBE-1.0.upf |