Changeset 1195 for trunk/src/filter_tps.m
- Timestamp:
- Feb 26, 2026, 4:16:03 PM (5 days ago)
- File:
-
- 1 edited
-
trunk/src/filter_tps.m (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/filter_tps.m
r1163 r1195 170 170 end 171 171 end 172 NbCentre=uint16(NbCentre); 172 173 173 174 %% remove empty subdomains … … 188 189 %eliminate the vectors with diff>threshold not yet eliminated 189 190 if exist('Threshold','var')&&~isempty(Threshold) 190 UDiff=U_smooth-U;% difference between interpolated U component and initial value191 VDiff=V_smooth-V;% difference between interpolated V component and initial value192 NormDiff=UDiff.*UDiff+VDiff.*VDiff;% Square of difference norm193 FF(NormDiff>Threshold)=true;%put FF value to 1 to identify the criterium of elimmination191 UDiff=U_smooth-U;% difference between interpolated U component and initial value 192 VDiff=V_smooth-V;% difference between interpolated V component and initial value 193 NormDiff=UDiff.*UDiff+VDiff.*VDiff;% Square of difference norm 194 FF(NormDiff>Threshold)=true;%put FF value to 1 to identify the criterium of elimmination 194 195 end 195 196
Note: See TracChangeset
for help on using the changeset viewer.
