( Inverse estimation of young's modulus.
  In an experiment a force 0.001 is applied at node 2.
  The measured strain in the experiment is 5.e-3.
  This should give a young's modulus of 2. ) 

echo -no
number_of_space_dimensions 1
materi_velocity
materi_strain_total
materi_stress
end_initia

options_mesh -fixed_in_space
options_stabilization -no

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

group_type 0  -materi
group_materi_elasti_young   0  1.0
group_materi_memory 0  -updated_without_rotation

bounda_unknown 1  1 -velx
bounda_time    1  0. 0. 1000. 0.
bounda_force   2  2 -velx
bounda_time    2  0. 0.001 1000. 0.001

control_timestep             10  1. 2.
(control_print                20  -time_current -materi_elasti_young)

inverse_iterations  10
inverse_parameter 1  -group_materi_elasti_young 0 0
inverse_target 1  -node_dof 2 -eptxx
inverse_target_data 1 5.e-4 1.

target_item 1  -group_materi_elasti_young 0 0
target_value 1  2.0 1.e-2
end_data
