-
Notifications
You must be signed in to change notification settings - Fork 111
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
Use OperatorGroup for constrain and callback features #404
base: update-0.3.3
Are you sure you want to change the base?
Conversation
271c0fc
to
cddfa60
Compare
f0f6ccd
to
4d6d315
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## update-0.3.3 #404 +/- ##
================================================
+ Coverage 93.96% 94.35% +0.39%
================================================
Files 53 51 -2
Lines 3295 3187 -108
Branches 335 324 -11
================================================
- Hits 3096 3007 -89
+ Misses 152 134 -18
+ Partials 47 46 -1 ☔ View full report in Codecov by Sentry. |
454e9f7
to
fed6ae3
Compare
resolve #401
resolve #402
Key update
OperatorGroup
. Now, both callback and constraint features useOperatorGroup
to manage the operations.FreeBC
orOneEndFixedBC
), but rather associated to a group (likeConstraints
orForcing
). Hence it does not require more complicated structure to manage the operation.Minor update
explicit_steppers
and related features are now moved toexperimental
folder.StepType
was being refactored from rest of theOperatorType
, and type-hinting for explicit stepper was causing more issues.OperatorType
now specifically meansapply_forces
,apply_torques
,constrain_rates
, etc.OperatorType
must taketime
as parameter inputs.OperatorCallableType
must taketime
andcurrent_step
as a parameter input.StepType
now specifically means callable functions used during the timestepping.Pytest-mock
is added as part of dev-dependency for easier mock-testing.