summaryrefslogtreecommitdiff
path: root/CSXCAD/matlab/AutoSmoothMeshLines.m
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2019-02-10 08:49:27 +0000
committerRuben Undheim <ruben.undheim@gmail.com>2019-02-10 08:49:27 +0000
commit94cdcb9013e4862560945c14dbe762daa2baea07 (patch)
tree6e2a3a3dad7a0800109f911c70c100daa6502d22 /CSXCAD/matlab/AutoSmoothMeshLines.m
parentffda26309128be5d112df61a03e4827e47ecfac8 (diff)
Import GIT HEAD of CSXCAD sub-project (with Python interface)
Diffstat (limited to 'CSXCAD/matlab/AutoSmoothMeshLines.m')
-rw-r--r--CSXCAD/matlab/AutoSmoothMeshLines.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/CSXCAD/matlab/AutoSmoothMeshLines.m b/CSXCAD/matlab/AutoSmoothMeshLines.m
index e41e261..e520fe6 100644
--- a/CSXCAD/matlab/AutoSmoothMeshLines.m
+++ b/CSXCAD/matlab/AutoSmoothMeshLines.m
@@ -44,7 +44,7 @@ lines = sort(unique(lines));
range = lines(end)-lines(1);
if (~isempty(find(diff(lines)<range*1e-6)))
- warning('CSXCAD:AutoSmoothMeshLines','some lines found with very small distance which may cause smoothing failure!');
+ warning('CSXCAD:AutoSmoothMeshLines','some lines found with very small distance which may cause smoothing failure');
end
methods = {};
@@ -138,7 +138,7 @@ end
if ((allowed_min_res>0) && (results.min_res<allowed_min_res))
if (silent==0)
- warning('CSXCAD:AutoSmoothMeshLines','method failed to obey allowed min res!');
+ warning('CSXCAD:AutoSmoothMeshLines','method failed to obey allowed min res');
end
quality = -1;
return
@@ -152,7 +152,7 @@ if (results.max_res>max_res*1.01)
end
if (results.max_ratio>ratio*1.01)
if (silent==0)
- warning('CSXCAD:AutoSmoothMeshLines',['method failed to fulfill the max. ratio: ' num2str(results.max_ratio) ' > ' num2str(ratio)]');
+ warning('CSXCAD:AutoSmoothMeshLines',['method failed to fulfill the max. ratio: ' num2str(results.max_ratio) ' > ' num2str(ratio)]);
end
quality = quality*(ratio/results.max_ratio);
end