( Heat transfer: diffusion + convection.
  One-dimensional.
  Stationar.
  Left node prescribed temperature 1.
  Right node prescribed temperature 0.
  The point at x=1.5 should get temperature 1.0.
  Refinements are automatically performed until
  the value at the point x=1.5 doesn't change much anymore. )

echo -no
number_of_space_dimensions 1
condif_temperature
end_initia

options_inertia -no

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

start_define
 left_point geometry_point 1
end_define

start_define
 right_point geometry_point 2
end_define

left_point  0. 1.e-5
right_point 2. 1.e-5

bounda_unknown 0  -left_point -temp
bounda_time    0  0.0 0.0 1. 1. 1.e6 1.
bounda_unknown 1  -right_point -temp
bounda_time    1  0.0 0.0 100.0 0.

group_type 0  -condif
group_condif_density 0  1.0
group_condif_capacity 0  1.0
group_condif_conductivity 0  0.1
group_condif_flow 0  10.

post_point 1  1.5

control_timestep                        10  1. 2.0
(control_print                           10  -time_current)

control_mesh_refine_globally            20  -h_refinement

control_repeat_until_item               30  10 -change -post_point_dof 1 -temp
control_repeat_until_tolerance          30  1.

target_item  0  -post_point_dof 1 -temp
target_value 0  1.0 1.e-2
end_data
