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

Hardcoded Nc and Nd #351

Open
Heinrich-BR opened this issue Apr 20, 2021 · 0 comments
Open

Hardcoded Nc and Nd #351

Heinrich-BR opened this issue Apr 20, 2021 · 0 comments

Comments

@Heinrich-BR
Copy link

Grid has a hardcoded number of dimensions and colours to work with. This makes it hard to create gauge field types when attempting to write simulations in other dimensionalities and gauge groups, such as in the Holographic Cosmology project

Nc and Nd are defined in QCD.h and are directly used in a number of gauge and fermion functions. Particularly for my purposes, it would be ideal to have the template in GaugeImplTypes.h include a choice of Nc and Nd (in this case the choice of Nc is already present), and the functions that compute average plaquettes and wilson loops like in WilsonGaugeAction.h use the gauge field's dimensionality from the template, as opposed to the hardcoded Nd and Nc.

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

1 participant