( Wave equation.
  Initially node 2 has scal=1.
  Period = 2*pi/sqrt{1/0.5} = 4.44288,
  so that after time 2.22144 scal should
  have the value -1 at node 2 )

echo -no
number_of_space_dimensions 1
wave_scalar
wave_fscalar
end_initia

node 1  0 
node 2  1 
element 1  -bar2 1 2 

bounda_unknown 1  1 -fscal
bounda_time   1  0.0 0.0 100. 0.

node_dof 2  1. 0.

group_type 0  -wave
group_wave_speed_of_sound 0 1.0

control_timestep      0  4.44288e-3 2.22144
(
control_print         0  -time_current -node_dof
control_print_history 0  -node_dof 2 -scal
)

target_item  1  -node_dof 2 -scal
target_value 1  -1. 1.e-2
end_data
