Skip to content

Commit

Permalink
Fix units for splice_delta options parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
jedbrown committed Jun 3, 2011
1 parent e839bdf commit e283ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fs/tests/vht.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ static dErr VHTCaseSetFromOptions(VHTCase scase)
err = dOptionsRealUnits("-rheo_T0","Reference temperature (corresponds to solution Energy=0)","",u->Temperature,rheo->T0,&rheo->T0,NULL);dCHK(err);
err = dOptionsRealUnits("-rheo_p0","Reference pressure (corresponds to solution pressure=0)","",u->Pressure,rheo->p0,&rheo->p0,NULL);dCHK(err);
err = dOptionsRealUnits("-rheo_T3","Triple point temperature","",u->Temperature,rheo->T3,&rheo->T3,NULL);dCHK(err);
err = dOptionsRealUnits("-rheo_splice_delta","Characteristic width of split","",u->Energy,rheo->splice_delta,&rheo->splice_delta,NULL);dCHK(err);
err = dOptionsRealUnits("-rheo_splice_delta","Characteristic width of split","",u->EnergyPerMass,rheo->splice_delta,&rheo->splice_delta,NULL);dCHK(err);
err = dOptionsRealUnits("-rheo_gravity_x","Gravity in x-direction","",u->Acceleration,rheo->gravity[0],&rheo->gravity[0],NULL);dCHK(err);
err = dOptionsRealUnits("-rheo_gravity_y","Gravity in y-direction","",u->Acceleration,rheo->gravity[1],&rheo->gravity[1],NULL);dCHK(err);
err = dOptionsRealUnits("-rheo_gravity_z","Gravity in z-direction","",u->Acceleration,rheo->gravity[2],&rheo->gravity[2],NULL);dCHK(err);
Expand Down

0 comments on commit e283ff9

Please sign in to comment.