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

Implement shape detection in internal WithCmd tool #1072

Open
GiovanniBussi opened this issue May 8, 2024 · 0 comments
Open

Implement shape detection in internal WithCmd tool #1072

GiovanniBussi opened this issue May 8, 2024 · 0 comments
Assignees

Comments

@GiovanniBussi
Copy link
Member

In #1050 I implemented detection of the shape of arrays in the external wrapper class (Plumed::cmd). This is available for MD codes linking plumed. When using the cmd functions internally (e.g. in driver) it is still necessary to provide explicitly the shape or renounce to shape checking.

I would like to implement the same logic that is now in wrapper/Plumed.h also in core/WithCmd.h. It might be slighlty simpler since we can use c++17 there (and if constexpr).

@GiovanniBussi GiovanniBussi self-assigned this May 8, 2024
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