GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.lammps.org — 2.3.6. System properties — LAMMPS documentation 2.3.6. System propertiesSimilar to what is described in System properties, the instances of
In some cases the data returned is a direct reference to the original data
inside LAMMPS cast to Warning When accessing per-atom data, please note that this data is the per-processor local data and indexed accordingly. These arrays can change sizes and order at every neighbor list rebuild and atom sort event as atoms are migrating between subdomains. from lammps import lammps lmp = lammps() lmp.file("in.sysinit") natoms = lmp.get_natoms() print(f"running simulation with {natoms} atoms") lmp.command("run 1000 post no"); for i in range(10): lmp.command("run 100 pre no post no") pe = lmp.get_thermo("pe") ke = lmp.get_thermo("ke") print(f"PE = {pe}\nKE = {ke}") lmp.close() Methods:
Properties:
|
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |