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

Script to write out nodes, weights, etc #99

Open
danielru opened this issue Jun 16, 2018 · 3 comments
Open

Script to write out nodes, weights, etc #99

danielru opened this issue Jun 16, 2018 · 3 comments
Labels

Comments

@danielru
Copy link
Member

Where would be a good place to add a script that can be run to generate the nodes, weights, Q and S matrix for a specific type and number of nodes?

@pancetta
Copy link
Member

pancetta commented Jun 16, 2018

Do you want such a script for all available collocation types? Or just for one? In the latter case you can just instantiate your collocation and get all parameters from the object directly. No need for a dedicated script, right?

What is your "application" for this, 5.45am in the morning?

@danielru
Copy link
Member Author

For all of them. I find myself frequently moving out some of the collocation classes to compute weights etc when writing small, testing codes for some new variant of SDC. Having this integrated in pySDC would make it more convenient.

Writing the script will be easy, but I was wondering where in the directory structure would be the best place to put it?

@pancetta
Copy link
Member

I guess the best place would be https://github.com/Parallel-in-Time/pySDC/tree/master/pySDC/helpers. This is where all helper modules should go, i.e. stuff you use every now and then but which does not fit into any of the other structures.

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

No branches or pull requests

2 participants