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

How to define domain ordering? #68

Open
Alaya-in-Matrix opened this issue Jul 5, 2020 · 1 comment
Open

How to define domain ordering? #68

Alaya-in-Matrix opened this issue Jul 5, 2020 · 1 comment

Comments

@Alaya-in-Matrix
Copy link

It seems that to use discrete fidelities, I need to define the domain_ordering, but I can't find documentation about how the ordering should be defined.

@latmarat
Copy link

latmarat commented Jul 9, 2020

I am a beginner with dragonfly myself but it looks like you could get orderings from the "configuration" dictionary, which contains domain information. See lines 35 and 44 of one of the examples:

config = load_config_file(config_file)
domain, domain_orderings = config.domain, config.domain_orderings

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

No branches or pull requests

2 participants