-
Notifications
You must be signed in to change notification settings - Fork 2
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: stochasticHydroTools/libMobility
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.6.1
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: stochasticHydroTools/libMobility
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.7.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 5 commits
- 28 files changed
- 3 contributors
Commits on Apr 21, 2025
-
Wall height param for NBody (#37)
* added wall param and test * added wall height parameter and tests for NBody * fix bug in test construction * docstring for nbody with new param * Remove unused variables * changed wall height param to be a real and modified test to catch the error if it's an int * modified all test wall params to include one float * remove dt from dpstokes params * raul's thrust implementation of position shifting * modified interface to treat wallHeight param using std::optional * updated test interfaces to respect new NBody interface: wallHeight only needed when periodicity is set to bottom_wall. if given when periodicity is open, it throws an error * simplified a test slightly * interface changes from merge * slightly simplified position shift in nbody interface * fix includes to use std library instead of accidentally including through nanobind * include nanobind versional of optional where the python module gets compiled so it knows how to convert from stl optional to python * fix bug I introduced in the interface tests --------- Co-authored-by: Raul P. Pelaez <raulppelaez@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3ef28db - Browse repository at this point
Copy the full SHA 3ef28dbView commit details
Commits on Apr 23, 2025
-
Allowing changing the number of particles (#44)
* Remove numberParticles from initialize calls in tests * Make each solver deal with setting the number of particles * Remove number of particles in initialization in python wrapper * Adapt NBody to changes to the number of particles * Add prints for debug builds * Fix a file that is supposed to be an install * Add test for changing the number of particles * Check that number of particles is not negative * Formatting * Add a new function getNumberParticles to the interface. Remove number of particles from initialize parameters. Adapt all solvers to be able to take different number of particles each time. * Update examples * Make sure inputs are in CUDA memory
Configuration menu - View commit details
-
Copy full SHA for 84c6c7f - Browse repository at this point
Copy the full SHA 84c6c7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c88b20 - Browse repository at this point
Copy the full SHA 2c88b20View commit details
Commits on May 6, 2025
-
Adding thermal drift to the interface (#45)
* Add test for thermal drift computation using RFD * Add thermal drift to the interface, returns 0 by default * Improve lanczos seeding * Add a header for RFD * Update tests * Add thermal drift to pythonify * Use RFD in DPStokes * Make sure linear is filled with 0 in GPU * Fix bug in random number generation * formatting * Error checking and formatting * Add more tests * Change RFD delta * Add thermal drift to NBody * Small changes to Self mobility * Change some tolerances * Allow CPU memory in thermalDrift * thermal drift should add, not overwrite * Add thermal drift to hydrodynamic velocities * comment * sqrtM should add, not overwrite * thermal drift should add, not overwrite * Make sure tensors are zero initialized * Update documentation * Update tests/test_thermal_drift.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Fix bug in NBody not correctly substracting the wall height * Update test * Update docs * Update docs * Update docs * Update docs * Add torques to thermal drift interface * Update comment * fix variable name * Add array origins tests for all methods in the interface * Register device and framework when setting positions * formatting * Fix memory location in sqrtMdotW --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Ryker Fish <rfish@mines.edu>
Configuration menu - View commit details
-
Copy full SHA for ba8569d - Browse repository at this point
Copy the full SHA ba8569dView commit details
Commits on May 7, 2025
-
Return results in shape of positions (#43)
* update tests to check that returns are the size of the positions * change shapes to by dynamically set based on shape of position * change how shapes are detected, only allow 2 formats * add test for bad position shape * removed silly comment * update interface to return in shape of input forces/torques when possible and in shape of input positions if not * update interface tests * clean up interface/test * fix typo & rename * formatting commit only * change thermal drift shape detection * fix issue in sqrtM and tests from rebase * thermal drift test for shapes * Small change * Formatting * Formatting --------- Co-authored-by: Raul P. Pelaez <raulppelaez@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e570d00 - Browse repository at this point
Copy the full SHA e570d00View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 0.6.1...0.7.0