Skip to content

Commit c35c2e0

Browse files
committed
converted internal grid number to sequence number
1 parent ae40b55 commit c35c2e0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Source/LK1/L1D/GET_GRID_6X6_MASS.f90

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ SUBROUTINE GET_GRID_6X6_MASS ( AGRID, IGRID, FOUND, GRID_MGG )
3737
USE CONSTANTS_1, ONLY : ZERO
3838
USE DOF_TABLES, ONLY : TDOF
3939
USE SPARSE_MATRICES, ONLY : I2_MGG, J_MGG, MGG
40+
USE MODEL_STUF, ONLY : GRID_SEQ
4041

4142
USE GET_GRID_6X6_MASS_USE_IFs
4243

@@ -85,7 +86,7 @@ SUBROUTINE GET_GRID_6X6_MASS ( AGRID, IGRID, FOUND, GRID_MGG )
8586
ENDDO
8687
ENDDO
8788

88-
IGRID_DOF_NUM = 6*(IGRID - 1) + 1
89+
IGRID_DOF_NUM = 6*(GRID_SEQ(IGRID) - 1) + 1
8990
k_do: DO K=1,NTERM_MGG
9091

9192
IF ((I2_MGG(K) >= IGRID_DOF_NUM) .AND. (I2_MGG(K) <= IGRID_DOF_NUM + 5)) THEN

0 commit comments

Comments
 (0)