Index: ../trunk-jpl/src/m/inversions/supportedcontrols.m
===================================================================
--- ../trunk-jpl/src/m/inversions/supportedcontrols.m	(revision 0)
+++ ../trunk-jpl/src/m/inversions/supportedcontrols.m	(revision 18993)
@@ -0,0 +1,13 @@
+function list = supportedcontrols(),
+
+	list = {...
+		'BalancethicknessThickeningRate',...
+		'FrictionCoefficient',...
+		'MaterialsRheologyBbar',...
+		'DamageDbar',...
+		'Vx',...
+		'Vy',...
+		'Thickness',...
+		'BalancethicknessOmega',...
+		'BalancethicknessApparentMassbalance',...
+		'MaterialsRheologyB'};
Index: ../trunk-jpl/src/m/classes/inversion.m
===================================================================
--- ../trunk-jpl/src/m/classes/inversion.m	(revision 18992)
+++ ../trunk-jpl/src/m/classes/inversion.m	(revision 18993)
@@ -131,9 +131,7 @@
 
 			md = checkfield(md,'fieldname','inversion.iscontrol','values',[0 1]);
 			md = checkfield(md,'fieldname','inversion.incomplete_adjoint','values',[0 1]);
-			md = checkfield(md,'fieldname','inversion.control_parameters','cell',1,'values',...
-				{'BalancethicknessThickeningRate' 'FrictionCoefficient' 'MaterialsRheologyBbar' 'DamageDbar' 'Vx' 'Vy' 'Thickness',...
-				'BalancethicknessOmega' 'BalancethicknessApparentMassbalance','MaterialsRheologyB'});
+			md = checkfield(md,'fieldname','inversion.control_parameters','cell',1,'values',supportedcontrols());
 			md = checkfield(md,'fieldname','inversion.nsteps','numel',1,'>=',0);
 			md = checkfield(md,'fieldname','inversion.maxiter_per_step','size',[md.inversion.nsteps 1],'>=',0);
 			md = checkfield(md,'fieldname','inversion.step_threshold','size',[md.inversion.nsteps 1]);
