Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
subroutine UMAT(args)
…
if (cmname == ‘MAT1’) then
code for mat1 …
else if (cmname == ‘MAT2’) then
code for mat2 …
end if
…
end subroutine UMAT
subroutine UMAT(args)
…
if (cmname == ‘MAT1’) then
code for mat1
end if
…
end subroutine UMAT
subroutine UMAT(args)
…
if (cmname == ‘MAT2’) then
code for mat2
end if
…
end subroutine UMAT
subroutine UMAT(args)
…
call USDFLD(args)
…
end subroutine UMAT
subroutine USDFLD(args)
…
code for USDFLD
…
end subroutine USDFLD
subroutine UMAT(args)
…
code for UMAT
…
end subroutine UMAT
subroutine USDFLD(args)
…
code for USDFLD
…
end subroutine USDFLD(args)
subroutine UMAT(args)
…
if (cmname==’MAT1’) then
call mySubMat1(args) ! call internal subroutine
else if (cmname==’MAT2’) then
call mySubMat2(args) ! call external subroutine
end if
contains ! define internal subroutine
subroutine mySubMat1(args)
…
code for mySubMat1(args)
…
end subroutine mySubMat1
end subroutine UMAT
! define external subroutine
subroutine mySubMat2(args)
…
code for mySubMat2
…
end subroutine mySubMat2