Author Topic: how to import_file with specified dump files  (Read 179 times)

Kevin

  • Newbie
  • *
  • Posts: 25
how to import_file with specified dump files
« on: February 25, 2018, 07:32:53 AM »
Hello everyone,

Is there a way to import only the dump files that I want?

I know combining 'wildcard character' and 'multiple_frames' option would allow OVITO to import multiple frames as follows:
Code: [Select]
import_file("dump.200.*",  multiple_frames = True)
However, let's say one has dump files called dump.0000, dump.0001, dump.0002, dump.0003.
And one only wants OVITO to import all the frames only in dump.0000 and dump.0001, excluding dump.0002 and dump.0003.

If anyone has encountered a problem like this and figured out how to do so,
please share your solution.

-Kevin

Alexander Stukowski

  • Administrator
  • Sr. Member
  • *****
  • Posts: 398
Re: how to import_file with specified dump files
« Reply #1 on: February 27, 2018, 09:27:54 AM »
Hi Kevin,

I don't think that this can be done with any of the current program versions. You need to live with the fact that OVITO will read in all the files in the series.

But I like the idea and agree that, in general, this would be a useful feature that would bring additional flexibility. I added a corresponding feature request to the GitLab project and hope to find some time to implement this extension in the future:

https://gitlab.com/stuko/ovito/issues/71

-Alex