Changeset 1141 for trunk/src/filter_tps.m
 Timestamp:
 May 3, 2024, 6:16:47 PM (5 months ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/src/filter_tps.m
r1139 r1141 60 60 CentreY=reshape(CentreY,1,[]);% Y positions of subdomain centres 61 61 62 %% smoothing parameter 63 smoothing=Siz(1)*Siz(2)*FieldSmooth/1000;%optimum smoothing increase as the area of the subdomain (division by 1000 to reach good values with the default GUI input)64 62 %% smoothing parameter: CHANGED 03 May 2024 TO GET RESULTS INDEPENDENT OF SUBDOMAINSIZE 63 %smoothing=Siz(1)*Siz(2)*FieldSmooth/1000%optimum smoothing increase as the area of the subdomain (division by 1000 to reach good values with the default GUI input) 64 smoothing=sqrt(Siz(1)*Siz(2)/SubDomainSize)*FieldSmooth;%optimum smoothing increase as the typical mesh size =sqrt(SizX*SizY/SubDomainSize)^1/2 65 65 %% default output 66 66 SubRange=zeros(NbCoord,2,NbSubDomain);%initialise the boundaries of subdomains
Note: See TracChangeset
for help on using the changeset viewer.