-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'update-0.3.0' of https://github.com/GazzolaLab/PyElastica…
… into update-0.3.0
- Loading branch information
Showing
27 changed files
with
105 additions
and
79 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# .readthedocs.yaml | ||
version: 2 | ||
|
||
# Set the version of Python and other tools you might need | ||
build: | ||
os: ubuntu-20.04 | ||
tools: {python: "3.10"} | ||
jobs: | ||
pre_create_environment: | ||
- asdf plugin add poetry | ||
- asdf install poetry latest | ||
- asdf global poetry latest | ||
- poetry config virtualenvs.create false # Key | ||
post_install: | ||
- poetry install -E docs | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
builder: html | ||
configuration: docs/conf.py | ||
#fail_on_warning: true |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,26 +1,26 @@ | ||
Simulator | ||
========= | ||
|
||
.. automodule:: elastica.wrappers.base_system | ||
.. automodule:: elastica.modules.base_system | ||
:members: | ||
:exclude-members: __weakref__, __init__, __str__, insert | ||
|
||
.. automodule:: elastica.wrappers.callbacks | ||
.. automodule:: elastica.modules.callbacks | ||
:members: | ||
:exclude-members: __weakref__, __init__, _callbacks, _CallBack | ||
|
||
.. automodule:: elastica.wrappers.connections | ||
.. automodule:: elastica.modules.connections | ||
:members: | ||
:exclude-members: __weakref__, __init__, __call__, _Connect | ||
|
||
.. automodule:: elastica.wrappers.constraints | ||
.. automodule:: elastica.modules.constraints | ||
:members: | ||
:exclude-members: __weakref__, __init__, _Constraint | ||
|
||
.. automodule:: elastica.wrappers.forcing | ||
.. automodule:: elastica.modules.forcing | ||
:members: | ||
:exclude-members: __weakref__, __init__, __call__, _ExtForceTorque | ||
|
||
.. automodule:: elastica.wrappers.damping | ||
.. automodule:: elastica.modules.damping | ||
:members: | ||
:exclude-members: __weakref__, __init__, __call__, _Damper | ||
:exclude-members: __weakref__, __init__, __call__, _Damper |
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
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
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
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
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
2 changes: 1 addition & 1 deletion
2
elastica/wrappers/memory_block.py → elastica/modules/memory_block.py
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
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import warnings | ||
|
||
__all__ = [ | ||
"BaseSystemCollection", | ||
"Connections", | ||
"Constraints", | ||
"Forcing", | ||
"CallBacks", | ||
"Damping", | ||
] | ||
from elastica.modules.base_system import BaseSystemCollection | ||
from elastica.modules.connections import Connections | ||
from elastica.modules.constraints import Constraints | ||
from elastica.modules.forcing import Forcing | ||
from elastica.modules.callbacks import CallBacks | ||
from elastica.modules.damping import Damping | ||
|
||
warnings.warn( | ||
"elastica.wrappers is refactored to elastica.modules in version 0.3.0.", | ||
DeprecationWarning, | ||
) |
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
2 changes: 1 addition & 1 deletion
2
examples/Visualization/ContinuumSnakeVisualization/continuum_snake.py
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
4 changes: 2 additions & 2 deletions
4
tests/test_wrappers/test_base_system.py → tests/test_modules/test_base_system.py
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.