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

Topic clean vector #138

Merged

Conversation

psychocoderHPC
Copy link
Member

  • add toString method for math::vector
  • rename math::vector.volume() method to productOfComponents()
  • delete all methods in DataSpace which not return a DataSpace and are defines in math::Vector
  • use toString() to print DataSpace

- add toString method for math::vector
- rename math::vector.volume method to productOfComponents
- delete all methods in DataSpace which not return a DataDaspace and are defines in math::Vector
@ghost ghost assigned ax3l Jan 21, 2014
@@ -117,14 +117,23 @@ struct Vector : public detail::Vector_components<Type, _dim>, _Accessor, _Naviga
typedef _Navigator Navigator;
typedef Vector<Type, dim, Accessor, Navigator> This;

/*Vector without elements are not allowed*/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either
VectorS ... are not allowed
or
A vector ... is not allowed

@ax3l
Copy link
Member

ax3l commented Jan 21, 2014

All right, besides the minor inline comments you get my 👍

ax3l added a commit that referenced this pull request Jan 22, 2014
Refactor Vector/DataSpace implementation
@ax3l ax3l merged commit 7159f08 into ComputationalRadiationPhysics:dev Jan 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants