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 atan2 for DataVector #304

Merged
merged 4 commits into from
Nov 4, 2017

Conversation

nilsdeppe
Copy link
Member

@nilsdeppe nilsdeppe commented Oct 27, 2017

This should be rebased after #303 is merged, and should only be merged after https://github.com/LLNL/spack/pull/5992 is merged into spack

@@ -14,7 +14,7 @@ See LICENSE.txt for details.
* [Charm++](http://charm.cs.illinois.edu/) 6.8 or newer (must be compiled from source)
* [Git](https://git-scm.com/)
* BLAS (e.g. [OpenBLAS](http://www.openblas.net))
* [Blaze](https://bitbucket.org/blaze-lib/blaze/overview)
* [Blaze](https://bitbucket.org/blaze-lib/blaze/overview) v3.2
Copy link
Member

Choose a reason for hiding this comment

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

Is it worth enforcing this in CMake?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, I'll have to see if there's a way to do that. I posted a similar question as an issue on the Blaze repo: https://bitbucket.org/blaze-lib/blaze/issues/138/check-blaze-version

@nilsdeppe nilsdeppe changed the title Add atan2 for DataVector Add atan2 for DataVector [bug] Oct 30, 2017
@nilsdeppe nilsdeppe changed the title Add atan2 for DataVector [bug] Add atan2 for DataVector Oct 30, 2017
@nilsdeppe nilsdeppe changed the title Add atan2 for DataVector [enhancement] Add atan2 for DataVector Oct 30, 2017
@nilsdeppe nilsdeppe changed the title [enhancement] Add atan2 for DataVector Add atan2 for DataVector Oct 30, 2017
@nilsdeppe
Copy link
Member Author

nilsdeppe commented Nov 2, 2017

This depends on #315 for Blaze's find_package updates. Before this can be merged the buildenv will need to be updated, which I'm working on now.

Spack has merged the PR mentioned in the description.

kidder
kidder previously approved these changes Nov 2, 2017
@@ -6,16 +6,99 @@

#pragma once

#include <cmath>
#include "Utilities/Blaze.hpp"
Copy link
Member

Choose a reason for hiding this comment

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

include blank line and comment

@codecov-io
Copy link

codecov-io commented Nov 2, 2017

Codecov Report

Merging #304 into develop will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #304      +/-   ##
===========================================
+ Coverage    98.51%   98.52%   +<.01%     
===========================================
  Files          177      178       +1     
  Lines         6614     6641      +27     
===========================================
+ Hits          6516     6543      +27     
  Misses          98       98
Impacted Files Coverage Δ
src/Utilities/PointerVector.hpp 96.25% <100%> (+0.04%) ⬆️
src/DataStructures/DataVector.hpp 100% <100%> (ø) ⬆️
src/Domain/CoordinateMaps/CoordinateMap.hpp 100% <0%> (ø) ⬆️
src/DataStructures/DataBox.hpp 94.95% <0%> (ø) ⬆️
src/Time/TimeSteppers/TimeStepper.hpp 100% <0%> (ø) ⬆️
.../PointwiseFunctions/MathFunctions/MathFunction.hpp 100% <0%> (ø) ⬆️
src/PointwiseFunctions/MathFunctions/Gaussian.hpp 100% <0%> (ø) ⬆️
src/PointwiseFunctions/MathFunctions/Sinusoid.hpp 100% <0%> (ø) ⬆️
src/PointwiseFunctions/MathFunctions/PowX.hpp 100% <0%> (ø) ⬆️
src/Parallel/RegisterDerivedClassesWithCharm.hpp 100% <0%> (ø)
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ec6d204...9288b84. Read the comment docs.

kidder
kidder previously approved these changes Nov 2, 2017
@nilsdeppe
Copy link
Member Author

@kidder @wthrowe This has now been rebased on develop and should be ready.

@sxs-collaboration sxs-collaboration deleted a comment from kidder Nov 3, 2017
@sxs-collaboration sxs-collaboration deleted a comment from kidder Nov 3, 2017
@sxs-collaboration sxs-collaboration deleted a comment from kidder Nov 3, 2017
@sxs-collaboration sxs-collaboration deleted a comment from kidder Nov 3, 2017
Copy link
Member

@kidder kidder left a comment

Choose a reason for hiding this comment

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

mac builds are failing because blaze 3.2 is required but only 3.1 is found

@nilsdeppe
Copy link
Member Author

Okay, pushed a commit that should fix this

@kidder kidder merged commit d14ef2b into sxs-collaboration:develop Nov 4, 2017
@nilsdeppe nilsdeppe deleted the datavector_atan2 branch November 5, 2017 15:28
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 this pull request may close these issues.

4 participants