Index: ../trunk-jpl/src/m/classes/hydrologydc.m
===================================================================
--- ../trunk-jpl/src/m/classes/hydrologydc.m	(revision 18981)
+++ ../trunk-jpl/src/m/classes/hydrologydc.m	(revision 18982)
@@ -30,6 +30,7 @@
 		epl_porosity             = 0;
 		epl_initial_thickness    = 0;
 		epl_colapse_thickness    = 0;
+		epl_thick_comp           = 0;
 		epl_max_thickness        = 0;
 		epl_conductivity         = 0;
 		eplflip_lock             = 0;
@@ -76,6 +77,7 @@
 			obj.epl_porosity             = 0.4;
 			obj.epl_initial_thickness    = 1.0;
 			obj.epl_colapse_thickness    = 1.0e-3;
+			obj.epl_thick_comp           = 1;
 			obj.epl_max_thickness        = 5.0;
 			obj.epl_conductivity         = 8.0e-02;
 			obj.eplflip_lock             = 0;
@@ -117,6 +119,7 @@
 				md = checkfield(md,'fieldname','hydrology.epl_porosity','>',0,'numel',1);
 				md = checkfield(md,'fieldname','hydrology.epl_initial_thickness','>',0,'numel',1);
 				md = checkfield(md,'fieldname','hydrology.epl_colapse_thickness','>',0,'numel',1);
+				md = checkfield(md,'fieldname','hydrology.epl_thick_comp','numel',[1],'values',[0 1]);
 				md = checkfield(md,'fieldname','hydrology.epl_max_thickness','>',0,'numel',1);
 				md = checkfield(md,'fieldname','hydrology.epl_conductivity','>',0,'numel',1);
 				md = checkfield(md,'fieldname','hydrology.eplflip_lock','>=',0,'numel',1);
@@ -166,6 +169,7 @@
 				fielddisplay(obj,'epl_porosity','epl [dimensionless]');
 				fielddisplay(obj,'epl_initial_thickness','epl initial thickness [m]');
 				fielddisplay(obj,'epl_colapse_thickness','epl colapsing thickness [m]');
+				fielddisplay(obj,'epl_thick_comp','epl thickness computation flag');
 				fielddisplay(obj,'epl_max_thickness','epl maximal thickness [m]');
 				fielddisplay(obj,'epl_conductivity','epl conductivity [m^2/s]');
 				fielddisplay(obj,'eplflip_lock','lock the epl activation to avoid fli-floping (default is 0, no stabilization)');
@@ -205,6 +209,7 @@
 				WriteData(fid,'object',obj,'fieldname','epl_porosity','format','Double');			
 				WriteData(fid,'object',obj,'fieldname','epl_initial_thickness','format','Double');
 				WriteData(fid,'object',obj,'fieldname','epl_colapse_thickness','format','Double');
+				WriteData(fid,'object',obj,'fieldname','epl_thick_comp','format','Integer');
 				WriteData(fid,'object',obj,'fieldname','epl_max_thickness','format','Double');
 				WriteData(fid,'object',obj,'fieldname','epl_conductivity','format','Double');
 				WriteData(fid,'object',obj,'fieldname','eplflip_lock','format','Integer');
Index: ../trunk-jpl/src/m/classes/hydrologydc.py
===================================================================
--- ../trunk-jpl/src/m/classes/hydrologydc.py	(revision 18981)
+++ ../trunk-jpl/src/m/classes/hydrologydc.py	(revision 18982)
@@ -38,6 +38,7 @@
 		self.epl_porosity             = 0
 		self.epl_initial_thickness    = 0
 		self.epl_colapse_thickness    = 0
+		self.epl_thick_comp           = 0
 		self.epl_max_thickness        = 0
 		self.epl_conductivity         = 0
 		self.eplflip_lock             = 0
@@ -88,6 +89,7 @@
 			string="%s\n%s"%(string,fielddisplay(self,'epl_max_thickness','epl initial thickness [m]'))
 			string="%s\n%s"%(string,fielddisplay(self,'epl_initial_thickness','epl initial thickness [m]'))			
 			string="%s\n%s"%(string,fielddisplay(self,'epl_colapse_thickness','epl colapsing thickness [m]'))
+			string="%s\n%s"%(string,fielddisplay(self,'epl_thick_comp','epl thickness computation flag'))
 			string="%s\n%s"%(string,fielddisplay(self,'epl_conductivity','epl conductivity [m^2/s]'))
 			string="%s\n%s"%(string,fielddisplay(self,'eplflip_lock','lock epl activity to avoid flip-floping (default is 0, no stabilization)'))
 		return string
@@ -115,6 +117,7 @@
 		self.epl_porosity             = 0.4
 		self.epl_initial_thickness    = 1.0
 		self.epl_colapse_thickness    = 1.0e-3
+		self.epl_thick_comp           = 1
 		self.epl_max_thickness        = 5.0
 		self.epl_conductivity         = 8.0e-02
 		self.eplflip_lock             = 0
@@ -164,6 +167,7 @@
 			md = checkfield(md,'fieldname','hydrology.epl_max_thickness','numel',[1],'>',0.)
 			md = checkfield(md,'fieldname','hydrology.epl_initial_thickness','numel',[1],'>',0.)
 			md = checkfield(md,'fieldname','hydrology.epl_colapse_thickness','numel',[1],'>',0.)
+			md = checkfield(md,'fieldname','hydrology.epl_thick_comp','numel',[1],'values',[0 1])
 			md = checkfield(md,'fieldname','hydrology.eplflip_lock','>=',0.,'numel',[1])
 			if self.epl_colapse_thickness > self.epl_initial_thickness:
 				md.checkmessage('Colapsing thickness for EPL larger than initial thickness')
@@ -199,7 +203,8 @@
 			WriteData(fid,'object',self,'fieldname','epl_porosity','format','Double')			
 			WriteData(fid,'object',self,'fieldname','epl_max_thickness','format','Double')
 			WriteData(fid,'object',self,'fieldname','epl_initial_thickness','format','Double')			
-			WriteData(fid,'object',self,'fieldname','epl_colapse_thickness','format','Double')			
+			WriteData(fid,'object',self,'fieldname','epl_colapse_thickness','format','Double')
+			WriteData(fid,'object',self,'fieldname','epl_thick_comp','format','Integer')			
 			WriteData(fid,'object',self,'fieldname','epl_conductivity','format','Double')
 			WriteData(fid,'object',self,'fieldname','eplflip_lock','format','Integer')
 	# }}}
Index: ../trunk-jpl/src/m/classes/model.py
===================================================================
--- ../trunk-jpl/src/m/classes/model.py	(revision 18981)
+++ ../trunk-jpl/src/m/classes/model.py	(revision 18982)
@@ -62,6 +62,13 @@
 class model(object):
 	#properties
 	def __init__(self):#{{{
+
+		# classtype=model.properties
+				
+		# for classe in dict.keys(classtype):
+		# 	print classe
+		# 	self.__dict__[classe] = classtype[str(classe)]
+
 		self.mesh             = mesh2d()
 		self.mask             = mask()
 		self.geometry         = geometry()
@@ -133,7 +140,7 @@
 		        'steadystate',\
 		        'transient',\
 		        'calving',\
-                        'gia',\
+						'gia',\
 		        'autodiff',\
 		        'flaim',\
 		        'inversion',\
Index: ../trunk-jpl/src/m/enum/HydrologydcEplThickCompEnum.m
===================================================================
--- ../trunk-jpl/src/m/enum/HydrologydcEplThickCompEnum.m	(revision 0)
+++ ../trunk-jpl/src/m/enum/HydrologydcEplThickCompEnum.m	(revision 18982)
@@ -0,0 +1,11 @@
+function macro=HydrologydcEplThickCompEnum()
+%HYDROLOGYDCEPLTHICKCOMPENUM - Enum of HydrologydcEplThickComp
+%
+%   WARNING: DO NOT MODIFY THIS FILE
+%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
+%            Please read src/c/shared/Enum/README for more information
+%
+%   Usage:
+%      macro=HydrologydcEplThickCompEnum()
+
+macro=StringToEnum('HydrologydcEplThickComp');
Index: ../trunk-jpl/src/m/enum/EnumDefinitions.py
===================================================================
--- ../trunk-jpl/src/m/enum/EnumDefinitions.py	(revision 18981)
+++ ../trunk-jpl/src/m/enum/EnumDefinitions.py	(revision 18982)
@@ -130,6 +130,7 @@
 def HydrologydcEplMaxThicknessEnum(): return StringToEnum("HydrologydcEplMaxThickness")[0]
 def HydrologydcEplThicknessEnum(): return StringToEnum("HydrologydcEplThickness")[0]
 def HydrologydcEplThicknessOldEnum(): return StringToEnum("HydrologydcEplThicknessOld")[0]
+def HydrologydcEplThickCompEnum(): return StringToEnum("HydrologydcEplThickComp")[0]
 def HydrologydcEplConductivityEnum(): return StringToEnum("HydrologydcEplConductivity")[0]
 def HydrologydcIsefficientlayerEnum(): return StringToEnum("HydrologydcIsefficientlayer")[0]
 def HydrologydcSedimentlimitFlagEnum(): return StringToEnum("HydrologydcSedimentlimitFlag")[0]
