Skip to content

Commit

Permalink
Merge pull request #7 from GazzolaLab/wip/geometry
Browse files Browse the repository at this point in the history
Complete `geometry.py` module: handling sphere and cylinder
  • Loading branch information
skim0119 authored Jun 18, 2024
2 parents e497c68 + 6fb6ba6 commit d4f1f48
Show file tree
Hide file tree
Showing 25 changed files with 1,492 additions and 272 deletions.
14 changes: 14 additions & 0 deletions docs/api/collective.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Collective Geometry
===================

Rod-like geometry
-----------------

.. automodule:: bsr.rod
:members:

Stacked geometry
----------------

.. automodule:: bsr.stack
:members:
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"sphinx.ext.viewcode",
"sphinx.ext.mathjax",
"sphinx.ext.autosectionlabel",
"sphinx.ext.viewcode",
"sphinx_autodoc_typehints",
"sphinx_click",
"numpydoc",
Expand All @@ -38,6 +39,7 @@
"undoc-members",
"private-members",
"special-members",
"inherited-members",
]
source_suffix = [".rst", ".md"]

Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ TODO: Description of the project.

api/file
api/geometry
api/collective

.. toctree::
:maxdepth: 2
Expand Down
65 changes: 38 additions & 27 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,6 @@ branch = true
omit = [
"*/.local/*",
"setup.py",
"*/protocol.py",
"macros.py",
]
2 changes: 1 addition & 1 deletion src/bsr/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import sys
from importlib import metadata as importlib_metadata

from .collections import *
from .file import *
from .macros import *
from .rod import *
from .stack import *


def get_version() -> str:
Expand Down
66 changes: 0 additions & 66 deletions src/bsr/collections.py

This file was deleted.

Loading

0 comments on commit d4f1f48

Please sign in to comment.