Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

main.py 747 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  1. import pathlib
  2. from src import (
  3. EinsteinDiffusionNode,
  4. LammpsSimulator,
  5. MDSuiteDB,
  6. RadialDistributionFunctionNode,
  7. )
  8. if __name__ == "__main__":
  9. npt_simulator = LammpsSimulator(
  10. template_file=pathlib.Path("templates", "npt.lmp"),
  11. input_trajectory="NaCl.xyz",
  12. name="NPT",
  13. temperature=-1,
  14. )
  15. npt_simulator.write_graph()
  16. nvt_simulator = LammpsSimulator(
  17. template_file=pathlib.Path("templates", "nvt.lmp"),
  18. input_simulation=npt_simulator,
  19. name="NVT",
  20. temperature=-1,
  21. )
  22. nvt_simulator.write_graph()
  23. MDSuiteDB(simulator=nvt_simulator).write_graph()
  24. EinsteinDiffusionNode().write_graph()
  25. RadialDistributionFunctionNode().write_graph()
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...