forked from GazzolaLab/PyElastica
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge block feature for v0.2 (GazzolaLab#84)
## Changes * Rigid Body: * Rigid sphere and cylinder test cases * New test cases to test rotational and translational * Remove internal forces and torques in rigid body: not used motion of rigid cylinder and sphere. * Update gitignore for zip and csv file formats ## Enhancement * Linalg numba faster functions for block structure. * Factory function updated for new block structure. * New wrapper to call memory block added * Time-stepper interfaces are changed for block-structure implementation. * Block-structure functions for Cosserat rod and reset ghosts. * Memory block for the rigid body imp * Memory block validity test cases added * Governing equation tests for block structure ## Fix * Rod intialization test fixed * Stepper interface tests fixed for block structure * Time-stepper analytic solution tests fixed * This commit fixes time-stepper tests using Harmonic oscillator test cases for block structure implementation. * Fix a bug in torque calculation. Transport term Jwxw was missing and with this commit we are adding this term. * Fix: interaction routines for rigid body * Fix: contact with rigid body * Due to the new implementation of rigid body block structure, radius and length are now are 1d arrays with 1 element, Before, they were scalar. This commit fixes the shape problems because of the array implementation. ## Note This commit is the final version of rigid body block-structure implementation. Issues and errors are fixed and code is tested. ## Order Resolve GazzolaLab#9 Co-authored-by: armantekinalp <[email protected]>
- Loading branch information
1 parent
486cd5d
commit 1305604
Showing
62 changed files
with
5,179 additions
and
1,678 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -229,3 +229,9 @@ outcmaes/* | |
|
||
# pickle files | ||
*.pickle | ||
|
||
# zip files | ||
*.zip | ||
|
||
# csv files | ||
*.csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.