Skip to content

Commit

Permalink
Centroid: Doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
MuellerSeb committed Jul 11, 2019
1 parent d2e0f27 commit 28ca30f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ogs5py/tools/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -942,8 +942,14 @@ def centroid(typ, *pnt):
Returns
-------
Volume : ndarray
centroid : ndarray
Array containing the Centroids of the give elements.
Notes
-----
The calculation is performed by geometric decomposition of the elements.
https://en.wikipedia.org/wiki/Centroid#By_geometric_decomposition
"""
# if the pntinates are stacked, divide them
if len(pnt) == 1:
Expand Down

0 comments on commit 28ca30f

Please sign in to comment.