(Test of generation of one-noded spring in 1D)

echo -no
number_of_space_dimensions 1
materi_velocity
materi_velocity_integrated
materi_strain_total
materi_stress
end_initia

node 1  0
node 2  1

element 1 -bar2 1 2
element_group 1  1

group_type 1 -materi
group_materi_elasti_young 1 1.

group_type 2 -spring
group_spring_stiffness 2 1.0
group_spring_direction 2 1.0

geometry_point 1 0. 1.e-4

bounda_unknown 0  1 -velx
bounda_time    0  1.

control_mesh_generate_spring1        10  2 -geometry_point 1

control_timestep                     20  1.e-2 1.e-2
control_timestep_iterations          20  1
(
control_print                        20  -time_current -node_dof
)

target_item    0  -node_dof 2 -velx
target_value   0  1. 1.e-8
end_data
