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

Matrix product and Langevin simplification #3301

Merged
merged 7 commits into from
Nov 12, 2019
Merged

Matrix product and Langevin simplification #3301

merged 7 commits into from
Nov 12, 2019

Conversation

fweik
Copy link
Contributor

@fweik fweik commented Nov 11, 2019

Description of changes:

  • 3x3 matrix product for Utils::Matrix
  • space to body frame conversion for linear maps
  • Some simplification of the langevin thermostat

@fweik fweik requested a review from jngrad November 11, 2019 21:59
@fweik fweik changed the title Mat prod Matrix product and Langevin simplification Nov 11, 2019
@codecov
Copy link

codecov bot commented Nov 11, 2019

Codecov Report

Merging #3301 into python will decrease coverage by <1%.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           python   #3301   +/-   ##
======================================
- Coverage      86%     86%   -1%     
======================================
  Files         536     536           
  Lines       25554   25564   +10     
======================================
+ Hits        21985   21989    +4     
- Misses       3569    3575    +6
Impacted Files Coverage Δ
src/utils/tests/rotation_matrix_test.cpp 100% <ø> (ø) ⬆️
src/utils/include/utils/math/rotation_matrix.hpp 100% <ø> (ø) ⬆️
src/utils/tests/Vector_test.cpp 100% <100%> (ø) ⬆️
src/core/thermostat.hpp 96% <100%> (-1%) ⬇️
src/core/rotation.hpp 100% <100%> (ø) ⬆️
src/utils/include/utils/Vector.hpp 100% <100%> (ø) ⬆️
src/core/particle_data.cpp 96% <0%> (-1%) ⬇️
src/core/electrostatics_magnetostatics/p3m.cpp 86% <0%> (-1%) ⬇️

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 940ca94...54d12b1. Read the comment docs.

Copy link
Member

@jngrad jngrad left a comment

Choose a reason for hiding this comment

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

Can't really tell for Langevin-related modifications, but other than that, LGTM.

@fweik
Copy link
Contributor Author

fweik commented Nov 12, 2019

I disagree, the name for the matrix transformation was wrong ^^

@RudolfWeeber
Copy link
Contributor

RudolfWeeber commented Nov 12, 2019 via email

src/core/rotation.hpp Outdated Show resolved Hide resolved
@fweik
Copy link
Contributor Author

fweik commented Nov 12, 2019

We probably should rename the vector transform functions to convert_body_to_space?
I can rebase the BD PR, did we decided to merge that?

@RudolfWeeber
Copy link
Contributor

RudolfWeeber commented Nov 12, 2019 via email

@fweik
Copy link
Contributor Author

fweik commented Nov 12, 2019

bors r=jngrad

bors bot added a commit that referenced this pull request Nov 12, 2019
3301: Matrix product and Langevin simplification r=jngrad a=fweik

Description of changes:
 - 3x3 matrix product for Utils::Matrix
 - space to body frame conversion for linear maps
 - Some simplification of the langevin thermostat




Co-authored-by: Florian Weik <fweik@icp.uni-stuttgart.de>
@bors
Copy link
Contributor

bors bot commented Nov 12, 2019

Build succeeded

@bors bors bot merged commit 54d12b1 into espressomd:python Nov 12, 2019
@fweik fweik deleted the mat_prod branch August 27, 2020 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants