Changeset 27930
- Timestamp:
- 09/29/23 09:13:26 (18 months ago)
- Location:
- issm/trunk-jpl/src/m/classes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/model.m
r27853 r27930 873 873 elseif length(field)==numberofelements1, 874 874 md2.outputdefinition.definitions{i}.(solutionsubfields{j})=field(pos_elem); 875 elseif size(field,1)==numberofvertices1+1 876 md2.outputdefinition.definitions{i}.(solutionsubfields{j})=[field(pos_node,:); field(end,:)]; 875 877 end 878 end 879 end 880 end 881 882 %independents 883 for i=1:length(md1.autodiff.independents) 884 independentfield=fields(md1.autodiff.independents{i}); 885 for j=1:length(independentfield) 886 field=md1.autodiff.independents{i}.(independentfield{j}); 887 if length(field)==numberofvertices1 888 md2.autodiff.independents{i}.(independentfield{j})=field(pos_node); 889 elseif length(field)==numberofelements1 890 md2.autodiff.independents{i}.(independentfield{j})=field(pos_elem); 876 891 end 877 892 end -
issm/trunk-jpl/src/m/classes/verbose.m
r20690 r27930 114 114 function md = checkconsistency(self,md,solution,analyses) % {{{ 115 115 116 if md.inversion.iscontrol 117 temp = verbose('control',1); 118 if(VerboseToBinary(self) ~= VerboseToBinary(temp)) 119 disp('INFO: the outlog will look better if only md.verbose.control is turned on'); 120 end 121 end 122 116 123 end % }}} 117 124 function disp(verbose) % {{{
Note:
See TracChangeset
for help on using the changeset viewer.