Reading file with time dependent format
June 16, 2022
8:48 p.m.
Dear users, I"m working with LAMMPS, an application to simulate particles and the outputs comes in this format ----------------------- HEADERS timestep1(It"s a number) N°atoms ... Bin Value 1 24 2 54 3 63 ... 99 32 timestep2 N°atoms ... Bin Value 1 64 2 75 3 65 ... 99 65 timestep3 .... and goes on ---------------------------- So I would like to know if there is a way to create an array with 3 dimensions Array = [Atom,Value,Timestep] with just a few lines reading the output file. Thanks !
1360
Age (days ago)
1360
Last active (days ago)
0 comments
1 participants
participants (1)
-
MATIAS ANDRES LERDON