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

Add Hash for MeshGrids so that one can check mesh equvalence on the fly #58

Open
3 tasks
kunyuan opened this issue Sep 26, 2022 · 0 comments
Open
3 tasks
Labels
enhancement New feature or request priority:medium

Comments

@kunyuan
Copy link
Member

kunyuan commented Sep 26, 2022

  • design a hash function that calculates a hash number for a given mesh type and mesh points.
    - Of course, it will be best for each mesh type to implement their specialized hash function
    - If not, a generic hash function can be used based on the iterator interface.

  • Add meshash field in MeshArray struct

  • Based on meshhash, now one can check meshes of the incoming MeshArrays in +,-,*,/ operations on the fly.

@kunyuan kunyuan added the enhancement New feature or request label Sep 26, 2022
@kunyuan kunyuan added this to To do in Green's function via automation Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority:medium
Projects
Development

No branches or pull requests

1 participant