Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support file chaining #13

Open
tkittel opened this issue Mar 29, 2017 · 0 comments
Open

Support file chaining #13

tkittel opened this issue Mar 29, 2017 · 0 comments

Comments

@tkittel
Copy link
Member

tkittel commented Mar 29, 2017

In order to make life easier for users and hook-writers, it would be great if we could support automatic chaining of input files, in the sense that users provide a list of files (could support wild cards), and then simply loop over particles in all of those files.

It is probably simplest to ignore meta-data in this case and simply provide a few dedicated functions for setting up a new mcpl_inputchain_t object, which can be opened and closed with a dedicated function and looped through with a new mcpl_chainread function (perhaps a few other functions should exists as well, for forward skipping, rewinding and a way to tell the current file and position in the current file - for debugging/logging purposes).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant