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

Consider morph::vvec<morph::vec<C, 2>> as container in morph::Grid #240

Closed
sebjameswml opened this issue Oct 7, 2024 · 0 comments · Fixed by #252
Closed

Consider morph::vvec<morph::vec<C, 2>> as container in morph::Grid #240

sebjameswml opened this issue Oct 7, 2024 · 0 comments · Fixed by #252

Comments

@sebjameswml
Copy link
Collaborator

Rather than using

        //! Two vector structures that contains the coords for this grid. v_x is a vector of the x coordinates
        morph::vvec<C> v_x;
        //! v_y is a vector of the y coordinates
        morph::vvec<C> v_y;

Instead consider

        morph::vvec<morph::vec<C, 2>> v_coords;
@sebjameswml sebjameswml changed the title Consider morph::vvec<morph::vec<I, 2>> as container in morph::Grid Consider morph::vvec<morph::vec<C, 2>> as container in morph::Grid Oct 7, 2024
@sebjameswml sebjameswml linked a pull request Oct 9, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant