c$Id: umacr1.f,v 1.1 2000/08/24 20:49:58 rlt Exp $ subroutine umacr1(lct,ctl,prt) c * * F E A P * * A Finite Element Analysis Program c.... Copyright (c) 1984-2005: Robert L. Taylor c All rights reserved 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 prt - Flag, output if true c Outputs: c N.B. Users are responsible for command actions. See c programmers manual for example. c-----[--.----+----.----+----.-----------------------------------------] implicit none include 'umac1.h' logical pcomp,prt character lct*15 real*8 ctl(3) save c Set command word if(.not.pcomp(uct,'mac1',4)) then c uct = 'name' ! Specify 'name' elseif(urest.eq.1) then ! Read restart data elseif(urest.eq.2) then ! Write restart data else ! Perform user operation endif end