From 1a466e351e6a036bdbee4f76c6827e27c64fab08 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 5 Apr 2024 03:43:26 +0000 Subject: [PATCH 01/16] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- dpdata/plugins/ase.py | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/dpdata/plugins/ase.py b/dpdata/plugins/ase.py index c07e3ca9..cd7620ba 100644 --- a/dpdata/plugins/ase.py +++ b/dpdata/plugins/ase.py @@ -1,4 +1,4 @@ -from typing import TYPE_CHECKING, Optional, Type, Generator, List +from typing import TYPE_CHECKING, Generator, List, Optional, Type import numpy as np @@ -298,10 +298,7 @@ def from_labeled_system( return dict_frames - def to_system(self, - data, - file_name: str = "confs.traj", - **kwargs) -> None: + def to_system(self, data, file_name: str = "confs.traj", **kwargs) -> None: """Convert System to ASE Atoms object. Parameters @@ -310,23 +307,23 @@ def to_system(self, path to file """ list_atoms = ASEStructureFormat().to_system(data, **kwargs) - traj = Trajectory(file_name, 'a') + traj = Trajectory(file_name, "a") _ = [traj.write(atom) for atom in list_atoms] traj.close() return - def to_labeled_system(self, - data, - file_name: str = "labeled_confs.traj", - *args, **kwargs) -> None: + def to_labeled_system( + self, data, file_name: str = "labeled_confs.traj", *args, **kwargs + ) -> None: """Convert System to ASE Atoms object. + Parameters ---------- file_name : str path to file """ list_atoms = ASEStructureFormat().to_labeled_system(data, *args, **kwargs) - traj = Trajectory(file_name, 'a') + traj = Trajectory(file_name, "a") _ = [traj.write(atom) for atom in list_atoms] traj.close() return From 4c7b3efaa22c295d246c0e23c5b72188b42dfcac Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 12:37:07 +0000 Subject: [PATCH 02/16] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- dpdata/plugins/ase.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dpdata/plugins/ase.py b/dpdata/plugins/ase.py index 683f80f2..c25b393f 100644 --- a/dpdata/plugins/ase.py +++ b/dpdata/plugins/ase.py @@ -10,8 +10,8 @@ if TYPE_CHECKING: import ase - from ase.optimize.optimize import Optimizer from ase.io import Trajectory + from ase.optimize.optimize import Optimizer @Format.register("ase/structure") @@ -111,7 +111,7 @@ def from_multi_systems( step: int | None = None, ase_fmt: str | None = None, **kwargs, - ) -> Generator["ase.Atoms", None, None]: + ) -> Generator[ase.Atoms, None, None]: """Convert a ASE supported file to ASE Atoms. It will finally be converted to MultiSystems. @@ -141,7 +141,7 @@ def from_multi_systems( frames = ase.io.read(file_name, format=ase_fmt, index=slice(begin, end, step)) yield from frames - def to_system(self, data, **kwargs) -> List["ase.Atoms"]: + def to_system(self, data, **kwargs) -> List[ase.Atoms]: """Convert System to ASE Atom obj.""" from ase import Atoms @@ -159,7 +159,7 @@ def to_system(self, data, **kwargs) -> List["ase.Atoms"]: return structures - def to_labeled_system(self, data, *args, **kwargs) -> List["ase.Atoms"]: + def to_labeled_system(self, data, *args, **kwargs) -> List[ase.Atoms]: """Convert System to ASE Atoms object.""" from ase import Atoms from ase.calculators.singlepoint import SinglePointCalculator From 7f424fcfe1c5f6fb5c9b50e3e7d0a2e8acb676a8 Mon Sep 17 00:00:00 2001 From: Thang Nguyen <46436648+thangckt@users.noreply.github.com> Date: Mon, 27 May 2024 21:50:29 +0900 Subject: [PATCH 03/16] Update test_ase_traj.py --- tests/test_ase_traj.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/tests/test_ase_traj.py b/tests/test_ase_traj.py index 8e4a6e12..e35da8e7 100644 --- a/tests/test_ase_traj.py +++ b/tests/test_ase_traj.py @@ -67,5 +67,29 @@ def setUp(self): self.v_places = 4 +@unittest.skipIf(skip_ase, "skip ase related test. install ase to fix") +class TestASEtraj4(unittest.TestCase, CompLabeledSys, IsPBC): + def setUp(self): + self.system_1 = dpdata.System("ase_traj/MoS2", fmt="deepmd") + self.system_1.to_system(file_name="tmp.traj") + self.system_2 = dpdata.System("tmp.traj", fmt="ase/traj") + self.places = 6 + self.e_places = 6 + self.f_places = 6 + self.v_places = 4 + + +@unittest.skipIf(skip_ase, "skip ase related test. install ase to fix") +class TestASEtraj4Labeled(unittest.TestCase, CompLabeledSys, IsPBC): + def setUp(self): + self.system_1 = dpdata.LabeledSystem("ase_traj/MoS2", fmt="deepmd") + self.system_1.to_system(file_name="tmp.traj") + self.system_2 = dpdata.LabeledSystem("tmp.traj", fmt="ase/traj") + self.places = 6 + self.e_places = 6 + self.f_places = 6 + self.v_places = 4 + + if __name__ == "__main__": unittest.main() From aa969333264afbcb1955f54243d48b2898903610 Mon Sep 17 00:00:00 2001 From: Thang Nguyen <46436648+thangckt@users.noreply.github.com> Date: Mon, 27 May 2024 21:53:21 +0900 Subject: [PATCH 04/16] Update test_ase_traj.py --- tests/test_ase_traj.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_ase_traj.py b/tests/test_ase_traj.py index e35da8e7..7add0f4b 100644 --- a/tests/test_ase_traj.py +++ b/tests/test_ase_traj.py @@ -83,7 +83,7 @@ def setUp(self): class TestASEtraj4Labeled(unittest.TestCase, CompLabeledSys, IsPBC): def setUp(self): self.system_1 = dpdata.LabeledSystem("ase_traj/MoS2", fmt="deepmd") - self.system_1.to_system(file_name="tmp.traj") + self.system_1.to_labeled_system(file_name="tmp.traj") self.system_2 = dpdata.LabeledSystem("tmp.traj", fmt="ase/traj") self.places = 6 self.e_places = 6 From d1f02a3b796a1366a42b4d8ad112ce208fd10c13 Mon Sep 17 00:00:00 2001 From: Thang Nguyen <46436648+thangckt@users.noreply.github.com> Date: Mon, 27 May 2024 21:56:05 +0900 Subject: [PATCH 05/16] Update test_ase_traj.py --- tests/test_ase_traj.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_ase_traj.py b/tests/test_ase_traj.py index 7add0f4b..4163ddeb 100644 --- a/tests/test_ase_traj.py +++ b/tests/test_ase_traj.py @@ -83,8 +83,8 @@ def setUp(self): class TestASEtraj4Labeled(unittest.TestCase, CompLabeledSys, IsPBC): def setUp(self): self.system_1 = dpdata.LabeledSystem("ase_traj/MoS2", fmt="deepmd") - self.system_1.to_labeled_system(file_name="tmp.traj") - self.system_2 = dpdata.LabeledSystem("tmp.traj", fmt="ase/traj") + self.system_1.to_labeled_system(file_name="tmp1.traj") + self.system_2 = dpdata.LabeledSystem("tmp1.traj", fmt="ase/traj") self.places = 6 self.e_places = 6 self.f_places = 6 From bdcb8871e52fdd14e333b23e587a8f77d696882f Mon Sep 17 00:00:00 2001 From: Thang Nguyen <46436648+thangckt@users.noreply.github.com> Date: Mon, 27 May 2024 22:00:52 +0900 Subject: [PATCH 06/16] Update test_ase_traj.py --- tests/test_ase_traj.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_ase_traj.py b/tests/test_ase_traj.py index 4163ddeb..9979072f 100644 --- a/tests/test_ase_traj.py +++ b/tests/test_ase_traj.py @@ -68,7 +68,7 @@ def setUp(self): @unittest.skipIf(skip_ase, "skip ase related test. install ase to fix") -class TestASEtraj4(unittest.TestCase, CompLabeledSys, IsPBC): +class TestASEtraj4(unittest.TestCase, CompSys, IsPBC): def setUp(self): self.system_1 = dpdata.System("ase_traj/MoS2", fmt="deepmd") self.system_1.to_system(file_name="tmp.traj") From 1c1ebdc0a352e1f35a9dfdcec035cfe0c2ce3c36 Mon Sep 17 00:00:00 2001 From: Thang Nguyen <46436648+thangckt@users.noreply.github.com> Date: Mon, 27 May 2024 22:04:10 +0900 Subject: [PATCH 07/16] Update test_ase_traj.py --- tests/test_ase_traj.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_ase_traj.py b/tests/test_ase_traj.py index 9979072f..96ed532e 100644 --- a/tests/test_ase_traj.py +++ b/tests/test_ase_traj.py @@ -71,7 +71,7 @@ def setUp(self): class TestASEtraj4(unittest.TestCase, CompSys, IsPBC): def setUp(self): self.system_1 = dpdata.System("ase_traj/MoS2", fmt="deepmd") - self.system_1.to_system(file_name="tmp.traj") + self.system_1.to(file_name="tmp.traj", fmt='ase/traj') self.system_2 = dpdata.System("tmp.traj", fmt="ase/traj") self.places = 6 self.e_places = 6 @@ -83,7 +83,7 @@ def setUp(self): class TestASEtraj4Labeled(unittest.TestCase, CompLabeledSys, IsPBC): def setUp(self): self.system_1 = dpdata.LabeledSystem("ase_traj/MoS2", fmt="deepmd") - self.system_1.to_labeled_system(file_name="tmp1.traj") + self.system_1.to(file_name="tmp1.traj", fmt='ase/traj') self.system_2 = dpdata.LabeledSystem("tmp1.traj", fmt="ase/traj") self.places = 6 self.e_places = 6 From ca474a97c0f4e48210dffff7367ded24f1ca8759 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 13:04:29 +0000 Subject: [PATCH 08/16] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_ase_traj.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_ase_traj.py b/tests/test_ase_traj.py index 96ed532e..7ecb685a 100644 --- a/tests/test_ase_traj.py +++ b/tests/test_ase_traj.py @@ -71,7 +71,7 @@ def setUp(self): class TestASEtraj4(unittest.TestCase, CompSys, IsPBC): def setUp(self): self.system_1 = dpdata.System("ase_traj/MoS2", fmt="deepmd") - self.system_1.to(file_name="tmp.traj", fmt='ase/traj') + self.system_1.to(file_name="tmp.traj", fmt="ase/traj") self.system_2 = dpdata.System("tmp.traj", fmt="ase/traj") self.places = 6 self.e_places = 6 @@ -83,7 +83,7 @@ def setUp(self): class TestASEtraj4Labeled(unittest.TestCase, CompLabeledSys, IsPBC): def setUp(self): self.system_1 = dpdata.LabeledSystem("ase_traj/MoS2", fmt="deepmd") - self.system_1.to(file_name="tmp1.traj", fmt='ase/traj') + self.system_1.to(file_name="tmp1.traj", fmt="ase/traj") self.system_2 = dpdata.LabeledSystem("tmp1.traj", fmt="ase/traj") self.places = 6 self.e_places = 6 From b304fc902e391f506041675564ecdf47087cd43a Mon Sep 17 00:00:00 2001 From: Thang Nguyen <46436648+thangckt@users.noreply.github.com> Date: Mon, 27 May 2024 22:08:01 +0900 Subject: [PATCH 09/16] Update ase.py --- dpdata/plugins/ase.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dpdata/plugins/ase.py b/dpdata/plugins/ase.py index c25b393f..5c129b6b 100644 --- a/dpdata/plugins/ase.py +++ b/dpdata/plugins/ase.py @@ -10,9 +10,13 @@ if TYPE_CHECKING: import ase - from ase.io import Trajectory from ase.optimize.optimize import Optimizer +try: + from ase.io import Trajectory +except ImportError: + pass + @Format.register("ase/structure") class ASEStructureFormat(Format): From 7a0530b177e566b2c41668589ccaa0a1e044d568 Mon Sep 17 00:00:00 2001 From: Thang Nguyen <46436648+thangckt@users.noreply.github.com> Date: Mon, 27 May 2024 23:14:16 +0900 Subject: [PATCH 10/16] u --- tests/ase_traj/#MoS2/box.raw | 3 + tests/ase_traj/#MoS2/coord.raw | 3 + tests/ase_traj/#MoS2/energy.raw | 3 + tests/ase_traj/#MoS2/force.raw | 3 + tests/ase_traj/#MoS2/type.raw | 104 ++++++++++++++++++++++++++++++ tests/ase_traj/#MoS2/type_map.raw | 2 + tests/ase_traj/#MoS2/virial.raw | 3 + 7 files changed, 121 insertions(+) create mode 100644 tests/ase_traj/#MoS2/box.raw create mode 100644 tests/ase_traj/#MoS2/coord.raw create mode 100644 tests/ase_traj/#MoS2/energy.raw create mode 100644 tests/ase_traj/#MoS2/force.raw create mode 100644 tests/ase_traj/#MoS2/type.raw create mode 100644 tests/ase_traj/#MoS2/type_map.raw create mode 100644 tests/ase_traj/#MoS2/virial.raw diff --git a/tests/ase_traj/#MoS2/box.raw b/tests/ase_traj/#MoS2/box.raw new file mode 100644 index 00000000..c104fa1a --- /dev/null +++ b/tests/ase_traj/#MoS2/box.raw @@ -0,0 +1,3 @@ +1.571723287959847148e+01 1.382976769974756167e-14 -4.335347714314398588e-27 -2.135776446678914908e+01 3.745820611488967700e+01 -5.045434369425391968e-16 2.142284677455918376e-24 8.545634906358754423e-15 2.312999999999935952e+01 +1.571734059897834079e+01 1.382976314475292595e-14 -4.334590580314998760e-27 -2.135791084402753981e+01 3.745820611488959173e+01 -5.045434369425390982e-16 2.155934654129174673e-24 8.545634906358737068e-15 2.312999999999930978e+01 +1.571733836538147244e+01 1.382976369106826543e-14 1.070818208280100644e-26 -2.135790780884721940e+01 3.745820611488941410e+01 -2.741620021286372525e-14 -1.227011684011214072e-23 -4.602381967266446384e-15 2.312999999999919609e+01 diff --git a/tests/ase_traj/#MoS2/coord.raw b/tests/ase_traj/#MoS2/coord.raw new file mode 100644 index 00000000..3fdeab79 --- /dev/null +++ b/tests/ase_traj/#MoS2/coord.raw @@ -0,0 +1,3 @@ +-5.698917181841744117e+00 1.006790679306580394e+01 1.159245053571848239e+01 -4.124148015489565999e+00 1.088802337022864286e+01 1.315383735185872993e+01 -4.133118968716363639e+00 1.086190741420796613e+01 1.000733134883523334e+01 -7.267890536356554243e+00 1.273698271989690234e+01 1.158891517840854313e+01 -5.683596759923723596e+00 1.368706277403957472e+01 1.313437400602857785e+01 -5.709284394070140323e+00 1.366162503042886378e+01 1.000793735424933928e+01 -8.841702832703273174e+00 1.550089578223382780e+01 1.158717571654348610e+01 -7.251303482056198568e+00 1.643579562597492583e+01 1.313984541628219560e+01 -7.281059165397710586e+00 1.642087870241086378e+01 1.000323716977040078e+01 -1.041692876545396551e+01 1.825873596754246009e+01 1.158119272673626909e+01 -8.821943846043978965e+00 1.918508074987153122e+01 1.313819814976830891e+01 -8.845941842383382436e+00 1.917560395927925398e+01 1.000270590166260654e+01 -1.199618073825843112e+01 2.101155575753879390e+01 1.156390533994406589e+01 -1.041693743111767567e+01 2.193435873625131549e+01 1.313427014536195436e+01 -1.041693744539048261e+01 2.194353310684435954e+01 1.000090664546197416e+01 -1.356913420004361903e+01 2.376992782718692609e+01 1.156670372486669329e+01 -1.199579262729072227e+01 2.469462411737959329e+01 1.314429695808350473e+01 -1.198967025290584587e+01 2.470860008111487360e+01 1.000699283988100241e+01 -1.513623430404684633e+01 2.653175673146733260e+01 1.161275669332301064e+01 -1.356869490284493729e+01 2.753404029092070360e+01 1.308770381909617164e+01 -1.356108596304206593e+01 2.756170398235698826e+01 1.012504570146521665e+01 -2.558304034934836046e+00 1.006980273310816010e+01 1.158430616815146053e+01 -9.924592946396952886e-01 1.088802307619554277e+01 1.315383703252938297e+01 -9.834886043095262265e-01 1.086190701459755026e+01 1.000733101965925265e+01 -4.128804268604826078e+00 1.274232493671640576e+01 1.156519404322548894e+01 -2.558306242684514231e+00 1.370676133878904324e+01 1.310524266874485555e+01 -2.558306479971662828e+00 1.365501994800619912e+01 9.987832811009482725e+00 -5.690593164153622041e+00 1.551464941075666992e+01 1.155608893075993926e+01 -4.078117835059944518e+00 1.650688319293193729e+01 1.307881189048612214e+01 -4.146985493997946470e+00 1.643660008963127339e+01 9.937420963221658354e+00 -7.252251520775193860e+00 1.825797182629527171e+01 1.155937764455236128e+01 -5.595377446683438727e+00 1.918435702588932301e+01 1.308364674909424963e+01 -5.700406344960809335e+00 1.916187012105485721e+01 9.939404887867590688e+00 -8.837687449899291892e+00 2.101155718606796441e+01 1.156390558462243767e+01 -7.237174184890847961e+00 2.191958348614020125e+01 1.311286817387469839e+01 -7.274935598983326202e+00 2.194600101884719834e+01 9.985282410436752798e+00 -1.041694157185184366e+01 2.377328387059488790e+01 1.157496872621570105e+01 -8.838094904560733767e+00 2.469461773653482339e+01 1.314429268680620666e+01 -8.844217413754346779e+00 2.470859409720934963e+01 1.000699821242212018e+01 -1.199064168181607215e+01 2.653789936022496576e+01 1.158117533161214396e+01 -1.041694389184850245e+01 2.754153911227140838e+01 1.306860071727008865e+01 -1.041694321361428521e+01 2.755752490878823835e+01 1.010452294461432743e+01 5.823099934433714209e-01 1.006790650118490937e+01 1.159245014632243453e+01 2.148119405353396516e+00 1.087733829323083157e+01 1.316865096589381601e+01 2.158685908223945127e+00 1.086547323581495661e+01 1.002126261836044208e+01 -9.878077396453111003e-01 1.274232459365219405e+01 1.156519361478049923e+01 5.669847490892869768e-01 1.368706172481450878e+01 1.313437318585602753e+01 5.926721853159174769e-01 1.366162423522419544e+01 1.000793675826584739e+01 -2.558308955048808730e+00 1.553299890067566658e+01 1.151140750602048080e+01 -1.038499416393461550e+00 1.650688116503055269e+01 1.307881148225254009e+01 -9.696329174742051027e-01 1.643659952336661334e+01 9.937421174822970826e+00 -4.078505522603895983e+00 1.828591885126800776e+01 1.146013612415139349e+01 -2.558311174918602493e+00 1.919082972979224166e+01 9.876181758589398285e+00 -5.669621321207881870e+00 2.099642629779980396e+01 1.151606857264874151e+01 -4.083630182471662096e+00 2.185974028973842564e+01 1.308223613431343324e+01 -4.110311090025156489e+00 2.195381936351689589e+01 9.941772736885965855e+00 -7.264739618353374340e+00 2.376992117469228205e+01 1.156670390579104080e+01 -5.689252131741514340e+00 2.466672737423497708e+01 1.314745303753850969e+01 -5.695965488238677210e+00 2.472231891378701718e+01 1.000754510225564786e+01 -8.843247786636982966e+00 2.653789191798409774e+01 1.158117487190271078e+01 -7.265181321302753403e+00 2.753400612777943479e+01 1.308771939400797280e+01 -7.272794516266514186e+00 2.756167289310100799e+01 1.012503009205889626e+01 3.723364982714284732e+00 1.006519994348230007e+01 1.160199592113434974e+01 5.300312548763216114e+00 1.086757070425900373e+01 1.317464063944806973e+01 5.300312788909637973e+00 1.086074131292664369e+01 1.002853203100074353e+01 2.151279722427089425e+00 1.273698257395620814e+01 1.158891435545648285e+01 3.721948173366897539e+00 1.366637854516506856e+01 1.315510861932774489e+01 3.732018060849395802e+00 1.365748901374670865e+01 1.003021192480254875e+01 5.739761182288783958e-01 1.551464813041132373e+01 1.155608817117646581e+01 2.134685791685109635e+00 1.643579371956662527e+01 1.313984491160858070e+01 2.164441637163803112e+00 1.642087780927716167e+01 1.000323701073572025e+01 -1.038118088478996004e+00 1.828591792503268465e+01 1.146013615158802956e+01 4.787524939850497652e-01 1.918435580127990647e+01 1.308364712396041263e+01 5.837816028573388216e-01 1.916186915880260244e+01 9.939405535359684407e+00 -2.558313424751053500e+00 2.096405662177598117e+01 1.146677839202338944e+01 -1.032996118698992882e+00 2.185974077092517120e+01 1.308223668088551328e+01 -1.006314727332078274e+00 2.195382007072077002e+01 9.941772923759311098e+00 -4.120688522272067722e+00 2.375902750116983597e+01 1.155931858153266667e+01 -2.558308694539850325e+00 2.468409174093096325e+01 1.314070860660076612e+01 -2.558308191599064862e+00 2.471090731160718335e+01 1.000059508587925805e+01 -5.697633901250210187e+00 2.653174526590392190e+01 1.161275516284062803e+01 -4.131462413570855752e+00 2.753291014733921216e+01 1.308857623421079097e+01 -4.126892260652781808e+00 2.756033376482473329e+01 1.012248426738593388e+01 6.877259871691087767e+00 1.006520025870661428e+01 1.160199614119876621e+01 8.452506034244610333e+00 1.087733780656707872e+01 1.316865126091968641e+01 8.441939690068700486e+00 1.086547311527689885e+01 1.002126330885984551e+01 5.300311281762470017e+00 1.272974567527594658e+01 1.159863361046340913e+01 6.878673583853759155e+00 1.366637885172642974e+01 1.315510912648590924e+01 6.868604457932521612e+00 1.365748925488491139e+01 1.003021226165447111e+01 3.725086680482507351e+00 1.550089525876192376e+01 1.158717530344491387e+01 5.300307658925730081e+00 1.643026852450373454e+01 1.315595685424727712e+01 5.300307948427596116e+00 1.642075553780648534e+01 1.001898063525183247e+01 2.135627021627230615e+00 1.825796999882071958e+01 1.155937765542856255e+01 3.705316644233208834e+00 1.918507987148703720e+01 1.313819813373191714e+01 3.729314550136949347e+00 1.917560321427697190e+01 1.000270601888333566e+01 5.529910684498311468e-01 2.099642450322899023e+01 1.151606902024513168e+01 2.120539094848372663e+00 2.191958542985757674e+01 1.311286839315879149e+01 2.158299888112893417e+00 2.194600306389649802e+01 9.985282500410450623e+00 -9.959383860143034006e-01 2.375903118740000508e+01 1.155931945830122665e+01 5.726208276325375213e-01 2.466673477954738658e+01 1.314746194170199445e+01 5.793338760544003430e-01 2.472232703248838703e+01 1.000753835254378821e+01 -2.558312171072238961e+00 2.653463970605916344e+01 1.158100469501322571e+01 -9.851693249532823549e-01 2.753293164660075121e+01 1.308856633648331957e+01 -9.897348082304271433e-01 2.756035280198889126e+01 1.012249589870060618e+01 +-5.698899252707963825e+00 1.006709166201017247e+01 1.159263035948073117e+01 -4.124179637130697351e+00 1.088843130913417490e+01 1.315483649412146505e+01 -4.133167570619408870e+00 1.086214597022126327e+01 1.000660970261920824e+01 -7.267923733387639196e+00 1.273697450636649720e+01 1.158894029398738112e+01 -5.683643392899686120e+00 1.368712639166996858e+01 1.313497238701403802e+01 -5.709320420419545350e+00 1.366156404965355442e+01 1.000732387341059848e+01 -8.841781462915788481e+00 1.550101751671864747e+01 1.158706673592200787e+01 -7.251368047490985624e+00 1.643579835174361392e+01 1.314019489380282657e+01 -7.281108160351989156e+00 1.642083476040329515e+01 1.000264617603186501e+01 -1.041700023114036888e+01 1.825869176357937107e+01 1.158106432740169822e+01 -8.822010789315669399e+00 1.918512689007783223e+01 1.313867678440783315e+01 -8.845993308837126534e+00 1.917567809616631536e+01 1.000197572819505254e+01 -1.199627442379864917e+01 2.101157610225475025e+01 1.156383000321370069e+01 -1.041700783812175501e+01 2.193425908668765700e+01 1.313480156520071951e+01 -1.041700777202155770e+01 2.194354226962850163e+01 1.000022114665214090e+01 -1.356918110741335681e+01 2.376981953311853246e+01 1.156671365098075732e+01 -1.199589292096264259e+01 2.469469478195286882e+01 1.314485803452081925e+01 -1.198973115373508236e+01 2.470882302781368978e+01 1.000648579541964445e+01 -1.513632398892794839e+01 2.653161865158584121e+01 1.161283751627225236e+01 -1.356883281573455413e+01 2.753445049905774056e+01 1.308853771133933641e+01 -1.356114615005609281e+01 2.756230257322127031e+01 1.012458796531722349e+01 -2.558321620595915391e+00 1.006895416839068069e+01 1.158446314312797831e+01 -9.924630879180625920e-01 1.088843096162388946e+01 1.315483607681463951e+01 -9.834754079604455246e-01 1.086214555082322342e+01 1.000660949191113502e+01 -4.128814835468618050e+00 1.274231221747578502e+01 1.156523427425823947e+01 -2.558323850347719475e+00 1.370683969327215124e+01 1.310583130497894366e+01 -2.558324199558698719e+00 1.365493597357263589e+01 9.987222696626044893e+00 -5.690607695324513493e+00 1.551477867288928181e+01 1.155599296520706609e+01 -4.078091778454123073e+00 1.650697302854138115e+01 1.307916705015558101e+01 -4.147016216635728725e+00 1.643653598201820287e+01 9.936874436795495313e+00 -7.252308485976815433e+00 1.825794968799876727e+01 1.155922331123963964e+01 -5.595375474460673182e+00 1.918435299305763309e+01 1.308417552277508378e+01 -5.700453642684905731e+00 1.916191714731199625e+01 9.938662362051044141e+00 -8.837736493325907716e+00 2.101157666210415087e+01 1.156382997493411047e+01 -7.237185259946379290e+00 2.191948751762386038e+01 1.311337421356438604e+01 -7.274961819513793060e+00 2.194599638597865976e+01 9.984602896519112036e+00 -1.041701426952339204e+01 2.377317026963250512e+01 1.157496079366018904e+01 -8.838132269672346553e+00 2.469468937746475490e+01 1.314485626208840685e+01 -8.844294228822720427e+00 2.470881732666051533e+01 1.000648824053289943e+01 -1.199069186855410862e+01 2.653770662284100013e+01 1.158129146035124535e+01 -1.041701427974139449e+01 2.754196475949682110e+01 1.306937948951783390e+01 -1.041701386983984889e+01 2.755811891261366497e+01 1.010405588915183372e+01 5.822569688391172615e-01 1.006709201375897145e+01 1.159262996003011281e+01 2.148142100819369293e+00 1.087779201814817220e+01 1.316962160472623466e+01 2.158744443040457650e+00 1.086572061654623766e+01 1.002059850403867003e+01 -9.878317610654293590e-01 1.274231187334548743e+01 1.156523384229066842e+01 5.669960551327258846e-01 1.368712539184315347e+01 1.313497166537040073e+01 5.926727798941318071e-01 1.366156329915635936e+01 1.000732323895071829e+01 -2.558326137410205536e+00 1.553311806620245505e+01 1.151140202005945135e+01 -1.038560854564283487e+00 1.650697097458445839e+01 1.307916671779559792e+01 -9.696376250638932826e-01 1.643653529713771277e+01 9.936874453079077796e+00 -4.078591907413184892e+00 1.828589016853135973e+01 1.146014318592271408e+01 -2.558329220662825865e+00 1.919082574813148412e+01 9.875150402439450303e+00 -5.669705046696358330e+00 2.099649777084153612e+01 1.151593118844558283e+01 -4.083628674504812928e+00 2.185962546758227631e+01 1.308278253002614555e+01 -4.110309682561839040e+00 2.195380678429133070e+01 9.941099952837461728e+00 -7.264835745506021958e+00 2.376981601403646494e+01 1.156671341934659125e+01 -5.689297506051098630e+00 2.466673661921281990e+01 1.314803159786408671e+01 -5.696012185548022799e+00 2.472251389509583674e+01 1.000699863819037283e+01 -8.843329305882473790e+00 2.653770140486098228e+01 1.158129098140530466e+01 -7.265186078573267814e+00 2.753441730265510756e+01 1.308854665965365704e+01 -7.272876246720580973e+00 2.756227225619459631e+01 1.012457872575549622e+01 3.723410268187445027e+00 1.006439143049602336e+01 1.160223419148382362e+01 5.300348763330512192e+00 1.086796662231453325e+01 1.317561256343038423e+01 5.300348997716789690e+00 1.086090331294546552e+01 1.002789139901055648e+01 2.151278021602788471e+00 1.273697433926019507e+01 1.158893954430077500e+01 3.721977454872941404e+00 1.366644562589704570e+01 1.315570809569650912e+01 3.732038054188936194e+00 1.365740916286103790e+01 1.002957440342161455e+01 5.739560914373011968e-01 1.551477736270247831e+01 1.155599233213189336e+01 2.134714926751356767e+00 1.643579642309564548e+01 1.314019451426714546e+01 2.164455197929858965e+00 1.642083359302407786e+01 1.000264582981251138e+01 -1.038065999667767469e+00 1.828588908996018603e+01 1.146014367481307872e+01 4.787152226750435169e-01 1.918435122968299922e+01 1.308417626158404801e+01 5.837934905863618740e-01 1.916191567592734302e+01 9.938662513290639211e+00 -2.558330732834627419e+00 2.096414467935515802e+01 1.146665402395987599e+01 -1.033034346848442420e+00 2.185962570648994330e+01 1.308278289121181182e+01 -1.006352621016402660e+00 2.195380754146965074e+01 9.941100572212027586e+00 -4.120765308366518553e+00 2.375897347957176464e+01 1.155920608741807243e+01 -2.558329821720393582e+00 2.468413657903467140e+01 1.314130721278504055e+01 -2.558329075969790534e+00 2.471108666165722667e+01 9.999971807126980750e+00 -5.697690300431923482e+00 2.653161180328933355e+01 1.161283663889430784e+01 -4.131492644766866285e+00 2.753327453744889652e+01 1.308941979971501191e+01 -4.126900623305139959e+00 2.756095783669405108e+01 1.012203444372014083e+01 6.877287471270479458e+00 1.006439120657153197e+01 1.160223446478635090e+01 8.452555768354786281e+00 1.087779169057048989e+01 1.316962205181610202e+01 8.441953587735357090e+00 1.086572061080768847e+01 1.002059904030497783e+01 5.300347658461863176e+00 1.272981359742230367e+01 1.159866441856982533e+01 6.878716498091043796e+00 1.366644594604461282e+01 1.315570855031458564e+01 6.868656556941311386e+00 1.365740940777058121e+01 1.002957475615765937e+01 3.725130407944358346e+00 1.550101698865586108e+01 1.158706637823132901e+01 5.300343797044993366e+00 1.643026394253148226e+01 1.315627024210271401e+01 5.300344106004795108e+00 1.642071689598810735e+01 1.001844432482108083e+01 2.135649300387166605e+00 1.825794803817464995e+01 1.155922352913199269e+01 3.705348687336053271e+00 1.918512566327444091e+01 1.313867697135866841e+01 3.729331181301127174e+00 1.917567696730004556e+01 1.000197558691800737e+01 5.530405907953713784e-01 2.099649710395302904e+01 1.151593157540700219e+01 2.120515596367548383e+00 2.191948914480678212e+01 1.311337394331668627e+01 2.158291651975258851e+00 2.194599806163761357e+01 9.984603330836570478e+00 -9.958933851514146784e-01 2.375897523388436028e+01 1.155920659564623421e+01 5.726288966981420980e-01 2.466674406764736815e+01 1.314803589819102747e+01 5.793432669142427605e-01 2.472252173696501387e+01 1.000699643570553476e+01 -2.558335276791040336e+00 2.653449836809068074e+01 1.158109459776694372e+01 -9.851755365296315237e-01 2.753329520962954291e+01 1.308941370637538526e+01 -9.897642960631177766e-01 2.756097654396804231e+01 1.012204188210788836e+01 +-5.698903230904072359e+00 1.006727581965461660e+01 1.159265972183372106e+01 -4.124170662243650476e+00 1.088820799097116776e+01 1.315449126043842298e+01 -4.133161376897842132e+00 1.086191345752641624e+01 1.000699402016660144e+01 -7.267926029810379163e+00 1.273707963154028810e+01 1.158894607568725021e+01 -5.683643255674473593e+00 1.368717981996584321e+01 1.313471450669472418e+01 -5.709315575081569172e+00 1.366160308282726632e+01 1.000757845662496059e+01 -8.841769829494424471e+00 1.550094201862157384e+01 1.158705571512152765e+01 -7.251372477699439933e+00 1.643580504658980956e+01 1.313996316006667442e+01 -7.281104687536144482e+00 1.642083163643226129e+01 1.000284925929275204e+01 -1.041699865419464821e+01 1.825873434447315802e+01 1.158104319536925253e+01 -8.822013736982119880e+00 1.918512314043275069e+01 1.313841800708780916e+01 -8.846001476122141938e+00 1.917568234023756801e+01 1.000220142512669597e+01 -1.199627031184137849e+01 2.101156177594521424e+01 1.156380849918444653e+01 -1.041700663617005063e+01 2.193426202703923522e+01 1.313456092709732026e+01 -1.041700660643854626e+01 2.194355038983341188e+01 1.000045015172172036e+01 -1.356919415293687337e+01 2.376986014224661048e+01 1.156669928113934631e+01 -1.199587497442004391e+01 2.469464828299128456e+01 1.314462228642576314e+01 -1.198972606153838960e+01 2.470878833281939180e+01 1.000673247239376451e+01 -1.513632583422225686e+01 2.653172110248944904e+01 1.161285728898610259e+01 -1.356883589895097408e+01 2.753420106110278454e+01 1.308834665424756594e+01 -1.356115159500398804e+01 2.756207873875348824e+01 1.012481475667063258e+01 -2.558321280622569915e+00 1.006912340392266181e+01 1.158449711554532335e+01 -9.924713431332428115e-01 1.088820767831479763e+01 1.315449088375102704e+01 -9.834808739834294267e-01 1.086191308447501136e+01 1.000699377149015667e+01 -4.128818294485308016e+00 1.274240629750356746e+01 1.156524125777901979e+01 -2.558323436183255417e+00 1.370686557167022457e+01 1.310558184839655738e+01 -2.558323776235477354e+00 1.365498742781451114e+01 9.987479223462141675e+00 -5.690617549393459207e+00 1.551470118775830542e+01 1.155598677795485507e+01 -4.078107601409520555e+00 1.650695631104296979e+01 1.307894542679267147e+01 -4.147003954899821210e+00 1.643654985095486509e+01 9.937078097743565763e+00 -7.252311629498416679e+00 1.825797613219189586e+01 1.155921002231801609e+01 -5.595398415306819473e+00 1.918437388935696930e+01 1.308389888819569613e+01 -5.700435575686765510e+00 1.916191745550757730e+01 9.938900114370847305e+00 -8.837737357042287911e+00 2.101156276056269334e+01 1.156380858520116561e+01 -7.237209091899102553e+00 2.191949945939410682e+01 1.311313511541884935e+01 -7.274977996884548048e+00 2.194601617806352323e+01 9.984823274179646546e+00 -1.041701167069855316e+01 2.377321349731050049e+01 1.157496263901010281e+01 -8.838149779473342349e+00 2.469464155221822210e+01 1.314462085572834482e+01 -8.844298945037595061e+00 2.470878121718012466e+01 1.000673444082786112e+01 -1.199070063702153455e+01 2.653783629375429953e+01 1.158131202550609729e+01 -1.041701393604547832e+01 2.754171371100630594e+01 1.306919904349343398e+01 -1.041701348476136424e+01 2.755788267062252928e+01 1.010428705900806534e+01 5.822616357563122902e-01 1.006727588068776136e+01 1.159265932355778261e+01 2.148132556117443137e+00 1.087757196496283463e+01 1.316927938484911031e+01 2.158741612463619397e+00 1.086547350419073332e+01 1.002098432346608448e+01 -9.878277665256788298e-01 1.274240594006659677e+01 1.156524082564408218e+01 5.669967020372155275e-01 1.368717881494253419e+01 1.313471379206969836e+01 5.926687291323202711e-01 1.366160232880184999e+01 1.000757784628906322e+01 -2.558325909942864129e+00 1.553305317133280283e+01 1.151136789989835307e+01 -1.038544160393777505e+00 1.650695425687314355e+01 1.307894512675801124e+01 -9.696490174660746808e-01 1.643654919402273507e+01 9.937078170024131296e+00 -4.078568171721341784e+00 1.828593377668270037e+01 1.146000535765200645e+01 -2.558328629379290398e+00 1.919082787832470771e+01 9.875490311197415494e+00 -5.669675716057024140e+00 2.099645288853670166e+01 1.151593770085117008e+01 -4.083635989273449951e+00 2.185964547795340707e+01 1.308251468170386644e+01 -4.110311235361518101e+00 2.195381564145905884e+01 9.941315145204637105e+00 -7.264819393077482701e+00 2.376985518082773652e+01 1.156669926376524238e+01 -5.689304093725719547e+00 2.466671801661927077e+01 1.314776297648326420e+01 -5.696034127520958279e+00 2.472251080374117294e+01 1.000725741290882986e+01 -8.843322886566021168e+00 2.653782973751691188e+01 1.158131175337761398e+01 -7.265180042089830259e+00 2.753416797445815334e+01 1.308836069138753544e+01 -7.272868401906101177e+00 2.756204882158383995e+01 1.012480037176239911e+01 3.723405446386039319e+00 1.006459395159939163e+01 1.160225676216632351e+01 5.300348024692181248e+00 1.086777577850563858e+01 1.317528303942677503e+01 5.300348263549723882e+00 1.086067634355402234e+01 1.002826893005067355e+01 2.151280925956544632e+00 1.273707943444959945e+01 1.158894531661942828e+01 3.721973355907906011e+00 1.366651127183168413e+01 1.315545005754539964e+01 3.732035063548226894e+00 1.365745296492096905e+01 1.002982700456628429e+01 5.739664603794082387e-01 1.551469984323716922e+01 1.155598611161261147e+01 2.134720134395892366e+00 1.643580318155154885e+01 1.313996276311722511e+01 2.164452492835682751e+00 1.642083055135489644e+01 1.000284897458535127e+01 -1.038089328022311575e+00 1.828593275879876501e+01 1.146000565084143119e+01 4.787390672974672357e-01 1.918437241558287809e+01 1.308389950993547401e+01 5.837762807721084135e-01 1.916191628058552254e+01 9.938900455142547941e+00 -2.558330488716592743e+00 2.096409330369501234e+01 1.146657034845994794e+01 -1.033025584372179173e+00 2.185964585632912005e+01 1.308251494023678951e+01 -1.006349636990232943e+00 2.195381662972447145e+01 9.941315799966389477e+00 -4.120743142345192567e+00 2.375900640273706088e+01 1.155922048748163711e+01 -2.558327808464954778e+00 2.468411205073800829e+01 1.314102231130870457e+01 -2.558327092081891685e+00 2.471108963506725331e+01 1.000024501073619732e+01 -5.697683593646305056e+00 2.653171151239473602e+01 1.161285624420458440e+01 -4.131499413391155784e+00 2.753302833990519005e+01 1.308923922382946259e+01 -4.126892602727406434e+00 2.756074589412269304e+01 1.012226014694119769e+01 6.877290768649579888e+00 1.006459393497419619e+01 1.160225702669391090e+01 8.452563808181892568e+00 1.087757156826557114e+01 1.316927975829690212e+01 8.441954902678741490e+00 1.086547341529801258e+01 1.002098492387619899e+01 5.300346857501406106e+00 1.272989079722016648e+01 1.159866631282915073e+01 6.878719095386479410e+00 1.366651159498034929e+01 1.315545050689429374e+01 6.868658042922476170e+00 1.365745321673066037e+01 1.002982733920083547e+01 3.725119401188281998e+00 1.550094146112481575e+01 1.158705534517550895e+01 5.300343030296632563e+00 1.643027176753677310e+01 1.315605044228539100e+01 5.300343335862304883e+00 1.642071754613269974e+01 1.001863010784906471e+01 2.135653117279959545e+00 1.825797435978724437e+01 1.155921013843398804e+01 3.705352204734076338e+00 1.918512210929428718e+01 1.313841811264293469e+01 3.729339905321024329e+00 1.917568143847599771e+01 1.000220142676171164e+01 5.530116836252524370e-01 2.099645162911541263e+01 1.151593811827314084e+01 2.120539984486769836e+00 2.191950132997969192e+01 1.311313475578919352e+01 2.158308353697939275e+00 2.194601819770194595e+01 9.984823863332735527e+00 -9.959167969748842220e-01 2.375900913188741725e+01 1.155922120198045278e+01 5.726372380437072529e-01 2.466672722479448154e+01 1.314776685358279629e+01 5.793670876203240727e-01 2.472252051038532628e+01 1.000725542414085467e+01 -2.558331714215764663e+00 2.653459377732039925e+01 1.158110840187172386e+01 -9.851666307059278038e-01 2.753304885759270348e+01 1.308922996484461265e+01 -9.897693305100244698e-01 2.756076429338564537e+01 1.012227036153841198e+01 diff --git a/tests/ase_traj/#MoS2/energy.raw b/tests/ase_traj/#MoS2/energy.raw new file mode 100644 index 00000000..b55ff4a4 --- /dev/null +++ b/tests/ase_traj/#MoS2/energy.raw @@ -0,0 +1,3 @@ +-7.451970583582814243e+02 +-7.451969391738879267e+02 +-7.451971058997563659e+02 diff --git a/tests/ase_traj/#MoS2/force.raw b/tests/ase_traj/#MoS2/force.raw new file mode 100644 index 00000000..c769e8ca --- /dev/null +++ b/tests/ase_traj/#MoS2/force.raw @@ -0,0 +1,3 @@ +9.013107678251028711e-04 -2.332439539904825748e-02 2.997344463656068277e-03 -1.800715757809372966e-04 7.487215463744179532e-03 1.955538483659603061e-02 -4.832574402657565890e-04 4.620230247334738104e-03 -1.481816829274890807e-02 5.119003383474286621e-04 1.046400786196914926e-03 3.876721520836999470e-04 -3.005148458955049441e-04 1.606027751391215196e-03 1.263092258415979101e-02 -1.964013762455138219e-04 -4.666502710863097442e-04 -1.289588882268987574e-02 -4.001373508732376447e-04 2.453173546087846716e-03 -1.814052634883730466e-03 -4.404635886398895316e-04 2.396628566787378464e-04 8.233302096758335353e-03 -3.170507741618406260e-04 -6.876221214723195457e-04 -1.218593709687693441e-02 -1.138602917319733641e-06 -1.040220317658065337e-03 -2.031563261661815164e-03 -3.249694150322219536e-04 1.967305561197316838e-03 1.031645420257711922e-02 -1.521767730619793006e-04 2.359156830168795960e-03 -1.452656755804656794e-02 -2.528451782260086812e-04 6.473958477493726993e-04 -1.061156533623803296e-03 9.985734615826665883e-06 -5.516475557626365940e-04 1.038171341305468148e-02 1.185002974722843341e-05 1.369221183777977538e-03 -1.309190601856571184e-02 8.961785288077316232e-04 -2.461389997695696916e-03 2.669610532214701125e-04 -5.114383480599002965e-06 3.543787845285087542e-04 1.096201761101626461e-02 6.143859644809677003e-04 2.857658752148673105e-03 -1.030226892479925091e-02 3.189342417186031881e-04 -6.638067873427321887e-03 1.033543886869158455e-03 -5.722243974540430680e-04 5.157727364008239321e-03 1.791611394261043155e-02 7.678347424980626887e-07 8.306352399538854611e-03 -1.184884271013952710e-02 -4.160794108918881937e-07 -2.301932828338753081e-02 2.633106064820684052e-03 1.750483108337487633e-04 7.486080543147466231e-03 1.955332119142613387e-02 4.784204635569508715e-04 4.619714599476504487e-03 -1.481563330487304340e-02 4.160564541195110270e-04 1.108918056892380316e-03 6.733068425863401440e-04 -1.598002734881222116e-06 1.871836423443442839e-03 1.236115527065935991e-02 -3.409086718760755013e-06 -8.548044758072781499e-04 -1.294473648036318855e-02 6.969502712263319754e-04 2.563235527646137366e-03 -1.513710631867686354e-03 5.188448730194940121e-04 1.131268267990138921e-03 8.029247594373878014e-03 -3.630870812440597671e-04 -1.167351576516778393e-03 -1.196189297111213863e-02 1.324337922148092670e-04 -4.662552753672812239e-04 -2.373756346956982111e-03 -3.670733159090830595e-04 5.084079330628554945e-04 1.114001476255749822e-02 -9.332104663527266905e-04 1.589694668376005369e-03 -1.509220376985755292e-02 2.499499042491709448e-04 6.271013758973925569e-04 -1.067376097037195859e-03 3.727458710267202700e-04 -4.805665773135116454e-04 9.929461217039924764e-03 -2.662917441223663884e-05 1.073470762285275246e-03 -1.284857933522444255e-02 -5.512023074314532185e-05 -2.397335500881887620e-03 -3.630167245443911405e-06 6.217431458197126279e-05 3.485608137110640615e-04 1.102186613171623857e-02 -5.579319447560525868e-04 2.840853482393496197e-03 -1.037198912448777932e-02 7.749969035629808564e-04 -7.862944376341369709e-03 1.964858533866699428e-03 -6.103083115157848730e-06 4.803080855538803366e-03 1.666957216368935082e-02 -5.533457883056459242e-06 7.629462007287973226e-03 -1.163066445753430794e-02 -9.009071585509206012e-04 -2.332197784152370904e-02 2.997052844101261160e-03 3.405888242186541149e-04 7.975833814541512246e-03 1.891980822051059913e-02 1.001152081815757672e-03 4.544321250564800282e-03 -1.388621256499234652e-02 -4.050373894938621489e-04 1.107737431625856065e-03 6.730207893834396675e-04 2.952581268712558085e-04 1.606803647830527901e-03 1.263167715964700136e-02 1.891753317353367955e-04 -4.663423293778858210e-04 -1.289581874687993276e-02 7.553340992529493639e-06 2.022090635502112998e-03 2.369484441102575299e-04 -5.248191905278162253e-04 1.131194600930463022e-03 8.030141190500264189e-03 3.560775769624892860e-04 -1.169676041822312893e-03 -1.196603819442118750e-02 -1.389114897337865142e-03 -1.368649505304198434e-03 2.401127909602409315e-03 -9.281247484002995164e-06 2.075054386468342684e-04 -2.183699418082837851e-02 -1.553514555985623623e-03 1.931345628027693329e-03 -2.644379049296604212e-03 -4.772654037309215160e-04 5.244336013604098583e-04 1.179521753364377347e-02 -5.713535014683592721e-04 1.767203351691700895e-03 -1.368198206482688743e-02 -9.166101311218871053e-04 -2.407653321147687486e-03 2.615953510772171483e-04 -1.135084779239641011e-04 -5.751805671811128454e-04 1.140659268578800983e-02 -1.081776138303032687e-04 2.782708382249178547e-03 -1.077893623349053878e-02 -5.860265381738403610e-04 -7.809720175855077058e-03 1.974080273037233466e-03 5.672090510890893901e-04 5.134059698932246125e-03 1.782687410109507625e-02 -2.856277382546206215e-06 8.287814199463776343e-03 -1.176586587702349931e-02 4.464362713748171283e-04 -2.447889478413218731e-02 3.894060345540760470e-03 -2.867421415858556547e-06 7.229596119614098600e-03 1.894639661374186712e-02 -3.047002567289436559e-06 3.312403439142635238e-03 -1.367243591989141145e-02 -5.072901144267834544e-04 1.044416616117741078e-03 3.890755820994092127e-04 1.996393890989032614e-04 1.653675066928644985e-03 1.260921641341936419e-02 1.020573388997790646e-04 -8.631998537186461647e-04 -1.323851578146431791e-02 -6.847439141102372928e-04 2.562141504105401937e-03 -1.510600067922800160e-03 4.325352336511970822e-04 2.397896968434620746e-04 8.234915225988966025e-03 3.091483403066746334e-04 -6.925465619409837013e-04 -1.219009294532885125e-02 1.405635392985853408e-03 -1.372616812020753486e-03 2.413349798347661813e-03 3.633640918128643580e-04 4.983702377795501057e-04 1.114756177805447529e-02 9.275859527431616841e-04 1.581149967796590056e-03 -1.510282829564781396e-02 8.262969129876839670e-06 2.810015788129394988e-03 -1.136410649584713084e-03 4.566935004160360147e-04 5.277366361681139597e-04 1.178821792790035045e-02 5.555653942215401210e-04 1.776985994238464367e-03 -1.366863166781563318e-02 -9.774233230034196345e-04 -1.235801965983451128e-03 -2.134518537837228926e-03 -4.518082266163068913e-05 6.423860797249057123e-04 1.177868276531963965e-02 -4.235493365425109475e-05 2.907898132552780724e-03 -1.179472927454668606e-02 -3.752874977205430300e-04 -6.526527907919821639e-03 1.038109829123053801e-03 3.416369407774637237e-04 4.577050514793021621e-03 1.830908655367120136e-02 4.640916209440172592e-04 8.992878551564952722e-03 -1.167937475713306562e-02 -4.424354238050447977e-04 -2.448280414589589643e-02 3.895330514667732277e-03 -3.450733629820855724e-04 7.979143576111050531e-03 1.892293767931177081e-02 -1.005593831799758784e-03 4.546967691679813101e-03 -1.388941145227178854e-02 1.858487320936608409e-06 2.620854842143163950e-03 4.806063525966544690e-04 -2.092320277838467888e-04 1.654063673411859366e-03 1.260884868693075422e-02 -1.133804790597254983e-04 -8.628935283782921762e-04 -1.323859729364694482e-02 4.058717459351572610e-04 2.453049765139873016e-03 -1.812673441494281994e-03 -4.559603502561759593e-06 2.113551939391602888e-04 7.543235844378592785e-03 -4.053043859133241622e-06 -4.388138979787805012e-04 -1.120128899462646474e-02 -1.234538609563104884e-04 -4.629967878346693795e-04 -2.367950089001834291e-03 3.239750129192312780e-04 1.960759247786146488e-03 1.032070312594584455e-02 1.534283551304932588e-04 2.351715206544131073e-03 -1.453247977058806997e-02 1.573923769105062048e-03 1.958093511054289325e-03 -2.645975667739694330e-03 -3.681477750704058977e-04 -4.723616964040490375e-04 9.908421836257810117e-03 3.259981145123360335e-05 1.080077187382555252e-03 -1.283260918922057327e-02 1.093426232485803602e-03 -1.268626543083426882e-03 -2.141893223203434216e-03 7.941824551306313098e-05 -5.409796592368746422e-04 1.129578084192918788e-02 7.720633509263674979e-05 2.811045498945556609e-03 -1.067028373743525264e-02 -8.386627568874872570e-05 -6.870189306548488486e-03 1.318908795577466249e-03 -3.454246572686867339e-04 4.581595263890528291e-03 1.835701754066616093e-02 -4.799819206117491980e-04 9.006958402114807402e-03 -1.172894538611081797e-02 +8.899314336109990500e-04 2.231846221248900627e-02 3.041183282123239955e-03 2.361247480281912731e-04 -2.955583973988173008e-03 -1.219544468255928139e-02 7.497256622968552118e-05 -4.869017642028875166e-03 1.653448706053790157e-02 -9.828085144822514517e-05 -1.625793586451841025e-03 5.621390130565020798e-04 7.665283397904509475e-05 1.088089936157407654e-03 -4.873579400702180917e-03 2.066335444189647556e-04 -1.074145226506060743e-03 4.492057072860414571e-03 7.209765922148254815e-05 -6.614391876695493826e-04 -1.592627984572591747e-03 -6.527103648930009908e-05 1.305679090650105388e-03 -7.846276481213091195e-03 4.909239056273160748e-04 4.474702237542853875e-04 4.010428729923692578e-03 -1.081247273537236554e-06 1.663300178566405737e-03 -2.290104551225056323e-03 -2.972715918105503746e-05 4.106585891686679517e-04 -7.354404527591077746e-03 -1.956664195381854895e-04 8.665630868673639868e-04 3.093421119942220930e-03 -1.428297554972176534e-04 -2.180787642851184777e-04 -1.688320923915357730e-03 6.238363872706183060e-05 -1.666884315493133992e-03 -6.063300445974106369e-03 6.004974900185228089e-05 -5.058742672172097466e-04 3.916234897616378136e-03 -4.249413044655641117e-04 -2.014515941184686211e-04 -5.404116687609814614e-04 1.368437425907088802e-03 -2.274518094315271417e-03 -6.192063095596166654e-03 1.285781810128792772e-03 -6.067447547935057633e-05 7.053125603462060203e-03 7.074836282161660068e-04 4.955334171111377278e-03 2.176206098314307190e-03 -1.081238591351062293e-03 -1.026028431151949395e-02 2.145099566100969516e-04 -7.048541735885488740e-05 -6.911404903440197985e-03 5.549115185539287357e-03 -2.700689341985095946e-06 2.026676016731248156e-02 2.733343821089781727e-03 -2.427044352447442434e-04 -2.954984964646807221e-03 -1.219525080585752083e-02 -8.075300092873953853e-05 -4.867202417144737316e-03 1.653460955249959341e-02 9.161342495738708817e-05 -2.189334428334550366e-03 7.540025141910846034e-04 -5.104769257073384388e-07 -4.704833015115512961e-04 -4.434619145565871744e-03 -8.240173210111615774e-07 -6.704570648996335813e-04 4.665675025431401980e-03 -3.669317475319228225e-06 -4.296889172942551581e-04 -1.182982391670071333e-03 -4.909359065040485443e-04 1.625196215202636069e-04 -7.250693781473998255e-03 -1.728744467158044014e-05 9.089560609477661916e-04 4.542834421590273043e-03 -1.667076482065234385e-04 1.320631807739073172e-03 -2.161072899105517895e-03 -1.691193294767979246e-03 9.898820532398345043e-04 -7.592826049301938836e-03 6.093639696156335789e-04 1.712734518425211875e-04 3.553212654399660365e-03 1.595791519665957180e-04 -2.153035494465427833e-04 -1.689921307162744503e-03 -1.600240437110613066e-03 -1.095183078016474148e-03 -6.365629207592126901e-03 -7.377922057090890041e-04 -1.467001412288672932e-04 3.534113234901505550e-03 1.234878819114326677e-04 3.605596105667130619e-04 7.438253037405060687e-05 -1.009745204785258022e-03 -2.060829050284491981e-03 -6.242122404072928885e-03 -9.519206708007495622e-04 1.230634697941270731e-04 7.108820221127673533e-03 4.911036166961683111e-04 5.533349651485710771e-03 2.226183740948508780e-03 1.687966301478674815e-04 -1.002117048226398507e-02 -5.126059978786002419e-04 1.262379774438161708e-04 -7.871662606967186337e-03 5.763889461349204837e-03 -8.931172329475457142e-04 2.233501606309897317e-02 3.040938422684617316e-03 -2.259769813943525766e-04 -2.255696372830672761e-03 -1.237733650506678620e-02 2.336981595501854661e-04 -5.475063483687184554e-03 1.758988912519787035e-02 -9.599915308816539495e-05 -2.187256754616138509e-03 7.540930589273657590e-04 -7.729770640833471586e-05 1.086969005796814981e-03 -4.872998411096330501e-03 -2.080631609958679263e-04 -1.075195049780265123e-03 4.493334558835648633e-03 -5.567506821040574068e-07 -2.631925388895181025e-05 -1.944613512923790231e-03 4.852985135025390481e-04 1.578369492916857706e-04 -7.249031498202103234e-03 1.195610024672591403e-05 9.052024438819940115e-04 4.543118521740749198e-03 2.364294143900189799e-03 2.638786124801493528e-03 -6.474803346993737892e-03 -1.011121809820313297e-05 3.623347522118762465e-04 8.835323810292131097e-03 9.963645066054568206e-04 -1.403534118786836605e-03 -1.260210311400256815e-03 -3.113518608922741021e-04 -6.366708014486693532e-04 -7.420541916352632779e-03 5.203371246555090618e-04 -8.431076756829859655e-04 3.793572299009187465e-03 4.848028762924280494e-04 -1.202529907145677158e-04 -5.483388391668473326e-04 -1.705948059923219698e-03 -1.090804244897353821e-03 -7.901481616059691238e-03 -2.495031021914845357e-03 1.114873326094862000e-03 7.658332387613681937e-03 -2.893120328865015300e-04 5.512725835805259642e-03 2.182707910361686519e-03 1.197404054055298218e-03 -1.006012389710502983e-02 -1.265099013412056023e-04 1.987323919670377058e-04 -6.739880031895848118e-03 5.900525494849736055e-03 7.475273388701834335e-04 2.407990951089084702e-02 3.663979004381706737e-03 1.186393306966657981e-06 -1.721509626751060095e-03 -1.139581851578425238e-02 1.425827169151639177e-06 -5.773505520686797454e-03 1.721000931264603934e-02 9.339344968035323471e-05 -1.623479944527981807e-03 5.624440889765936142e-04 -1.045961359217498340e-04 1.502537966019300980e-03 -5.040621491863109607e-03 -2.943767147258550534e-04 -8.753967495518023183e-04 4.377747768626683543e-03 -8.760128306134159824e-07 -4.287000588708085765e-04 -1.183781696246499759e-03 6.754277458043733196e-05 1.300181351724125599e-03 -7.844058362083065894e-03 -4.890895834610682570e-04 4.409402232721759923e-04 4.010152073473714426e-03 -2.364308607167028321e-03 2.639963041982426161e-03 -6.483143639320835226e-03 1.685696706528468959e-03 9.778550505283761015e-04 -7.593456915605220278e-03 -6.165514836116119243e-04 1.561088435572703312e-04 3.552323847320470757e-03 -1.222891722029482012e-05 -3.736986172001801991e-03 -4.759689982256784697e-03 2.249690220381437645e-04 -6.880696043194594116e-04 -7.417607844668098159e-03 -6.000655915607948105e-04 -8.879704261213113839e-04 3.778988261863481038e-03 3.989036104533879115e-04 -7.931237440869169349e-04 -2.036662082795359500e-04 -2.163204121143635385e-04 -2.255840763171275583e-03 -8.303812163995708331e-03 -1.893913874243700272e-04 1.346589257696184736e-03 7.419733203865194228e-03 -7.863829052237292748e-04 4.884715463840446498e-03 2.270040175504797839e-03 -1.123009700239689049e-03 -9.503050478188387190e-03 6.732523095015300338e-04 8.683233203480933762e-04 -5.363604706691570828e-03 5.364756255153867691e-03 -7.440388807421012465e-04 2.406934364027611684e-02 3.663936990392752634e-03 2.245973700708844638e-04 -2.257239448058522002e-03 -1.237849372797523821e-02 -2.357850437051027081e-04 -5.477407913824385195e-03 1.759055959567900826e-02 -2.654501492986038325e-06 -1.923465243977969408e-03 5.759510766859895917e-04 1.043330244808582369e-04 1.503594513458288932e-03 -5.041292915703809822e-03 2.929765449398028312e-04 -8.743509008642480831e-04 4.376903201311872250e-03 -7.926358643274778381e-05 -6.612612628795610115e-04 -1.592774613475867905e-03 3.217942120855024321e-06 9.560286768085085856e-04 -7.916090006728816048e-03 3.599221727755995464e-06 3.596491152423836953e-04 3.919506029856027925e-03 1.644828680604123170e-04 1.324914387450610393e-03 -2.164280878978481343e-03 5.238920643699154084e-05 4.029386180634109268e-04 -7.355145302921381120e-03 2.176997406213412097e-04 8.608823313460011893e-04 3.097580012576535684e-03 -1.001483409290071513e-03 -1.401854130609297370e-03 -1.258584638963234411e-03 1.631888359619265098e-03 -1.184261628383254973e-03 -6.336289794363258489e-03 7.706925846193206321e-04 -2.242974733147552659e-04 3.509871906483965059e-03 -5.900624120589914503e-04 -8.332068351382817357e-04 -2.078644198843911594e-04 1.584755028441168449e-03 -1.380966133578538386e-03 -7.828493778149992963e-03 2.365931431970968481e-03 8.424133813552697097e-04 7.577959719943545315e-03 -1.115766532794893595e-04 5.142718281802785216e-03 7.816435803973520837e-04 9.029130266816178321e-04 -9.612333232568822522e-03 8.606972789361349348e-04 -1.145331980000173977e-03 -5.465551440993311229e-03 5.116133167118294169e-03 +-5.328864521898683338e-04 8.140566735153953459e-03 2.610544037853203009e-03 2.812497202909661036e-04 -5.411596666603050824e-03 1.567663189074315622e-03 3.261309227144612035e-05 -7.919596183386889976e-03 2.931977751295120407e-03 2.596077137579539144e-04 5.653692368786305406e-03 2.953395296733507384e-04 -4.513619792624215901e-04 4.280154640946682437e-03 -5.918682382450869348e-03 8.285630791363386108e-05 2.237646382699414946e-03 5.596112933690710993e-03 1.778595069043842098e-04 -1.297361751232543317e-03 -1.794548441140951653e-03 -5.522469872201908473e-04 3.710065804780224795e-04 -5.502969253716408042e-03 -4.977926583438612449e-04 -6.992647541978288693e-04 1.647725317892491251e-03 -2.672395441555464203e-06 4.258008975701984460e-04 -2.254809599727764392e-03 -3.614019890825317699e-04 1.102048189513322139e-03 -5.093497275619799335e-03 -3.364950032353833387e-04 1.855402368263004646e-03 1.022518625366799182e-03 6.611578739547963824e-06 1.170509826940169726e-05 -1.775880984318807098e-03 2.391807290879291193e-05 6.618181036578319907e-04 -4.502247476309759015e-03 2.570541815061413570e-05 2.453610026392530688e-03 2.285119508419935878e-03 2.463424532652441117e-04 -4.744725226624744237e-04 -5.273707015001343357e-04 -1.901641793305978339e-04 2.530797369667244726e-03 -3.113530468757461003e-03 3.890851390498614748e-04 4.669723690989085151e-03 4.056666235135987508e-03 -6.087827234950888037e-04 -1.671231891322905909e-03 1.278273802226890295e-03 3.112518216136237804e-04 -3.450918223345893730e-04 1.558881096605556045e-03 4.717811165824209342e-06 2.569369842154726330e-03 4.173104784544284969e-03 -3.262021470967747869e-07 8.961764571527171611e-03 2.144964135246907062e-03 -2.849955989255340775e-04 -5.412565298537208233e-03 1.567737376185106973e-03 -3.668678536846434798e-05 -7.920082997981693976e-03 2.932030600681190518e-03 -6.244423546095017653e-05 5.062329473452736178e-03 3.886565261258550412e-04 -1.004602229479603894e-07 4.560972729698125651e-03 -5.677968962877967714e-03 -1.177757522060504242e-06 2.201469711508302965e-03 5.448688700829013021e-03 -1.651936190990099272e-05 -1.519663405749768510e-03 -1.293792957324454290e-03 2.780332384075690898e-04 1.093539152368556500e-03 -4.655252829132755857e-03 6.334500110276332623e-04 -6.085289193544505312e-04 1.497950120308933018e-03 -1.935881907422265828e-04 2.231566055637954136e-04 -2.190902915325083303e-03 2.685992219441881877e-04 1.339733715940487520e-03 -4.761748846353526868e-03 -1.524535196269031503e-04 2.009619583540508264e-03 6.903927400036167193e-04 -2.679886364968668615e-06 4.278357199128793736e-06 -1.779048645902770159e-03 6.272004524003612714e-04 6.485215542600823767e-04 -4.556000892117956919e-03 -4.419863973205464245e-04 2.502875338095066592e-03 2.079012696052014945e-03 1.729384156854698543e-05 -6.535851453871469128e-04 -2.892153369546966767e-04 3.202793199855440576e-04 2.593805507131537093e-03 -3.114696643865916877e-03 -2.590675245068355657e-04 4.726779370274407886e-03 4.055420130390092505e-03 -3.305177593154661419e-04 -1.785661936486568433e-03 2.054863562319704778e-03 6.542003891147860648e-05 -3.473639477052795966e-04 1.197022819587437474e-03 5.726805354601644476e-05 2.095951969447691372e-03 4.051499825976974389e-03 5.318512309278309626e-04 8.138260035881247217e-03 2.610556294395414284e-03 -2.077599350342959085e-04 -5.392085749311593262e-03 1.653140640740362668e-03 3.931052096596128974e-04 -8.795150547502616004e-03 3.139186799264794079e-03 6.289684179899479783e-05 5.062634674688075258e-03 3.889749326719035144e-04 4.496233580910970998e-04 4.278965711333963980e-03 -5.916962869869508458e-03 -8.551950842389050499e-05 2.236629389994145879e-03 5.595614798779355650e-03 1.945472054274958650e-06 -1.559392575122798283e-03 -6.273446516958260501e-04 -2.806124456810787015e-04 1.092738312712995472e-03 -4.654413157240870104e-03 -6.368719598988787072e-04 -6.105331627641470129e-04 1.497211063926012298e-03 -1.755218823722985017e-03 -6.675457308812233473e-04 -1.556484039614249070e-03 -6.429910769511617687e-06 9.899092246036626797e-04 -3.910060587832824008e-03 -2.076955944003444925e-04 1.536013635039383573e-04 -1.498610652955809260e-03 -4.654543679000268317e-06 1.138610040923390514e-03 -4.538357705331966252e-03 -1.087712171293603444e-03 2.527862427523884861e-03 1.067044040684842279e-03 -2.355984301981479685e-04 -4.362969725091872465e-04 -5.351185096991399994e-04 5.725271425949783350e-04 2.556920688122804684e-03 -3.754834218512804935e-03 2.810270597891459629e-05 5.307193094926001067e-03 4.124467746917753058e-03 5.054610257130364272e-04 -1.753480010836561652e-03 2.036079162912903320e-03 -2.848109033173590971e-04 -3.007310493755757761e-04 1.403281581804095282e-03 4.253068637640626727e-05 2.600451893179268111e-03 4.322080423698386117e-03 -4.330893753682929807e-04 7.661373849978505082e-03 3.385248551911968808e-03 -5.223117278581253080e-07 -4.550533430641251660e-03 1.797073475461873375e-03 -3.956605100781521643e-07 -8.474474810839174518e-03 3.387174953583432010e-03 -2.617729252207185212e-04 5.653490169476933953e-03 2.962520037585618707e-04 -4.202292032518248262e-05 4.614304588333573327e-03 -5.849506608112395485e-03 6.863453922761733075e-07 2.136059853303094898e-03 5.029285612731419948e-03 1.712335209464660240e-05 -1.518174357652469662e-03 -1.292826363514537657e-03 5.504264963120788015e-04 3.699751051004231909e-04 -5.501408989314682425e-03 4.958250384123223447e-04 -7.031450902217742426e-04 1.646811098916189453e-03 1.760847228970244087e-03 -6.680691304777816586e-04 -1.554432178846013425e-03 -2.716544533469370556e-04 1.330871571119346440e-03 -4.759307909410185992e-03 1.484111342626716584e-04 1.999296473447965527e-03 6.870397428852572904e-04 -3.706764030765882097e-06 2.129677783332068006e-03 -2.311167456032468120e-03 -2.899755951944548872e-05 1.125904720012790763e-03 -4.534799723700461485e-03 1.052833970438981541e-03 2.516686672743977896e-03 1.064232915124073984e-03 -1.333108032835162110e-04 2.805515789059040400e-04 -9.911789608573200357e-04 -7.991651437010733759e-05 3.726008990531943198e-03 -4.661232841657057813e-03 -7.609111209138166854e-05 6.002857647846961305e-03 4.102565053782534707e-03 5.439580889607082510e-04 -1.622957683003777192e-03 1.294027283940801538e-03 9.672805152702609703e-04 -1.381957183899657502e-03 1.468111142346308160e-03 -4.659108985609984924e-04 2.857204930134563461e-03 4.793408132377589663e-03 4.324999948198305516e-04 7.662306809585755010e-03 3.385553808151033853e-03 2.057455962621575034e-04 -5.389364680675267673e-03 1.652615979077672959e-03 -3.952008266686659319e-04 -8.793251098309298394e-03 3.139768539807752563e-03 -1.394751509039696768e-06 5.367999684254079647e-03 2.133135813818606450e-04 3.801797794869484919e-05 4.615229522193060700e-03 -5.850199445623168078e-03 -5.622820816131666926e-06 2.137251840482385680e-03 5.029211825491573980e-03 -1.812230037379841479e-04 -1.296733479294044991e-03 -1.793845150226069073e-03 -8.262818757468039986e-07 6.292729721526228899e-04 -5.436309700060317288e-03 -6.507631364559736965e-07 -1.047431576755923193e-04 1.627232589538455320e-03 1.932103478703853315e-04 2.264177944674948268e-04 -2.189992521505392236e-03 3.694830178152825467e-04 1.096542943215925115e-03 -5.092143011681361971e-03 3.458138654730113907e-04 1.849136275799825608e-03 1.021150092311664138e-03 2.118057125893754418e-04 1.625285090485794931e-04 -1.497612377117401488e-03 -6.148494757537663466e-04 6.256233790714309934e-04 -4.550102267440053055e-03 4.578039624987601170e-04 2.479749391109076391e-03 2.074947171936770973e-03 1.117993900525013432e-04 2.586225328904903252e-04 -9.937748374144353240e-04 -6.233368499273384119e-04 2.483649659265782256e-03 -3.763572530815650300e-03 -8.432107167055673160e-05 5.225091612794106541e-03 4.136000969617695949e-03 -9.907221763608920688e-05 -2.012628893861698881e-03 1.651106466310555331e-03 -1.041249400223460226e-03 -1.407552853175796570e-03 1.567428057187941282e-03 3.554279377602902754e-04 2.836893197835590411e-03 4.687391406828008734e-03 diff --git a/tests/ase_traj/#MoS2/type.raw b/tests/ase_traj/#MoS2/type.raw new file mode 100644 index 00000000..fa536987 --- /dev/null +++ b/tests/ase_traj/#MoS2/type.raw @@ -0,0 +1,104 @@ +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 +0 +1 +1 diff --git a/tests/ase_traj/#MoS2/type_map.raw b/tests/ase_traj/#MoS2/type_map.raw new file mode 100644 index 00000000..53a348b3 --- /dev/null +++ b/tests/ase_traj/#MoS2/type_map.raw @@ -0,0 +1,2 @@ +Mo +S diff --git a/tests/ase_traj/#MoS2/virial.raw b/tests/ase_traj/#MoS2/virial.raw new file mode 100644 index 00000000..6dbfae8b --- /dev/null +++ b/tests/ase_traj/#MoS2/virial.raw @@ -0,0 +1,3 @@ +1.447283625952611175e+00 5.772204562819483473e-04 3.310964541556151493e-05 5.772204562819483473e-04 -7.917604909755773246e-01 -1.345296796660241240e-02 3.310964541556151493e-05 -1.345296796660241240e-02 -6.358300447090128316e-01 +5.586853587538181953e-01 6.337326882196165191e-04 -5.993546670530403622e-05 6.337326882196165191e-04 -1.582677058443358931e+00 -1.015100351640258261e-02 -5.993546670530403622e-05 -1.015100351640258261e-02 -2.287293445704379202e+00 +9.427951250569688302e-01 6.312596267151768335e-04 -3.467606461001253595e-07 6.312596267151768335e-04 -1.277208215082217491e+00 -1.391758294054182797e-02 -3.467606461001253595e-07 -1.391758294054182797e-02 -1.703385461193421380e+00 From 1f8113e185567fd1ba69c06be2c77b43a356a189 Mon Sep 17 00:00:00 2001 From: Thang Nguyen <46436648+thangckt@users.noreply.github.com> Date: Mon, 27 May 2024 23:14:40 +0900 Subject: [PATCH 11/16] u --- tests/ase_traj/#MoS2/box.raw | 3 - tests/ase_traj/#MoS2/coord.raw | 3 - tests/ase_traj/#MoS2/energy.raw | 3 - tests/ase_traj/#MoS2/force.raw | 3 - tests/ase_traj/#MoS2/type.raw | 104 ------------------------------ tests/ase_traj/#MoS2/type_map.raw | 2 - tests/ase_traj/#MoS2/virial.raw | 3 - 7 files changed, 121 deletions(-) delete mode 100644 tests/ase_traj/#MoS2/box.raw delete mode 100644 tests/ase_traj/#MoS2/coord.raw delete mode 100644 tests/ase_traj/#MoS2/energy.raw delete mode 100644 tests/ase_traj/#MoS2/force.raw delete mode 100644 tests/ase_traj/#MoS2/type.raw delete mode 100644 tests/ase_traj/#MoS2/type_map.raw delete mode 100644 tests/ase_traj/#MoS2/virial.raw diff --git a/tests/ase_traj/#MoS2/box.raw b/tests/ase_traj/#MoS2/box.raw deleted file mode 100644 index c104fa1a..00000000 --- a/tests/ase_traj/#MoS2/box.raw +++ /dev/null @@ -1,3 +0,0 @@ -1.571723287959847148e+01 1.382976769974756167e-14 -4.335347714314398588e-27 -2.135776446678914908e+01 3.745820611488967700e+01 -5.045434369425391968e-16 2.142284677455918376e-24 8.545634906358754423e-15 2.312999999999935952e+01 -1.571734059897834079e+01 1.382976314475292595e-14 -4.334590580314998760e-27 -2.135791084402753981e+01 3.745820611488959173e+01 -5.045434369425390982e-16 2.155934654129174673e-24 8.545634906358737068e-15 2.312999999999930978e+01 -1.571733836538147244e+01 1.382976369106826543e-14 1.070818208280100644e-26 -2.135790780884721940e+01 3.745820611488941410e+01 -2.741620021286372525e-14 -1.227011684011214072e-23 -4.602381967266446384e-15 2.312999999999919609e+01 diff --git a/tests/ase_traj/#MoS2/coord.raw b/tests/ase_traj/#MoS2/coord.raw deleted file mode 100644 index 3fdeab79..00000000 --- a/tests/ase_traj/#MoS2/coord.raw +++ /dev/null @@ -1,3 +0,0 @@ --5.698917181841744117e+00 1.006790679306580394e+01 1.159245053571848239e+01 -4.124148015489565999e+00 1.088802337022864286e+01 1.315383735185872993e+01 -4.133118968716363639e+00 1.086190741420796613e+01 1.000733134883523334e+01 -7.267890536356554243e+00 1.273698271989690234e+01 1.158891517840854313e+01 -5.683596759923723596e+00 1.368706277403957472e+01 1.313437400602857785e+01 -5.709284394070140323e+00 1.366162503042886378e+01 1.000793735424933928e+01 -8.841702832703273174e+00 1.550089578223382780e+01 1.158717571654348610e+01 -7.251303482056198568e+00 1.643579562597492583e+01 1.313984541628219560e+01 -7.281059165397710586e+00 1.642087870241086378e+01 1.000323716977040078e+01 -1.041692876545396551e+01 1.825873596754246009e+01 1.158119272673626909e+01 -8.821943846043978965e+00 1.918508074987153122e+01 1.313819814976830891e+01 -8.845941842383382436e+00 1.917560395927925398e+01 1.000270590166260654e+01 -1.199618073825843112e+01 2.101155575753879390e+01 1.156390533994406589e+01 -1.041693743111767567e+01 2.193435873625131549e+01 1.313427014536195436e+01 -1.041693744539048261e+01 2.194353310684435954e+01 1.000090664546197416e+01 -1.356913420004361903e+01 2.376992782718692609e+01 1.156670372486669329e+01 -1.199579262729072227e+01 2.469462411737959329e+01 1.314429695808350473e+01 -1.198967025290584587e+01 2.470860008111487360e+01 1.000699283988100241e+01 -1.513623430404684633e+01 2.653175673146733260e+01 1.161275669332301064e+01 -1.356869490284493729e+01 2.753404029092070360e+01 1.308770381909617164e+01 -1.356108596304206593e+01 2.756170398235698826e+01 1.012504570146521665e+01 -2.558304034934836046e+00 1.006980273310816010e+01 1.158430616815146053e+01 -9.924592946396952886e-01 1.088802307619554277e+01 1.315383703252938297e+01 -9.834886043095262265e-01 1.086190701459755026e+01 1.000733101965925265e+01 -4.128804268604826078e+00 1.274232493671640576e+01 1.156519404322548894e+01 -2.558306242684514231e+00 1.370676133878904324e+01 1.310524266874485555e+01 -2.558306479971662828e+00 1.365501994800619912e+01 9.987832811009482725e+00 -5.690593164153622041e+00 1.551464941075666992e+01 1.155608893075993926e+01 -4.078117835059944518e+00 1.650688319293193729e+01 1.307881189048612214e+01 -4.146985493997946470e+00 1.643660008963127339e+01 9.937420963221658354e+00 -7.252251520775193860e+00 1.825797182629527171e+01 1.155937764455236128e+01 -5.595377446683438727e+00 1.918435702588932301e+01 1.308364674909424963e+01 -5.700406344960809335e+00 1.916187012105485721e+01 9.939404887867590688e+00 -8.837687449899291892e+00 2.101155718606796441e+01 1.156390558462243767e+01 -7.237174184890847961e+00 2.191958348614020125e+01 1.311286817387469839e+01 -7.274935598983326202e+00 2.194600101884719834e+01 9.985282410436752798e+00 -1.041694157185184366e+01 2.377328387059488790e+01 1.157496872621570105e+01 -8.838094904560733767e+00 2.469461773653482339e+01 1.314429268680620666e+01 -8.844217413754346779e+00 2.470859409720934963e+01 1.000699821242212018e+01 -1.199064168181607215e+01 2.653789936022496576e+01 1.158117533161214396e+01 -1.041694389184850245e+01 2.754153911227140838e+01 1.306860071727008865e+01 -1.041694321361428521e+01 2.755752490878823835e+01 1.010452294461432743e+01 5.823099934433714209e-01 1.006790650118490937e+01 1.159245014632243453e+01 2.148119405353396516e+00 1.087733829323083157e+01 1.316865096589381601e+01 2.158685908223945127e+00 1.086547323581495661e+01 1.002126261836044208e+01 -9.878077396453111003e-01 1.274232459365219405e+01 1.156519361478049923e+01 5.669847490892869768e-01 1.368706172481450878e+01 1.313437318585602753e+01 5.926721853159174769e-01 1.366162423522419544e+01 1.000793675826584739e+01 -2.558308955048808730e+00 1.553299890067566658e+01 1.151140750602048080e+01 -1.038499416393461550e+00 1.650688116503055269e+01 1.307881148225254009e+01 -9.696329174742051027e-01 1.643659952336661334e+01 9.937421174822970826e+00 -4.078505522603895983e+00 1.828591885126800776e+01 1.146013612415139349e+01 -2.558311174918602493e+00 1.919082972979224166e+01 9.876181758589398285e+00 -5.669621321207881870e+00 2.099642629779980396e+01 1.151606857264874151e+01 -4.083630182471662096e+00 2.185974028973842564e+01 1.308223613431343324e+01 -4.110311090025156489e+00 2.195381936351689589e+01 9.941772736885965855e+00 -7.264739618353374340e+00 2.376992117469228205e+01 1.156670390579104080e+01 -5.689252131741514340e+00 2.466672737423497708e+01 1.314745303753850969e+01 -5.695965488238677210e+00 2.472231891378701718e+01 1.000754510225564786e+01 -8.843247786636982966e+00 2.653789191798409774e+01 1.158117487190271078e+01 -7.265181321302753403e+00 2.753400612777943479e+01 1.308771939400797280e+01 -7.272794516266514186e+00 2.756167289310100799e+01 1.012503009205889626e+01 3.723364982714284732e+00 1.006519994348230007e+01 1.160199592113434974e+01 5.300312548763216114e+00 1.086757070425900373e+01 1.317464063944806973e+01 5.300312788909637973e+00 1.086074131292664369e+01 1.002853203100074353e+01 2.151279722427089425e+00 1.273698257395620814e+01 1.158891435545648285e+01 3.721948173366897539e+00 1.366637854516506856e+01 1.315510861932774489e+01 3.732018060849395802e+00 1.365748901374670865e+01 1.003021192480254875e+01 5.739761182288783958e-01 1.551464813041132373e+01 1.155608817117646581e+01 2.134685791685109635e+00 1.643579371956662527e+01 1.313984491160858070e+01 2.164441637163803112e+00 1.642087780927716167e+01 1.000323701073572025e+01 -1.038118088478996004e+00 1.828591792503268465e+01 1.146013615158802956e+01 4.787524939850497652e-01 1.918435580127990647e+01 1.308364712396041263e+01 5.837816028573388216e-01 1.916186915880260244e+01 9.939405535359684407e+00 -2.558313424751053500e+00 2.096405662177598117e+01 1.146677839202338944e+01 -1.032996118698992882e+00 2.185974077092517120e+01 1.308223668088551328e+01 -1.006314727332078274e+00 2.195382007072077002e+01 9.941772923759311098e+00 -4.120688522272067722e+00 2.375902750116983597e+01 1.155931858153266667e+01 -2.558308694539850325e+00 2.468409174093096325e+01 1.314070860660076612e+01 -2.558308191599064862e+00 2.471090731160718335e+01 1.000059508587925805e+01 -5.697633901250210187e+00 2.653174526590392190e+01 1.161275516284062803e+01 -4.131462413570855752e+00 2.753291014733921216e+01 1.308857623421079097e+01 -4.126892260652781808e+00 2.756033376482473329e+01 1.012248426738593388e+01 6.877259871691087767e+00 1.006520025870661428e+01 1.160199614119876621e+01 8.452506034244610333e+00 1.087733780656707872e+01 1.316865126091968641e+01 8.441939690068700486e+00 1.086547311527689885e+01 1.002126330885984551e+01 5.300311281762470017e+00 1.272974567527594658e+01 1.159863361046340913e+01 6.878673583853759155e+00 1.366637885172642974e+01 1.315510912648590924e+01 6.868604457932521612e+00 1.365748925488491139e+01 1.003021226165447111e+01 3.725086680482507351e+00 1.550089525876192376e+01 1.158717530344491387e+01 5.300307658925730081e+00 1.643026852450373454e+01 1.315595685424727712e+01 5.300307948427596116e+00 1.642075553780648534e+01 1.001898063525183247e+01 2.135627021627230615e+00 1.825796999882071958e+01 1.155937765542856255e+01 3.705316644233208834e+00 1.918507987148703720e+01 1.313819813373191714e+01 3.729314550136949347e+00 1.917560321427697190e+01 1.000270601888333566e+01 5.529910684498311468e-01 2.099642450322899023e+01 1.151606902024513168e+01 2.120539094848372663e+00 2.191958542985757674e+01 1.311286839315879149e+01 2.158299888112893417e+00 2.194600306389649802e+01 9.985282500410450623e+00 -9.959383860143034006e-01 2.375903118740000508e+01 1.155931945830122665e+01 5.726208276325375213e-01 2.466673477954738658e+01 1.314746194170199445e+01 5.793338760544003430e-01 2.472232703248838703e+01 1.000753835254378821e+01 -2.558312171072238961e+00 2.653463970605916344e+01 1.158100469501322571e+01 -9.851693249532823549e-01 2.753293164660075121e+01 1.308856633648331957e+01 -9.897348082304271433e-01 2.756035280198889126e+01 1.012249589870060618e+01 --5.698899252707963825e+00 1.006709166201017247e+01 1.159263035948073117e+01 -4.124179637130697351e+00 1.088843130913417490e+01 1.315483649412146505e+01 -4.133167570619408870e+00 1.086214597022126327e+01 1.000660970261920824e+01 -7.267923733387639196e+00 1.273697450636649720e+01 1.158894029398738112e+01 -5.683643392899686120e+00 1.368712639166996858e+01 1.313497238701403802e+01 -5.709320420419545350e+00 1.366156404965355442e+01 1.000732387341059848e+01 -8.841781462915788481e+00 1.550101751671864747e+01 1.158706673592200787e+01 -7.251368047490985624e+00 1.643579835174361392e+01 1.314019489380282657e+01 -7.281108160351989156e+00 1.642083476040329515e+01 1.000264617603186501e+01 -1.041700023114036888e+01 1.825869176357937107e+01 1.158106432740169822e+01 -8.822010789315669399e+00 1.918512689007783223e+01 1.313867678440783315e+01 -8.845993308837126534e+00 1.917567809616631536e+01 1.000197572819505254e+01 -1.199627442379864917e+01 2.101157610225475025e+01 1.156383000321370069e+01 -1.041700783812175501e+01 2.193425908668765700e+01 1.313480156520071951e+01 -1.041700777202155770e+01 2.194354226962850163e+01 1.000022114665214090e+01 -1.356918110741335681e+01 2.376981953311853246e+01 1.156671365098075732e+01 -1.199589292096264259e+01 2.469469478195286882e+01 1.314485803452081925e+01 -1.198973115373508236e+01 2.470882302781368978e+01 1.000648579541964445e+01 -1.513632398892794839e+01 2.653161865158584121e+01 1.161283751627225236e+01 -1.356883281573455413e+01 2.753445049905774056e+01 1.308853771133933641e+01 -1.356114615005609281e+01 2.756230257322127031e+01 1.012458796531722349e+01 -2.558321620595915391e+00 1.006895416839068069e+01 1.158446314312797831e+01 -9.924630879180625920e-01 1.088843096162388946e+01 1.315483607681463951e+01 -9.834754079604455246e-01 1.086214555082322342e+01 1.000660949191113502e+01 -4.128814835468618050e+00 1.274231221747578502e+01 1.156523427425823947e+01 -2.558323850347719475e+00 1.370683969327215124e+01 1.310583130497894366e+01 -2.558324199558698719e+00 1.365493597357263589e+01 9.987222696626044893e+00 -5.690607695324513493e+00 1.551477867288928181e+01 1.155599296520706609e+01 -4.078091778454123073e+00 1.650697302854138115e+01 1.307916705015558101e+01 -4.147016216635728725e+00 1.643653598201820287e+01 9.936874436795495313e+00 -7.252308485976815433e+00 1.825794968799876727e+01 1.155922331123963964e+01 -5.595375474460673182e+00 1.918435299305763309e+01 1.308417552277508378e+01 -5.700453642684905731e+00 1.916191714731199625e+01 9.938662362051044141e+00 -8.837736493325907716e+00 2.101157666210415087e+01 1.156382997493411047e+01 -7.237185259946379290e+00 2.191948751762386038e+01 1.311337421356438604e+01 -7.274961819513793060e+00 2.194599638597865976e+01 9.984602896519112036e+00 -1.041701426952339204e+01 2.377317026963250512e+01 1.157496079366018904e+01 -8.838132269672346553e+00 2.469468937746475490e+01 1.314485626208840685e+01 -8.844294228822720427e+00 2.470881732666051533e+01 1.000648824053289943e+01 -1.199069186855410862e+01 2.653770662284100013e+01 1.158129146035124535e+01 -1.041701427974139449e+01 2.754196475949682110e+01 1.306937948951783390e+01 -1.041701386983984889e+01 2.755811891261366497e+01 1.010405588915183372e+01 5.822569688391172615e-01 1.006709201375897145e+01 1.159262996003011281e+01 2.148142100819369293e+00 1.087779201814817220e+01 1.316962160472623466e+01 2.158744443040457650e+00 1.086572061654623766e+01 1.002059850403867003e+01 -9.878317610654293590e-01 1.274231187334548743e+01 1.156523384229066842e+01 5.669960551327258846e-01 1.368712539184315347e+01 1.313497166537040073e+01 5.926727798941318071e-01 1.366156329915635936e+01 1.000732323895071829e+01 -2.558326137410205536e+00 1.553311806620245505e+01 1.151140202005945135e+01 -1.038560854564283487e+00 1.650697097458445839e+01 1.307916671779559792e+01 -9.696376250638932826e-01 1.643653529713771277e+01 9.936874453079077796e+00 -4.078591907413184892e+00 1.828589016853135973e+01 1.146014318592271408e+01 -2.558329220662825865e+00 1.919082574813148412e+01 9.875150402439450303e+00 -5.669705046696358330e+00 2.099649777084153612e+01 1.151593118844558283e+01 -4.083628674504812928e+00 2.185962546758227631e+01 1.308278253002614555e+01 -4.110309682561839040e+00 2.195380678429133070e+01 9.941099952837461728e+00 -7.264835745506021958e+00 2.376981601403646494e+01 1.156671341934659125e+01 -5.689297506051098630e+00 2.466673661921281990e+01 1.314803159786408671e+01 -5.696012185548022799e+00 2.472251389509583674e+01 1.000699863819037283e+01 -8.843329305882473790e+00 2.653770140486098228e+01 1.158129098140530466e+01 -7.265186078573267814e+00 2.753441730265510756e+01 1.308854665965365704e+01 -7.272876246720580973e+00 2.756227225619459631e+01 1.012457872575549622e+01 3.723410268187445027e+00 1.006439143049602336e+01 1.160223419148382362e+01 5.300348763330512192e+00 1.086796662231453325e+01 1.317561256343038423e+01 5.300348997716789690e+00 1.086090331294546552e+01 1.002789139901055648e+01 2.151278021602788471e+00 1.273697433926019507e+01 1.158893954430077500e+01 3.721977454872941404e+00 1.366644562589704570e+01 1.315570809569650912e+01 3.732038054188936194e+00 1.365740916286103790e+01 1.002957440342161455e+01 5.739560914373011968e-01 1.551477736270247831e+01 1.155599233213189336e+01 2.134714926751356767e+00 1.643579642309564548e+01 1.314019451426714546e+01 2.164455197929858965e+00 1.642083359302407786e+01 1.000264582981251138e+01 -1.038065999667767469e+00 1.828588908996018603e+01 1.146014367481307872e+01 4.787152226750435169e-01 1.918435122968299922e+01 1.308417626158404801e+01 5.837934905863618740e-01 1.916191567592734302e+01 9.938662513290639211e+00 -2.558330732834627419e+00 2.096414467935515802e+01 1.146665402395987599e+01 -1.033034346848442420e+00 2.185962570648994330e+01 1.308278289121181182e+01 -1.006352621016402660e+00 2.195380754146965074e+01 9.941100572212027586e+00 -4.120765308366518553e+00 2.375897347957176464e+01 1.155920608741807243e+01 -2.558329821720393582e+00 2.468413657903467140e+01 1.314130721278504055e+01 -2.558329075969790534e+00 2.471108666165722667e+01 9.999971807126980750e+00 -5.697690300431923482e+00 2.653161180328933355e+01 1.161283663889430784e+01 -4.131492644766866285e+00 2.753327453744889652e+01 1.308941979971501191e+01 -4.126900623305139959e+00 2.756095783669405108e+01 1.012203444372014083e+01 6.877287471270479458e+00 1.006439120657153197e+01 1.160223446478635090e+01 8.452555768354786281e+00 1.087779169057048989e+01 1.316962205181610202e+01 8.441953587735357090e+00 1.086572061080768847e+01 1.002059904030497783e+01 5.300347658461863176e+00 1.272981359742230367e+01 1.159866441856982533e+01 6.878716498091043796e+00 1.366644594604461282e+01 1.315570855031458564e+01 6.868656556941311386e+00 1.365740940777058121e+01 1.002957475615765937e+01 3.725130407944358346e+00 1.550101698865586108e+01 1.158706637823132901e+01 5.300343797044993366e+00 1.643026394253148226e+01 1.315627024210271401e+01 5.300344106004795108e+00 1.642071689598810735e+01 1.001844432482108083e+01 2.135649300387166605e+00 1.825794803817464995e+01 1.155922352913199269e+01 3.705348687336053271e+00 1.918512566327444091e+01 1.313867697135866841e+01 3.729331181301127174e+00 1.917567696730004556e+01 1.000197558691800737e+01 5.530405907953713784e-01 2.099649710395302904e+01 1.151593157540700219e+01 2.120515596367548383e+00 2.191948914480678212e+01 1.311337394331668627e+01 2.158291651975258851e+00 2.194599806163761357e+01 9.984603330836570478e+00 -9.958933851514146784e-01 2.375897523388436028e+01 1.155920659564623421e+01 5.726288966981420980e-01 2.466674406764736815e+01 1.314803589819102747e+01 5.793432669142427605e-01 2.472252173696501387e+01 1.000699643570553476e+01 -2.558335276791040336e+00 2.653449836809068074e+01 1.158109459776694372e+01 -9.851755365296315237e-01 2.753329520962954291e+01 1.308941370637538526e+01 -9.897642960631177766e-01 2.756097654396804231e+01 1.012204188210788836e+01 --5.698903230904072359e+00 1.006727581965461660e+01 1.159265972183372106e+01 -4.124170662243650476e+00 1.088820799097116776e+01 1.315449126043842298e+01 -4.133161376897842132e+00 1.086191345752641624e+01 1.000699402016660144e+01 -7.267926029810379163e+00 1.273707963154028810e+01 1.158894607568725021e+01 -5.683643255674473593e+00 1.368717981996584321e+01 1.313471450669472418e+01 -5.709315575081569172e+00 1.366160308282726632e+01 1.000757845662496059e+01 -8.841769829494424471e+00 1.550094201862157384e+01 1.158705571512152765e+01 -7.251372477699439933e+00 1.643580504658980956e+01 1.313996316006667442e+01 -7.281104687536144482e+00 1.642083163643226129e+01 1.000284925929275204e+01 -1.041699865419464821e+01 1.825873434447315802e+01 1.158104319536925253e+01 -8.822013736982119880e+00 1.918512314043275069e+01 1.313841800708780916e+01 -8.846001476122141938e+00 1.917568234023756801e+01 1.000220142512669597e+01 -1.199627031184137849e+01 2.101156177594521424e+01 1.156380849918444653e+01 -1.041700663617005063e+01 2.193426202703923522e+01 1.313456092709732026e+01 -1.041700660643854626e+01 2.194355038983341188e+01 1.000045015172172036e+01 -1.356919415293687337e+01 2.376986014224661048e+01 1.156669928113934631e+01 -1.199587497442004391e+01 2.469464828299128456e+01 1.314462228642576314e+01 -1.198972606153838960e+01 2.470878833281939180e+01 1.000673247239376451e+01 -1.513632583422225686e+01 2.653172110248944904e+01 1.161285728898610259e+01 -1.356883589895097408e+01 2.753420106110278454e+01 1.308834665424756594e+01 -1.356115159500398804e+01 2.756207873875348824e+01 1.012481475667063258e+01 -2.558321280622569915e+00 1.006912340392266181e+01 1.158449711554532335e+01 -9.924713431332428115e-01 1.088820767831479763e+01 1.315449088375102704e+01 -9.834808739834294267e-01 1.086191308447501136e+01 1.000699377149015667e+01 -4.128818294485308016e+00 1.274240629750356746e+01 1.156524125777901979e+01 -2.558323436183255417e+00 1.370686557167022457e+01 1.310558184839655738e+01 -2.558323776235477354e+00 1.365498742781451114e+01 9.987479223462141675e+00 -5.690617549393459207e+00 1.551470118775830542e+01 1.155598677795485507e+01 -4.078107601409520555e+00 1.650695631104296979e+01 1.307894542679267147e+01 -4.147003954899821210e+00 1.643654985095486509e+01 9.937078097743565763e+00 -7.252311629498416679e+00 1.825797613219189586e+01 1.155921002231801609e+01 -5.595398415306819473e+00 1.918437388935696930e+01 1.308389888819569613e+01 -5.700435575686765510e+00 1.916191745550757730e+01 9.938900114370847305e+00 -8.837737357042287911e+00 2.101156276056269334e+01 1.156380858520116561e+01 -7.237209091899102553e+00 2.191949945939410682e+01 1.311313511541884935e+01 -7.274977996884548048e+00 2.194601617806352323e+01 9.984823274179646546e+00 -1.041701167069855316e+01 2.377321349731050049e+01 1.157496263901010281e+01 -8.838149779473342349e+00 2.469464155221822210e+01 1.314462085572834482e+01 -8.844298945037595061e+00 2.470878121718012466e+01 1.000673444082786112e+01 -1.199070063702153455e+01 2.653783629375429953e+01 1.158131202550609729e+01 -1.041701393604547832e+01 2.754171371100630594e+01 1.306919904349343398e+01 -1.041701348476136424e+01 2.755788267062252928e+01 1.010428705900806534e+01 5.822616357563122902e-01 1.006727588068776136e+01 1.159265932355778261e+01 2.148132556117443137e+00 1.087757196496283463e+01 1.316927938484911031e+01 2.158741612463619397e+00 1.086547350419073332e+01 1.002098432346608448e+01 -9.878277665256788298e-01 1.274240594006659677e+01 1.156524082564408218e+01 5.669967020372155275e-01 1.368717881494253419e+01 1.313471379206969836e+01 5.926687291323202711e-01 1.366160232880184999e+01 1.000757784628906322e+01 -2.558325909942864129e+00 1.553305317133280283e+01 1.151136789989835307e+01 -1.038544160393777505e+00 1.650695425687314355e+01 1.307894512675801124e+01 -9.696490174660746808e-01 1.643654919402273507e+01 9.937078170024131296e+00 -4.078568171721341784e+00 1.828593377668270037e+01 1.146000535765200645e+01 -2.558328629379290398e+00 1.919082787832470771e+01 9.875490311197415494e+00 -5.669675716057024140e+00 2.099645288853670166e+01 1.151593770085117008e+01 -4.083635989273449951e+00 2.185964547795340707e+01 1.308251468170386644e+01 -4.110311235361518101e+00 2.195381564145905884e+01 9.941315145204637105e+00 -7.264819393077482701e+00 2.376985518082773652e+01 1.156669926376524238e+01 -5.689304093725719547e+00 2.466671801661927077e+01 1.314776297648326420e+01 -5.696034127520958279e+00 2.472251080374117294e+01 1.000725741290882986e+01 -8.843322886566021168e+00 2.653782973751691188e+01 1.158131175337761398e+01 -7.265180042089830259e+00 2.753416797445815334e+01 1.308836069138753544e+01 -7.272868401906101177e+00 2.756204882158383995e+01 1.012480037176239911e+01 3.723405446386039319e+00 1.006459395159939163e+01 1.160225676216632351e+01 5.300348024692181248e+00 1.086777577850563858e+01 1.317528303942677503e+01 5.300348263549723882e+00 1.086067634355402234e+01 1.002826893005067355e+01 2.151280925956544632e+00 1.273707943444959945e+01 1.158894531661942828e+01 3.721973355907906011e+00 1.366651127183168413e+01 1.315545005754539964e+01 3.732035063548226894e+00 1.365745296492096905e+01 1.002982700456628429e+01 5.739664603794082387e-01 1.551469984323716922e+01 1.155598611161261147e+01 2.134720134395892366e+00 1.643580318155154885e+01 1.313996276311722511e+01 2.164452492835682751e+00 1.642083055135489644e+01 1.000284897458535127e+01 -1.038089328022311575e+00 1.828593275879876501e+01 1.146000565084143119e+01 4.787390672974672357e-01 1.918437241558287809e+01 1.308389950993547401e+01 5.837762807721084135e-01 1.916191628058552254e+01 9.938900455142547941e+00 -2.558330488716592743e+00 2.096409330369501234e+01 1.146657034845994794e+01 -1.033025584372179173e+00 2.185964585632912005e+01 1.308251494023678951e+01 -1.006349636990232943e+00 2.195381662972447145e+01 9.941315799966389477e+00 -4.120743142345192567e+00 2.375900640273706088e+01 1.155922048748163711e+01 -2.558327808464954778e+00 2.468411205073800829e+01 1.314102231130870457e+01 -2.558327092081891685e+00 2.471108963506725331e+01 1.000024501073619732e+01 -5.697683593646305056e+00 2.653171151239473602e+01 1.161285624420458440e+01 -4.131499413391155784e+00 2.753302833990519005e+01 1.308923922382946259e+01 -4.126892602727406434e+00 2.756074589412269304e+01 1.012226014694119769e+01 6.877290768649579888e+00 1.006459393497419619e+01 1.160225702669391090e+01 8.452563808181892568e+00 1.087757156826557114e+01 1.316927975829690212e+01 8.441954902678741490e+00 1.086547341529801258e+01 1.002098492387619899e+01 5.300346857501406106e+00 1.272989079722016648e+01 1.159866631282915073e+01 6.878719095386479410e+00 1.366651159498034929e+01 1.315545050689429374e+01 6.868658042922476170e+00 1.365745321673066037e+01 1.002982733920083547e+01 3.725119401188281998e+00 1.550094146112481575e+01 1.158705534517550895e+01 5.300343030296632563e+00 1.643027176753677310e+01 1.315605044228539100e+01 5.300343335862304883e+00 1.642071754613269974e+01 1.001863010784906471e+01 2.135653117279959545e+00 1.825797435978724437e+01 1.155921013843398804e+01 3.705352204734076338e+00 1.918512210929428718e+01 1.313841811264293469e+01 3.729339905321024329e+00 1.917568143847599771e+01 1.000220142676171164e+01 5.530116836252524370e-01 2.099645162911541263e+01 1.151593811827314084e+01 2.120539984486769836e+00 2.191950132997969192e+01 1.311313475578919352e+01 2.158308353697939275e+00 2.194601819770194595e+01 9.984823863332735527e+00 -9.959167969748842220e-01 2.375900913188741725e+01 1.155922120198045278e+01 5.726372380437072529e-01 2.466672722479448154e+01 1.314776685358279629e+01 5.793670876203240727e-01 2.472252051038532628e+01 1.000725542414085467e+01 -2.558331714215764663e+00 2.653459377732039925e+01 1.158110840187172386e+01 -9.851666307059278038e-01 2.753304885759270348e+01 1.308922996484461265e+01 -9.897693305100244698e-01 2.756076429338564537e+01 1.012227036153841198e+01 diff --git a/tests/ase_traj/#MoS2/energy.raw b/tests/ase_traj/#MoS2/energy.raw deleted file mode 100644 index b55ff4a4..00000000 --- a/tests/ase_traj/#MoS2/energy.raw +++ /dev/null @@ -1,3 +0,0 @@ --7.451970583582814243e+02 --7.451969391738879267e+02 --7.451971058997563659e+02 diff --git a/tests/ase_traj/#MoS2/force.raw b/tests/ase_traj/#MoS2/force.raw deleted file mode 100644 index c769e8ca..00000000 --- a/tests/ase_traj/#MoS2/force.raw +++ /dev/null @@ -1,3 +0,0 @@ -9.013107678251028711e-04 -2.332439539904825748e-02 2.997344463656068277e-03 -1.800715757809372966e-04 7.487215463744179532e-03 1.955538483659603061e-02 -4.832574402657565890e-04 4.620230247334738104e-03 -1.481816829274890807e-02 5.119003383474286621e-04 1.046400786196914926e-03 3.876721520836999470e-04 -3.005148458955049441e-04 1.606027751391215196e-03 1.263092258415979101e-02 -1.964013762455138219e-04 -4.666502710863097442e-04 -1.289588882268987574e-02 -4.001373508732376447e-04 2.453173546087846716e-03 -1.814052634883730466e-03 -4.404635886398895316e-04 2.396628566787378464e-04 8.233302096758335353e-03 -3.170507741618406260e-04 -6.876221214723195457e-04 -1.218593709687693441e-02 -1.138602917319733641e-06 -1.040220317658065337e-03 -2.031563261661815164e-03 -3.249694150322219536e-04 1.967305561197316838e-03 1.031645420257711922e-02 -1.521767730619793006e-04 2.359156830168795960e-03 -1.452656755804656794e-02 -2.528451782260086812e-04 6.473958477493726993e-04 -1.061156533623803296e-03 9.985734615826665883e-06 -5.516475557626365940e-04 1.038171341305468148e-02 1.185002974722843341e-05 1.369221183777977538e-03 -1.309190601856571184e-02 8.961785288077316232e-04 -2.461389997695696916e-03 2.669610532214701125e-04 -5.114383480599002965e-06 3.543787845285087542e-04 1.096201761101626461e-02 6.143859644809677003e-04 2.857658752148673105e-03 -1.030226892479925091e-02 3.189342417186031881e-04 -6.638067873427321887e-03 1.033543886869158455e-03 -5.722243974540430680e-04 5.157727364008239321e-03 1.791611394261043155e-02 7.678347424980626887e-07 8.306352399538854611e-03 -1.184884271013952710e-02 -4.160794108918881937e-07 -2.301932828338753081e-02 2.633106064820684052e-03 1.750483108337487633e-04 7.486080543147466231e-03 1.955332119142613387e-02 4.784204635569508715e-04 4.619714599476504487e-03 -1.481563330487304340e-02 4.160564541195110270e-04 1.108918056892380316e-03 6.733068425863401440e-04 -1.598002734881222116e-06 1.871836423443442839e-03 1.236115527065935991e-02 -3.409086718760755013e-06 -8.548044758072781499e-04 -1.294473648036318855e-02 6.969502712263319754e-04 2.563235527646137366e-03 -1.513710631867686354e-03 5.188448730194940121e-04 1.131268267990138921e-03 8.029247594373878014e-03 -3.630870812440597671e-04 -1.167351576516778393e-03 -1.196189297111213863e-02 1.324337922148092670e-04 -4.662552753672812239e-04 -2.373756346956982111e-03 -3.670733159090830595e-04 5.084079330628554945e-04 1.114001476255749822e-02 -9.332104663527266905e-04 1.589694668376005369e-03 -1.509220376985755292e-02 2.499499042491709448e-04 6.271013758973925569e-04 -1.067376097037195859e-03 3.727458710267202700e-04 -4.805665773135116454e-04 9.929461217039924764e-03 -2.662917441223663884e-05 1.073470762285275246e-03 -1.284857933522444255e-02 -5.512023074314532185e-05 -2.397335500881887620e-03 -3.630167245443911405e-06 6.217431458197126279e-05 3.485608137110640615e-04 1.102186613171623857e-02 -5.579319447560525868e-04 2.840853482393496197e-03 -1.037198912448777932e-02 7.749969035629808564e-04 -7.862944376341369709e-03 1.964858533866699428e-03 -6.103083115157848730e-06 4.803080855538803366e-03 1.666957216368935082e-02 -5.533457883056459242e-06 7.629462007287973226e-03 -1.163066445753430794e-02 -9.009071585509206012e-04 -2.332197784152370904e-02 2.997052844101261160e-03 3.405888242186541149e-04 7.975833814541512246e-03 1.891980822051059913e-02 1.001152081815757672e-03 4.544321250564800282e-03 -1.388621256499234652e-02 -4.050373894938621489e-04 1.107737431625856065e-03 6.730207893834396675e-04 2.952581268712558085e-04 1.606803647830527901e-03 1.263167715964700136e-02 1.891753317353367955e-04 -4.663423293778858210e-04 -1.289581874687993276e-02 7.553340992529493639e-06 2.022090635502112998e-03 2.369484441102575299e-04 -5.248191905278162253e-04 1.131194600930463022e-03 8.030141190500264189e-03 3.560775769624892860e-04 -1.169676041822312893e-03 -1.196603819442118750e-02 -1.389114897337865142e-03 -1.368649505304198434e-03 2.401127909602409315e-03 -9.281247484002995164e-06 2.075054386468342684e-04 -2.183699418082837851e-02 -1.553514555985623623e-03 1.931345628027693329e-03 -2.644379049296604212e-03 -4.772654037309215160e-04 5.244336013604098583e-04 1.179521753364377347e-02 -5.713535014683592721e-04 1.767203351691700895e-03 -1.368198206482688743e-02 -9.166101311218871053e-04 -2.407653321147687486e-03 2.615953510772171483e-04 -1.135084779239641011e-04 -5.751805671811128454e-04 1.140659268578800983e-02 -1.081776138303032687e-04 2.782708382249178547e-03 -1.077893623349053878e-02 -5.860265381738403610e-04 -7.809720175855077058e-03 1.974080273037233466e-03 5.672090510890893901e-04 5.134059698932246125e-03 1.782687410109507625e-02 -2.856277382546206215e-06 8.287814199463776343e-03 -1.176586587702349931e-02 4.464362713748171283e-04 -2.447889478413218731e-02 3.894060345540760470e-03 -2.867421415858556547e-06 7.229596119614098600e-03 1.894639661374186712e-02 -3.047002567289436559e-06 3.312403439142635238e-03 -1.367243591989141145e-02 -5.072901144267834544e-04 1.044416616117741078e-03 3.890755820994092127e-04 1.996393890989032614e-04 1.653675066928644985e-03 1.260921641341936419e-02 1.020573388997790646e-04 -8.631998537186461647e-04 -1.323851578146431791e-02 -6.847439141102372928e-04 2.562141504105401937e-03 -1.510600067922800160e-03 4.325352336511970822e-04 2.397896968434620746e-04 8.234915225988966025e-03 3.091483403066746334e-04 -6.925465619409837013e-04 -1.219009294532885125e-02 1.405635392985853408e-03 -1.372616812020753486e-03 2.413349798347661813e-03 3.633640918128643580e-04 4.983702377795501057e-04 1.114756177805447529e-02 9.275859527431616841e-04 1.581149967796590056e-03 -1.510282829564781396e-02 8.262969129876839670e-06 2.810015788129394988e-03 -1.136410649584713084e-03 4.566935004160360147e-04 5.277366361681139597e-04 1.178821792790035045e-02 5.555653942215401210e-04 1.776985994238464367e-03 -1.366863166781563318e-02 -9.774233230034196345e-04 -1.235801965983451128e-03 -2.134518537837228926e-03 -4.518082266163068913e-05 6.423860797249057123e-04 1.177868276531963965e-02 -4.235493365425109475e-05 2.907898132552780724e-03 -1.179472927454668606e-02 -3.752874977205430300e-04 -6.526527907919821639e-03 1.038109829123053801e-03 3.416369407774637237e-04 4.577050514793021621e-03 1.830908655367120136e-02 4.640916209440172592e-04 8.992878551564952722e-03 -1.167937475713306562e-02 -4.424354238050447977e-04 -2.448280414589589643e-02 3.895330514667732277e-03 -3.450733629820855724e-04 7.979143576111050531e-03 1.892293767931177081e-02 -1.005593831799758784e-03 4.546967691679813101e-03 -1.388941145227178854e-02 1.858487320936608409e-06 2.620854842143163950e-03 4.806063525966544690e-04 -2.092320277838467888e-04 1.654063673411859366e-03 1.260884868693075422e-02 -1.133804790597254983e-04 -8.628935283782921762e-04 -1.323859729364694482e-02 4.058717459351572610e-04 2.453049765139873016e-03 -1.812673441494281994e-03 -4.559603502561759593e-06 2.113551939391602888e-04 7.543235844378592785e-03 -4.053043859133241622e-06 -4.388138979787805012e-04 -1.120128899462646474e-02 -1.234538609563104884e-04 -4.629967878346693795e-04 -2.367950089001834291e-03 3.239750129192312780e-04 1.960759247786146488e-03 1.032070312594584455e-02 1.534283551304932588e-04 2.351715206544131073e-03 -1.453247977058806997e-02 1.573923769105062048e-03 1.958093511054289325e-03 -2.645975667739694330e-03 -3.681477750704058977e-04 -4.723616964040490375e-04 9.908421836257810117e-03 3.259981145123360335e-05 1.080077187382555252e-03 -1.283260918922057327e-02 1.093426232485803602e-03 -1.268626543083426882e-03 -2.141893223203434216e-03 7.941824551306313098e-05 -5.409796592368746422e-04 1.129578084192918788e-02 7.720633509263674979e-05 2.811045498945556609e-03 -1.067028373743525264e-02 -8.386627568874872570e-05 -6.870189306548488486e-03 1.318908795577466249e-03 -3.454246572686867339e-04 4.581595263890528291e-03 1.835701754066616093e-02 -4.799819206117491980e-04 9.006958402114807402e-03 -1.172894538611081797e-02 -8.899314336109990500e-04 2.231846221248900627e-02 3.041183282123239955e-03 2.361247480281912731e-04 -2.955583973988173008e-03 -1.219544468255928139e-02 7.497256622968552118e-05 -4.869017642028875166e-03 1.653448706053790157e-02 -9.828085144822514517e-05 -1.625793586451841025e-03 5.621390130565020798e-04 7.665283397904509475e-05 1.088089936157407654e-03 -4.873579400702180917e-03 2.066335444189647556e-04 -1.074145226506060743e-03 4.492057072860414571e-03 7.209765922148254815e-05 -6.614391876695493826e-04 -1.592627984572591747e-03 -6.527103648930009908e-05 1.305679090650105388e-03 -7.846276481213091195e-03 4.909239056273160748e-04 4.474702237542853875e-04 4.010428729923692578e-03 -1.081247273537236554e-06 1.663300178566405737e-03 -2.290104551225056323e-03 -2.972715918105503746e-05 4.106585891686679517e-04 -7.354404527591077746e-03 -1.956664195381854895e-04 8.665630868673639868e-04 3.093421119942220930e-03 -1.428297554972176534e-04 -2.180787642851184777e-04 -1.688320923915357730e-03 6.238363872706183060e-05 -1.666884315493133992e-03 -6.063300445974106369e-03 6.004974900185228089e-05 -5.058742672172097466e-04 3.916234897616378136e-03 -4.249413044655641117e-04 -2.014515941184686211e-04 -5.404116687609814614e-04 1.368437425907088802e-03 -2.274518094315271417e-03 -6.192063095596166654e-03 1.285781810128792772e-03 -6.067447547935057633e-05 7.053125603462060203e-03 7.074836282161660068e-04 4.955334171111377278e-03 2.176206098314307190e-03 -1.081238591351062293e-03 -1.026028431151949395e-02 2.145099566100969516e-04 -7.048541735885488740e-05 -6.911404903440197985e-03 5.549115185539287357e-03 -2.700689341985095946e-06 2.026676016731248156e-02 2.733343821089781727e-03 -2.427044352447442434e-04 -2.954984964646807221e-03 -1.219525080585752083e-02 -8.075300092873953853e-05 -4.867202417144737316e-03 1.653460955249959341e-02 9.161342495738708817e-05 -2.189334428334550366e-03 7.540025141910846034e-04 -5.104769257073384388e-07 -4.704833015115512961e-04 -4.434619145565871744e-03 -8.240173210111615774e-07 -6.704570648996335813e-04 4.665675025431401980e-03 -3.669317475319228225e-06 -4.296889172942551581e-04 -1.182982391670071333e-03 -4.909359065040485443e-04 1.625196215202636069e-04 -7.250693781473998255e-03 -1.728744467158044014e-05 9.089560609477661916e-04 4.542834421590273043e-03 -1.667076482065234385e-04 1.320631807739073172e-03 -2.161072899105517895e-03 -1.691193294767979246e-03 9.898820532398345043e-04 -7.592826049301938836e-03 6.093639696156335789e-04 1.712734518425211875e-04 3.553212654399660365e-03 1.595791519665957180e-04 -2.153035494465427833e-04 -1.689921307162744503e-03 -1.600240437110613066e-03 -1.095183078016474148e-03 -6.365629207592126901e-03 -7.377922057090890041e-04 -1.467001412288672932e-04 3.534113234901505550e-03 1.234878819114326677e-04 3.605596105667130619e-04 7.438253037405060687e-05 -1.009745204785258022e-03 -2.060829050284491981e-03 -6.242122404072928885e-03 -9.519206708007495622e-04 1.230634697941270731e-04 7.108820221127673533e-03 4.911036166961683111e-04 5.533349651485710771e-03 2.226183740948508780e-03 1.687966301478674815e-04 -1.002117048226398507e-02 -5.126059978786002419e-04 1.262379774438161708e-04 -7.871662606967186337e-03 5.763889461349204837e-03 -8.931172329475457142e-04 2.233501606309897317e-02 3.040938422684617316e-03 -2.259769813943525766e-04 -2.255696372830672761e-03 -1.237733650506678620e-02 2.336981595501854661e-04 -5.475063483687184554e-03 1.758988912519787035e-02 -9.599915308816539495e-05 -2.187256754616138509e-03 7.540930589273657590e-04 -7.729770640833471586e-05 1.086969005796814981e-03 -4.872998411096330501e-03 -2.080631609958679263e-04 -1.075195049780265123e-03 4.493334558835648633e-03 -5.567506821040574068e-07 -2.631925388895181025e-05 -1.944613512923790231e-03 4.852985135025390481e-04 1.578369492916857706e-04 -7.249031498202103234e-03 1.195610024672591403e-05 9.052024438819940115e-04 4.543118521740749198e-03 2.364294143900189799e-03 2.638786124801493528e-03 -6.474803346993737892e-03 -1.011121809820313297e-05 3.623347522118762465e-04 8.835323810292131097e-03 9.963645066054568206e-04 -1.403534118786836605e-03 -1.260210311400256815e-03 -3.113518608922741021e-04 -6.366708014486693532e-04 -7.420541916352632779e-03 5.203371246555090618e-04 -8.431076756829859655e-04 3.793572299009187465e-03 4.848028762924280494e-04 -1.202529907145677158e-04 -5.483388391668473326e-04 -1.705948059923219698e-03 -1.090804244897353821e-03 -7.901481616059691238e-03 -2.495031021914845357e-03 1.114873326094862000e-03 7.658332387613681937e-03 -2.893120328865015300e-04 5.512725835805259642e-03 2.182707910361686519e-03 1.197404054055298218e-03 -1.006012389710502983e-02 -1.265099013412056023e-04 1.987323919670377058e-04 -6.739880031895848118e-03 5.900525494849736055e-03 7.475273388701834335e-04 2.407990951089084702e-02 3.663979004381706737e-03 1.186393306966657981e-06 -1.721509626751060095e-03 -1.139581851578425238e-02 1.425827169151639177e-06 -5.773505520686797454e-03 1.721000931264603934e-02 9.339344968035323471e-05 -1.623479944527981807e-03 5.624440889765936142e-04 -1.045961359217498340e-04 1.502537966019300980e-03 -5.040621491863109607e-03 -2.943767147258550534e-04 -8.753967495518023183e-04 4.377747768626683543e-03 -8.760128306134159824e-07 -4.287000588708085765e-04 -1.183781696246499759e-03 6.754277458043733196e-05 1.300181351724125599e-03 -7.844058362083065894e-03 -4.890895834610682570e-04 4.409402232721759923e-04 4.010152073473714426e-03 -2.364308607167028321e-03 2.639963041982426161e-03 -6.483143639320835226e-03 1.685696706528468959e-03 9.778550505283761015e-04 -7.593456915605220278e-03 -6.165514836116119243e-04 1.561088435572703312e-04 3.552323847320470757e-03 -1.222891722029482012e-05 -3.736986172001801991e-03 -4.759689982256784697e-03 2.249690220381437645e-04 -6.880696043194594116e-04 -7.417607844668098159e-03 -6.000655915607948105e-04 -8.879704261213113839e-04 3.778988261863481038e-03 3.989036104533879115e-04 -7.931237440869169349e-04 -2.036662082795359500e-04 -2.163204121143635385e-04 -2.255840763171275583e-03 -8.303812163995708331e-03 -1.893913874243700272e-04 1.346589257696184736e-03 7.419733203865194228e-03 -7.863829052237292748e-04 4.884715463840446498e-03 2.270040175504797839e-03 -1.123009700239689049e-03 -9.503050478188387190e-03 6.732523095015300338e-04 8.683233203480933762e-04 -5.363604706691570828e-03 5.364756255153867691e-03 -7.440388807421012465e-04 2.406934364027611684e-02 3.663936990392752634e-03 2.245973700708844638e-04 -2.257239448058522002e-03 -1.237849372797523821e-02 -2.357850437051027081e-04 -5.477407913824385195e-03 1.759055959567900826e-02 -2.654501492986038325e-06 -1.923465243977969408e-03 5.759510766859895917e-04 1.043330244808582369e-04 1.503594513458288932e-03 -5.041292915703809822e-03 2.929765449398028312e-04 -8.743509008642480831e-04 4.376903201311872250e-03 -7.926358643274778381e-05 -6.612612628795610115e-04 -1.592774613475867905e-03 3.217942120855024321e-06 9.560286768085085856e-04 -7.916090006728816048e-03 3.599221727755995464e-06 3.596491152423836953e-04 3.919506029856027925e-03 1.644828680604123170e-04 1.324914387450610393e-03 -2.164280878978481343e-03 5.238920643699154084e-05 4.029386180634109268e-04 -7.355145302921381120e-03 2.176997406213412097e-04 8.608823313460011893e-04 3.097580012576535684e-03 -1.001483409290071513e-03 -1.401854130609297370e-03 -1.258584638963234411e-03 1.631888359619265098e-03 -1.184261628383254973e-03 -6.336289794363258489e-03 7.706925846193206321e-04 -2.242974733147552659e-04 3.509871906483965059e-03 -5.900624120589914503e-04 -8.332068351382817357e-04 -2.078644198843911594e-04 1.584755028441168449e-03 -1.380966133578538386e-03 -7.828493778149992963e-03 2.365931431970968481e-03 8.424133813552697097e-04 7.577959719943545315e-03 -1.115766532794893595e-04 5.142718281802785216e-03 7.816435803973520837e-04 9.029130266816178321e-04 -9.612333232568822522e-03 8.606972789361349348e-04 -1.145331980000173977e-03 -5.465551440993311229e-03 5.116133167118294169e-03 --5.328864521898683338e-04 8.140566735153953459e-03 2.610544037853203009e-03 2.812497202909661036e-04 -5.411596666603050824e-03 1.567663189074315622e-03 3.261309227144612035e-05 -7.919596183386889976e-03 2.931977751295120407e-03 2.596077137579539144e-04 5.653692368786305406e-03 2.953395296733507384e-04 -4.513619792624215901e-04 4.280154640946682437e-03 -5.918682382450869348e-03 8.285630791363386108e-05 2.237646382699414946e-03 5.596112933690710993e-03 1.778595069043842098e-04 -1.297361751232543317e-03 -1.794548441140951653e-03 -5.522469872201908473e-04 3.710065804780224795e-04 -5.502969253716408042e-03 -4.977926583438612449e-04 -6.992647541978288693e-04 1.647725317892491251e-03 -2.672395441555464203e-06 4.258008975701984460e-04 -2.254809599727764392e-03 -3.614019890825317699e-04 1.102048189513322139e-03 -5.093497275619799335e-03 -3.364950032353833387e-04 1.855402368263004646e-03 1.022518625366799182e-03 6.611578739547963824e-06 1.170509826940169726e-05 -1.775880984318807098e-03 2.391807290879291193e-05 6.618181036578319907e-04 -4.502247476309759015e-03 2.570541815061413570e-05 2.453610026392530688e-03 2.285119508419935878e-03 2.463424532652441117e-04 -4.744725226624744237e-04 -5.273707015001343357e-04 -1.901641793305978339e-04 2.530797369667244726e-03 -3.113530468757461003e-03 3.890851390498614748e-04 4.669723690989085151e-03 4.056666235135987508e-03 -6.087827234950888037e-04 -1.671231891322905909e-03 1.278273802226890295e-03 3.112518216136237804e-04 -3.450918223345893730e-04 1.558881096605556045e-03 4.717811165824209342e-06 2.569369842154726330e-03 4.173104784544284969e-03 -3.262021470967747869e-07 8.961764571527171611e-03 2.144964135246907062e-03 -2.849955989255340775e-04 -5.412565298537208233e-03 1.567737376185106973e-03 -3.668678536846434798e-05 -7.920082997981693976e-03 2.932030600681190518e-03 -6.244423546095017653e-05 5.062329473452736178e-03 3.886565261258550412e-04 -1.004602229479603894e-07 4.560972729698125651e-03 -5.677968962877967714e-03 -1.177757522060504242e-06 2.201469711508302965e-03 5.448688700829013021e-03 -1.651936190990099272e-05 -1.519663405749768510e-03 -1.293792957324454290e-03 2.780332384075690898e-04 1.093539152368556500e-03 -4.655252829132755857e-03 6.334500110276332623e-04 -6.085289193544505312e-04 1.497950120308933018e-03 -1.935881907422265828e-04 2.231566055637954136e-04 -2.190902915325083303e-03 2.685992219441881877e-04 1.339733715940487520e-03 -4.761748846353526868e-03 -1.524535196269031503e-04 2.009619583540508264e-03 6.903927400036167193e-04 -2.679886364968668615e-06 4.278357199128793736e-06 -1.779048645902770159e-03 6.272004524003612714e-04 6.485215542600823767e-04 -4.556000892117956919e-03 -4.419863973205464245e-04 2.502875338095066592e-03 2.079012696052014945e-03 1.729384156854698543e-05 -6.535851453871469128e-04 -2.892153369546966767e-04 3.202793199855440576e-04 2.593805507131537093e-03 -3.114696643865916877e-03 -2.590675245068355657e-04 4.726779370274407886e-03 4.055420130390092505e-03 -3.305177593154661419e-04 -1.785661936486568433e-03 2.054863562319704778e-03 6.542003891147860648e-05 -3.473639477052795966e-04 1.197022819587437474e-03 5.726805354601644476e-05 2.095951969447691372e-03 4.051499825976974389e-03 5.318512309278309626e-04 8.138260035881247217e-03 2.610556294395414284e-03 -2.077599350342959085e-04 -5.392085749311593262e-03 1.653140640740362668e-03 3.931052096596128974e-04 -8.795150547502616004e-03 3.139186799264794079e-03 6.289684179899479783e-05 5.062634674688075258e-03 3.889749326719035144e-04 4.496233580910970998e-04 4.278965711333963980e-03 -5.916962869869508458e-03 -8.551950842389050499e-05 2.236629389994145879e-03 5.595614798779355650e-03 1.945472054274958650e-06 -1.559392575122798283e-03 -6.273446516958260501e-04 -2.806124456810787015e-04 1.092738312712995472e-03 -4.654413157240870104e-03 -6.368719598988787072e-04 -6.105331627641470129e-04 1.497211063926012298e-03 -1.755218823722985017e-03 -6.675457308812233473e-04 -1.556484039614249070e-03 -6.429910769511617687e-06 9.899092246036626797e-04 -3.910060587832824008e-03 -2.076955944003444925e-04 1.536013635039383573e-04 -1.498610652955809260e-03 -4.654543679000268317e-06 1.138610040923390514e-03 -4.538357705331966252e-03 -1.087712171293603444e-03 2.527862427523884861e-03 1.067044040684842279e-03 -2.355984301981479685e-04 -4.362969725091872465e-04 -5.351185096991399994e-04 5.725271425949783350e-04 2.556920688122804684e-03 -3.754834218512804935e-03 2.810270597891459629e-05 5.307193094926001067e-03 4.124467746917753058e-03 5.054610257130364272e-04 -1.753480010836561652e-03 2.036079162912903320e-03 -2.848109033173590971e-04 -3.007310493755757761e-04 1.403281581804095282e-03 4.253068637640626727e-05 2.600451893179268111e-03 4.322080423698386117e-03 -4.330893753682929807e-04 7.661373849978505082e-03 3.385248551911968808e-03 -5.223117278581253080e-07 -4.550533430641251660e-03 1.797073475461873375e-03 -3.956605100781521643e-07 -8.474474810839174518e-03 3.387174953583432010e-03 -2.617729252207185212e-04 5.653490169476933953e-03 2.962520037585618707e-04 -4.202292032518248262e-05 4.614304588333573327e-03 -5.849506608112395485e-03 6.863453922761733075e-07 2.136059853303094898e-03 5.029285612731419948e-03 1.712335209464660240e-05 -1.518174357652469662e-03 -1.292826363514537657e-03 5.504264963120788015e-04 3.699751051004231909e-04 -5.501408989314682425e-03 4.958250384123223447e-04 -7.031450902217742426e-04 1.646811098916189453e-03 1.760847228970244087e-03 -6.680691304777816586e-04 -1.554432178846013425e-03 -2.716544533469370556e-04 1.330871571119346440e-03 -4.759307909410185992e-03 1.484111342626716584e-04 1.999296473447965527e-03 6.870397428852572904e-04 -3.706764030765882097e-06 2.129677783332068006e-03 -2.311167456032468120e-03 -2.899755951944548872e-05 1.125904720012790763e-03 -4.534799723700461485e-03 1.052833970438981541e-03 2.516686672743977896e-03 1.064232915124073984e-03 -1.333108032835162110e-04 2.805515789059040400e-04 -9.911789608573200357e-04 -7.991651437010733759e-05 3.726008990531943198e-03 -4.661232841657057813e-03 -7.609111209138166854e-05 6.002857647846961305e-03 4.102565053782534707e-03 5.439580889607082510e-04 -1.622957683003777192e-03 1.294027283940801538e-03 9.672805152702609703e-04 -1.381957183899657502e-03 1.468111142346308160e-03 -4.659108985609984924e-04 2.857204930134563461e-03 4.793408132377589663e-03 4.324999948198305516e-04 7.662306809585755010e-03 3.385553808151033853e-03 2.057455962621575034e-04 -5.389364680675267673e-03 1.652615979077672959e-03 -3.952008266686659319e-04 -8.793251098309298394e-03 3.139768539807752563e-03 -1.394751509039696768e-06 5.367999684254079647e-03 2.133135813818606450e-04 3.801797794869484919e-05 4.615229522193060700e-03 -5.850199445623168078e-03 -5.622820816131666926e-06 2.137251840482385680e-03 5.029211825491573980e-03 -1.812230037379841479e-04 -1.296733479294044991e-03 -1.793845150226069073e-03 -8.262818757468039986e-07 6.292729721526228899e-04 -5.436309700060317288e-03 -6.507631364559736965e-07 -1.047431576755923193e-04 1.627232589538455320e-03 1.932103478703853315e-04 2.264177944674948268e-04 -2.189992521505392236e-03 3.694830178152825467e-04 1.096542943215925115e-03 -5.092143011681361971e-03 3.458138654730113907e-04 1.849136275799825608e-03 1.021150092311664138e-03 2.118057125893754418e-04 1.625285090485794931e-04 -1.497612377117401488e-03 -6.148494757537663466e-04 6.256233790714309934e-04 -4.550102267440053055e-03 4.578039624987601170e-04 2.479749391109076391e-03 2.074947171936770973e-03 1.117993900525013432e-04 2.586225328904903252e-04 -9.937748374144353240e-04 -6.233368499273384119e-04 2.483649659265782256e-03 -3.763572530815650300e-03 -8.432107167055673160e-05 5.225091612794106541e-03 4.136000969617695949e-03 -9.907221763608920688e-05 -2.012628893861698881e-03 1.651106466310555331e-03 -1.041249400223460226e-03 -1.407552853175796570e-03 1.567428057187941282e-03 3.554279377602902754e-04 2.836893197835590411e-03 4.687391406828008734e-03 diff --git a/tests/ase_traj/#MoS2/type.raw b/tests/ase_traj/#MoS2/type.raw deleted file mode 100644 index fa536987..00000000 --- a/tests/ase_traj/#MoS2/type.raw +++ /dev/null @@ -1,104 +0,0 @@ -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 -0 -1 -1 diff --git a/tests/ase_traj/#MoS2/type_map.raw b/tests/ase_traj/#MoS2/type_map.raw deleted file mode 100644 index 53a348b3..00000000 --- a/tests/ase_traj/#MoS2/type_map.raw +++ /dev/null @@ -1,2 +0,0 @@ -Mo -S diff --git a/tests/ase_traj/#MoS2/virial.raw b/tests/ase_traj/#MoS2/virial.raw deleted file mode 100644 index 6dbfae8b..00000000 --- a/tests/ase_traj/#MoS2/virial.raw +++ /dev/null @@ -1,3 +0,0 @@ -1.447283625952611175e+00 5.772204562819483473e-04 3.310964541556151493e-05 5.772204562819483473e-04 -7.917604909755773246e-01 -1.345296796660241240e-02 3.310964541556151493e-05 -1.345296796660241240e-02 -6.358300447090128316e-01 -5.586853587538181953e-01 6.337326882196165191e-04 -5.993546670530403622e-05 6.337326882196165191e-04 -1.582677058443358931e+00 -1.015100351640258261e-02 -5.993546670530403622e-05 -1.015100351640258261e-02 -2.287293445704379202e+00 -9.427951250569688302e-01 6.312596267151768335e-04 -3.467606461001253595e-07 6.312596267151768335e-04 -1.277208215082217491e+00 -1.391758294054182797e-02 -3.467606461001253595e-07 -1.391758294054182797e-02 -1.703385461193421380e+00 From 14e48f8693da6c841bf478e02af34741c2960d3f Mon Sep 17 00:00:00 2001 From: Thang Nguyen <46436648+thangckt@users.noreply.github.com> Date: Mon, 27 May 2024 23:17:37 +0900 Subject: [PATCH 12/16] Update test.yml --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4a17fcde..0fbb51b2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.12"] + python-version: ["3.9", "3.12"] + # python-version: ["3.7", "3.8", "3.12"] steps: - uses: actions/checkout@v4 From 7315d777899e4538a848cccf41aa6fd29e1c0f2c Mon Sep 17 00:00:00 2001 From: Thang Nguyen <46436648+thangckt@users.noreply.github.com> Date: Mon, 27 May 2024 23:23:55 +0900 Subject: [PATCH 13/16] u --- .github/workflows/test.yml | 2 +- dpdata/plugins/ase.py | 6 +++--- tests/test_ase_traj.py | 10 ++++++---- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0fbb51b2..a9293370 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.12"] + python-version: ["3.11"] # python-version: ["3.7", "3.8", "3.12"] steps: diff --git a/dpdata/plugins/ase.py b/dpdata/plugins/ase.py index 5c129b6b..c6a595ab 100644 --- a/dpdata/plugins/ase.py +++ b/dpdata/plugins/ase.py @@ -1,6 +1,6 @@ from __future__ import annotations -from typing import TYPE_CHECKING, Generator, List +from typing import TYPE_CHECKING, Generator import numpy as np @@ -145,7 +145,7 @@ def from_multi_systems( frames = ase.io.read(file_name, format=ase_fmt, index=slice(begin, end, step)) yield from frames - def to_system(self, data, **kwargs) -> List[ase.Atoms]: + def to_system(self, data, **kwargs) -> list[ase.Atoms]: """Convert System to ASE Atom obj.""" from ase import Atoms @@ -163,7 +163,7 @@ def to_system(self, data, **kwargs) -> List[ase.Atoms]: return structures - def to_labeled_system(self, data, *args, **kwargs) -> List[ase.Atoms]: + def to_labeled_system(self, data, *args, **kwargs) -> list[ase.Atoms]: """Convert System to ASE Atoms object.""" from ase import Atoms from ase.calculators.singlepoint import SinglePointCalculator diff --git a/tests/test_ase_traj.py b/tests/test_ase_traj.py index 7ecb685a..efe3126d 100644 --- a/tests/test_ase_traj.py +++ b/tests/test_ase_traj.py @@ -70,9 +70,10 @@ def setUp(self): @unittest.skipIf(skip_ase, "skip ase related test. install ase to fix") class TestASEtraj4(unittest.TestCase, CompSys, IsPBC): def setUp(self): - self.system_1 = dpdata.System("ase_traj/MoS2", fmt="deepmd") - self.system_1.to(file_name="tmp.traj", fmt="ase/traj") + system_1 = dpdata.System("ase_traj/MoS2", fmt="deepmd") + system_1.to(file_name="tmp.traj", fmt="ase/traj") self.system_2 = dpdata.System("tmp.traj", fmt="ase/traj") + self.system_1 = system_1 self.places = 6 self.e_places = 6 self.f_places = 6 @@ -82,9 +83,10 @@ def setUp(self): @unittest.skipIf(skip_ase, "skip ase related test. install ase to fix") class TestASEtraj4Labeled(unittest.TestCase, CompLabeledSys, IsPBC): def setUp(self): - self.system_1 = dpdata.LabeledSystem("ase_traj/MoS2", fmt="deepmd") - self.system_1.to(file_name="tmp1.traj", fmt="ase/traj") + system_1 = dpdata.LabeledSystem("ase_traj/MoS2", fmt="deepmd") + system_1.to(file_name="tmp1.traj", fmt="ase/traj") self.system_2 = dpdata.LabeledSystem("tmp1.traj", fmt="ase/traj") + self.system_1 = system_1 self.places = 6 self.e_places = 6 self.f_places = 6 From be33545a39afefb804f8ce4681da0027bd6ab6eb Mon Sep 17 00:00:00 2001 From: Thang Nguyen <46436648+thangckt@users.noreply.github.com> Date: Mon, 27 May 2024 23:31:55 +0900 Subject: [PATCH 14/16] u --- dpdata/plugins/ase.py | 7 +++++++ tests/test_ase_traj.py | 14 ++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/dpdata/plugins/ase.py b/dpdata/plugins/ase.py index c6a595ab..6b80ebdf 100644 --- a/dpdata/plugins/ase.py +++ b/dpdata/plugins/ase.py @@ -1,3 +1,4 @@ +import os from __future__ import annotations from typing import TYPE_CHECKING, Generator @@ -313,6 +314,9 @@ def to_system(self, data, file_name: str = "confs.traj", **kwargs) -> None: file_name : str path to file """ + if os.path.isfile(file_name): + os.remove(file_name) + list_atoms = ASEStructureFormat().to_system(data, **kwargs) traj = Trajectory(file_name, "a") _ = [traj.write(atom) for atom in list_atoms] @@ -329,6 +333,9 @@ def to_labeled_system( file_name : str path to file """ + if os.path.isfile(file_name): + os.remove(file_name) + list_atoms = ASEStructureFormat().to_labeled_system(data, *args, **kwargs) traj = Trajectory(file_name, "a") _ = [traj.write(atom) for atom in list_atoms] diff --git a/tests/test_ase_traj.py b/tests/test_ase_traj.py index efe3126d..98bc8bc0 100644 --- a/tests/test_ase_traj.py +++ b/tests/test_ase_traj.py @@ -70,10 +70,9 @@ def setUp(self): @unittest.skipIf(skip_ase, "skip ase related test. install ase to fix") class TestASEtraj4(unittest.TestCase, CompSys, IsPBC): def setUp(self): - system_1 = dpdata.System("ase_traj/MoS2", fmt="deepmd") - system_1.to(file_name="tmp.traj", fmt="ase/traj") - self.system_2 = dpdata.System("tmp.traj", fmt="ase/traj") - self.system_1 = system_1 + self.system_1 = dpdata.System("ase_traj/MoS2", fmt="deepmd") + self.system_1.to(file_name="ase_traj/tmp.traj", fmt="ase/traj") + self.system_2 = dpdata.System("ase_traj/tmp.traj", fmt="ase/traj") self.places = 6 self.e_places = 6 self.f_places = 6 @@ -83,10 +82,9 @@ def setUp(self): @unittest.skipIf(skip_ase, "skip ase related test. install ase to fix") class TestASEtraj4Labeled(unittest.TestCase, CompLabeledSys, IsPBC): def setUp(self): - system_1 = dpdata.LabeledSystem("ase_traj/MoS2", fmt="deepmd") - system_1.to(file_name="tmp1.traj", fmt="ase/traj") - self.system_2 = dpdata.LabeledSystem("tmp1.traj", fmt="ase/traj") - self.system_1 = system_1 + self.system_1 = dpdata.LabeledSystem("ase_traj/MoS2", fmt="deepmd") + self.system_1.to(file_name="ase_traj/tmp1.traj", fmt="ase/traj") + self.system_2 = dpdata.LabeledSystem("ase_traj/tmp1.traj", fmt="ase/traj") self.places = 6 self.e_places = 6 self.f_places = 6 From af1c94b22c9623f960e2cb6dff9239f4164f3cc6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 14:32:05 +0000 Subject: [PATCH 15/16] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- dpdata/plugins/ase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dpdata/plugins/ase.py b/dpdata/plugins/ase.py index 6b80ebdf..0562b3dd 100644 --- a/dpdata/plugins/ase.py +++ b/dpdata/plugins/ase.py @@ -1,6 +1,6 @@ -import os from __future__ import annotations +import os from typing import TYPE_CHECKING, Generator import numpy as np From a222e8ef40c42d1b5b196316a80b121952b0f474 Mon Sep 17 00:00:00 2001 From: Thang Nguyen <46436648+thangckt@users.noreply.github.com> Date: Mon, 27 May 2024 23:35:02 +0900 Subject: [PATCH 16/16] Update test.yml --- .github/workflows/test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a9293370..4a17fcde 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,8 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.11"] - # python-version: ["3.7", "3.8", "3.12"] + python-version: ["3.7", "3.8", "3.12"] steps: - uses: actions/checkout@v4