Skip to content

Commit

Permalink
tools/tools: blackened
Browse files Browse the repository at this point in the history
  • Loading branch information
MuellerSeb committed Jul 11, 2019
1 parent 64d7e09 commit d2e0f27
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ogs5py/tools/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -987,10 +987,8 @@ def _cent_tri(*pnt):

def _cent_quad(*pnt):
return (
_cent_tri(pnt[0], pnt[1], pnt[2])
* _vol_tri(pnt[0], pnt[1], pnt[2])
+ _cent_tri(pnt[2], pnt[3], pnt[0])
* _vol_tri(pnt[2], pnt[3], pnt[0])
_cent_tri(pnt[0], pnt[1], pnt[2]) * _vol_tri(pnt[0], pnt[1], pnt[2])
+ _cent_tri(pnt[2], pnt[3], pnt[0]) * _vol_tri(pnt[2], pnt[3], pnt[0])
) / _vol_quad(*pnt)


Expand Down

0 comments on commit d2e0f27

Please sign in to comment.