Skip to content

Commit 3898afa

Browse files
committed
fixing tests
1 parent b2ddb51 commit 3898afa

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

pyNastran/bdf/bdf_interface/add_methods.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@ def _add_aestat_object(self, aestat: AESTAT) -> None:
12331233

12341234
def _add_aesurf_object(self, aesurf: AESURF) -> None:
12351235
"""adds an AESURF object"""
1236-
key = aesurf.aesid
1236+
key = aesurf.aesurf_id
12371237
assert key not in self.model.aesurf, '\naesurf=\n%s old=\n%s' % (
12381238
aesurf, self.model.aesurf[key])
12391239
assert key >= 0

pyNastran/bdf/cards/elements/shell.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@
4646
from pyNastran.bdf.bdf import BDF, PCOMP, PCOMPG, PSHELL
4747
from pyNastran.nptyping_interface import NDArray3float
4848

49-
__all__ = ['CTRIA3', 'CTRIA6', 'CSHEAR',
49+
__all__ = ['CTRIA3', 'CTRIA6', 'CTRIAR', 'SNORM',
50+
'CSHEAR',
5051
'CQUAD', 'CQUAD4', 'CQUAD8', 'CQUADR',
5152
'CPLSTN3', 'CPLSTN4', 'CPLSTN6', 'CPLSTN8',
5253
'CPLSTS3', 'CPLSTS4', 'CPLSTS6', 'CPLSTS8',

pyNastran/bdf/mesh_utils/refine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -895,8 +895,8 @@ def _insert_tri_nodes(nodes: dict[int, GRID],
895895
else:
896896
# this diagonal is added in reverse
897897
nids_set2 = nids_set[::-1]
898-
for i in range(nnodes_to_add_with_ends):
899-
nids_array[i, i] = nids_set2[i]
898+
for j in range(nnodes_to_add_with_ends):
899+
nids_array[j, j] = nids_set2[j]
900900
#nids_array[, ::-1] = nids_set
901901
if debug:
902902
print(f'{flag}i={i} nids={nids_set} edge={edge} fwd_edge={fwd_edge}')

pyNastran/dev/bdf_vectorized/bdf_interface2/add_card.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def _add_aestat_object(self, aestat):
197197

198198
def _add_aesurf_object(self, aesurf):
199199
"""adds an AESURF object"""
200-
key = aesurf.aesid
200+
key = aesurf.aesurf_id
201201
assert key not in self.aesurf, '\naesurf=\n%s old=\n%s' % (
202202
aesurf, self.aesurf[key])
203203
assert key >= 0

0 commit comments

Comments
 (0)