|
这个是umeshmotion的子程序:
[Fortran] 纯文本查看 复制代码 C USER INPUT FOR ADAPTIVE MESH CONSTRAINT
SUBROUTINE UMESHMOTION(UREF,ULOCAL,NODE,NNDOF,LNODETYPE,ALOCAL,NDIM,TIME,DTIME,PNEWDT,KSTEP,KINC,KMESHSWEEP,JMATYP,JGVBLOCK,LSMOOTH)
INCLUDE 'ABA_PARAM.INC'
C USER DEFINED DIMENSION STATEMENTS
DIMENSION ULOCAL(*)
DIMENSION ALOCAL(NDIM,*)
DIMENSION JGVBLOCK(*),JMATYP(*)
DIMENSION TIME(2)
DIMENSION ARRAY(15)
DIMENSION JELEMLIST(10),JELEMTYPE(10)
double precision k,PEEQ
C
NELEMS=10
k=1.0
C
CALL GETNODETOELEMCONN(NODE,NELEMS,JELEMLIST,JELEMTYPE,JRCD,JGVBLOCK)
C
CALL GETVRMAVGATNODE(NODE,JTYP,'PE',ARRAY,JRCD,JELEMLIST,NELEMS,JMATYP,JGVBLOCK)
C
PEEQ=ARRAY(7)
C
if(PEEQ.GT.0.0) then
ULOCAL(NDIM)=-k*PEEQ
end if
RETURN
END
以下是报错内容,求教各位大神这是什么问题。初学者比较菜
umeshmotion.for(1): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ) ,
SUBROUTINE UMESHMOTION(UREF,ULOCAL,NODE,NNDOF,LNODETYPE,ALOCAL,NDIM,TIME,DTIME,PNEWDT,KSTEP,KINC,KMESHSWEEP,JMATYP,JGVBLO
------------------------------------------------------------------------------------------------------------------------------------^
.\ABA_PARAM.INC(8): error #6222: This IMPLICIT statement is not positioned correctly within the scoping unit.
implicit real*8(a-h,o-z)
------^
umeshmotion.for(7): error #6221: The assumed-size array must be a dummy argument. [JGVBLOCK]
DIMENSION JMATYP(*),JGVBLOCK(*)
|
|