Skip to content

Commit

Permalink
fix boday nsec overwrite (#30)
Browse files Browse the repository at this point in the history
* fix boday nsec overwrite

* bump version

---------

Co-authored-by: Joshua Anibal <[email protected]>
  • Loading branch information
joanibal and Joshua Anibal committed Mar 21, 2024
1 parent a0cb243 commit 31b4bd6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project(
'pyavl',
'c',
version: '1.6.1',
version: '1.6.2',
license: 'GPL-2.0',
meson_version: '>= 0.64.0',
default_options: [
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies = [
"numpy>=1.19",
]
readme = "README.md"
version = "1.6.1" # this automatically updates __init__.py
version = "1.6.2" # this automatically updates __init__.py


[tool.cibuildwheel]
Expand Down
3 changes: 2 additions & 1 deletion src/ainput.f
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ SUBROUTINE INPUT(LUN,FNAME,FERR)
C
C---- initialize all entity counters
NSEC = 0
NSEC_B = 0
C
NSURF = 0
NVOR = 0
Expand Down Expand Up @@ -324,7 +325,7 @@ SUBROUTINE INPUT(LUN,FNAME,FERR)
NBODY = NBODY + 1
IBODY = MIN( NBODY , NBMAX )
C
NSEC = 0
NSEC_B(IBODY) = 0
ISEC = 0
NBOD = 0
C
Expand Down
4 changes: 2 additions & 2 deletions src/includes/AVL.INC
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,10 @@ C !start added variables for python geometry minipulation

LOGICAL LDUPL_B
COMMON /BODY_GEOM_L/
& LDUPL_B(NBMAX) ! T if surface is a duplicated
& LDUPL_B(NBMAX) ! T if body is a duplicated
c
COMMON /BODY_GEOM_I/
& NSEC_B(NBMAX) ! number of sections in surface
& NSEC_B(NBMAX) ! number of sections in body

REAL(kind=avl_real) XYZSCAL_B
REAL(kind=avl_real) XYZTRAN_B
Expand Down

0 comments on commit 31b4bd6

Please sign in to comment.