Changeset 32 for issm/trunk/src/m/solutions/ice/ModelProcessorPrognostic.m
- Timestamp:
- 04/24/09 10:38:58 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/solutions/ice/ModelProcessorPrognostic.m
r1 r32 116 116 loads=struct('load',cell([0,1])); 117 117 118 %Single point constraints: none; 119 constraints=struct('constraint',cell(0,0)); 118 119 %Initialize constraints structure 120 constraints=struct('constraint',cell(length(find(md.gridondirichlet_prog)),1)); 121 122 pos=find(md.gridondirichlet_prog); 123 count=1; 124 for i=1:length(find(md.gridondirichlet_prog)), 125 126 %constrain the thickness 127 constraints(count).constraint=spc; 128 constraints(count).constraint.grid=pos(i); 129 constraints(count).constraint.dof=1; 130 constraints(count).constraint.value=md.dirichletvalues_prog(pos(i)); %in m 131 count=count+1; 132 end 120 133 121 134 %Last thing, return a partitioning vector, and its transpose.
Note:
See TracChangeset
for help on using the changeset viewer.