Changeset 12123 for issm/trunk-jpl/src/m/classes/prognostic.py
- Timestamp:
- 04/25/12 09:17:29 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/prognostic.py
r12038 r12123 12 12 self.vertex_pairing = float('NaN') 13 13 self.penalty_factor = 0 14 15 #set defaults 16 self.setdefaultparameters() 17 14 18 #}}} 15 19 def __repr__(obj): … … 23 27 return string 24 28 #}}} 29 30 def setdefaultparameters(obj): 31 # {{{setdefaultparameters 32 33 #Type of stabilization to use 0:nothing 1:artificial_diffusivity 3:Discontinuous Galerkin 34 obj.stabilization=1 35 36 #Factor applied to compute the penalties kappa=max(stiffness matrix)*10^penalty_factor 37 obj.penalty_factor=3 38 39 #Minimum ice thickness that can be used 40 obj.min_thickness=1 41 42 #Hydrostatic adjustment 43 obj.hydrostatic_adjustment='Absolute' 44 45 return obj 46 #}}} 47
Note:
See TracChangeset
for help on using the changeset viewer.