c$Id: umacr1.f,v 1.1 2008/12/12 23:58:47 rlt Exp $ subroutine umacr1(lct,ctl) c * * F E A P * * A Finite Element Analysis Program c.... Copyright (c) 1984-2009: Regents of the University of California c All rights reserved c-----[--.----+----.----+----.-----------------------------------------] c Modification log Date (dd/mm/year) c Original version 01/11/2006 c 1. Remove 'prt' from argument list 09/07/2009 c-----[--.----+----.----+----.-----------------------------------------] c Purpose: User interface for adding solution command language c instructions. c Inputs: c lct - Command character parameters c ctl(3) - Command numerical parameters c Outputs: c N.B. Users are responsible for command actions. See c programmers manual for example. c-----[--.----+----.----+----.-----------------------------------------] implicit none include 'iofile.h' include 'umac1.h' logical pcomp character lct*15 real*8 ctl(3) save c Set command word if(pcomp(uct,'mac1',4)) then ! Usual form uct = 'xpmd' ! Specify 'name' elseif(urest.eq.1) then ! Read restart data elseif(urest.eq.2) then ! Write restart data else ! Perform user operation call xpmdump endif end