CalculiX  2.13
A Free Software Three-Dimensional Structural Finite Element Program
uamplitude.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine uamplitude (time, name, amplitude)
 

Function/Subroutine Documentation

◆ uamplitude()

subroutine uamplitude ( real*8  time,
character*80  name,
real*8  amplitude 
)
20 !
21 ! user subroutine uamplitude: user defined amplitude definition
22 !
23 ! INPUT:
24 !
25 ! name amplitude name
26 ! time time at which the amplitude is to be
27 ! evaluated
28 !
29 ! OUTPUT:
30 !
31 ! amplitude value of the amplitude at time
32 !
33  implicit none
34 !
35  character*80 name
36 !
37  real*8 time,amplitude
38 !
39  if(name(1:9).eq.'QUADRATIC') then
40  amplitude=time**2
41  else
42  write(*,*) '*ERROR in uamplitude: unknown amplitude'
43  call exit(201)
44  endif
45 !
46  return
Hosted by OpenAircraft.com, (Michigan UAV, LLC)