Home
last modified time | relevance | path

Searched refs:max_res (Results 1 – 25 of 225) sorted by relevance

123456789

/dports/cad/csxcad/CSXCAD-0.6.2-103-g3c4fb66/python/CSXCAD/
H A DSmoothMeshLines.py63 if start_res>=(max_res/ratio) and stop_res>=(max_res/ratio):
71 while res<max_res and pos<rng:
92 pos += max_res
98 if start_res<(max_res/ratio) and stop_res>=(max_res/ratio):
102 if start_res>=(max_res/ratio) and stop_res<(max_res/ratio):
109 while res<max_res:
119 while res<max_res:
135 N = int(np.ceil(left/max_res))
138 l.append(l[-1]+max_res)
217 start_res = max_res
[all …]
/dports/cad/csxcad/CSXCAD-0.6.2-103-g3c4fb66/matlab/
H A DSmoothMesh.m1 function [mesh] = SmoothMesh( mesh, max_res, ratio, varargin)
2 % function [mesh] = SmoothMesh( mesh, max_res, <ratio, varargin>)
12 % max_res: scalar or vector of desired max. allowed resolution
43 if (numel(max_res)==1)
44 max_res = [max_res max_res max_res]; variable
49 if (numel(max_res)~=1)
50 max_res = [max_res max_res max_res]; variable
54 mesh.x = AutoSmoothMeshLines(mesh.x, max_res(1), ratio(1), varargin{:});
56 mesh.r = AutoSmoothMeshLines(mesh.r, max_res(1), ratio(1), varargin{:});
62 mesh.y = AutoSmoothMeshLines(mesh.y, max_res(2), ratio(2), varargin{:});
[all …]
H A DSmoothMeshLines2.m1 function lines = SmoothMeshLines2(lines, max_res, ratio, varargin)
2 %lines = SmoothMeshLines2( lines, max_res [, ratio, varargin] )
72 [EC pos] = CheckMesh(lines,0,max_res,ratio);
77 gap = calc_gaps(lines,old_gap,max_res);
109 CheckMesh(lines,0,max_res,max_ratio,0);
115 function gap = calc_gaps(lines,old_gap,max_res)
124 gap(1).stop_res = max_res;
201 % special case: fill entire range with max_res
202 n1 = ceil( (stop-start) / max_res ) + 1;
216 if (stop_taper(1) - start) >= max_res
[all …]
H A DRecursiveSmoothMesh.m80 if (center-fixedMeshPoints(nPoints/2) > 0.5*max_res)
99 % * minDistance is smaller than max_res
101 % * max_res is smaller than minDistance
102 % -> try spaces for the first mesh between max_res and max_res/10
103 if (minDistance < max_res)
104 trySpaces = linspace(max_res, minDistance/2, 10);
106 trySpaces = linspace(max_res, max_res/10, 10);
110 trySpaces(k), fixedMeshPoints(2:end), max_res, ratio);
124 CheckMesh(resultMeshPoints,0,max_res,ratio,0);
130 lastSpace, fixedMeshPoints, max_res, ratio)
[all …]
H A DAutoSmoothMeshLines.m1 function [lines quality] = AutoSmoothMeshLines( lines, max_res, ratio, varargin)
2 % function [lines quality] = AutoSmoothMeshLines( lines, max_res, ratio, varargin)
11 % max_res: desired max. resolution
36 error('CSXCAD:AutoSmoothMeshLines','lines and max_res are a required parameter');
92 out_lines{m} = methods{m}(lines, max_res, ratio, 'CheckMesh', false);
96 …quality(m) = eval_mesh(out_lines{m}, max_res, max_ratio, requires_homogen, requires_symmetric, all…
112 eval_mesh(lines, max_res, ratio, requires_homogen, requires_symmetric, allowed_min_res, 0);
119 function quality = eval_mesh(lines, max_res, ratio, requires_homogen, requires_symmetric, allowed_m…
147 if (results.max_res>max_res*1.01)
149 …eshLines',['method failed to fulfill max. res: ' num2str(results.max_res) ' > ' num2str(max_res)]);
[all …]
H A DSmoothMeshLines.m1 function lines = SmoothMeshLines( lines, max_res, ratio, varargin)
2 %function lines = SmoothMeshLines( lines, max_res, ratio, varargin)
9 % max_res: desired max. resolution
57 index = find(diff_Lines>(1.001*max_res));
71 start_res = max_res;
77 stop_res = max_res;
82 …addLines = [addLines SmoothRange(lines(index(n)),lines(index(n)+1),start_res,stop_res,max_res,rati…
92 [EC pos E_type] = CheckMesh(lines,0,max_res,ratio_relax,1);
114 lines = SmoothMeshLines( lines, max_res, ratio, 0);
121 CheckMesh(lines,0,max_res,max_ratio,0);
H A DCheckMesh.m1 function [EC pos E_type] = CheckMesh(lines, min_res, max_res, ratio, be_quiet)
2 % function [EC pos E_type] = CheckMesh(lines, min_res, max_res, ratio, be_quiet)
8 % max_res: maximal allowed mesh-diff
30 max_err = find(diff_lines>max_res);
32 warning('CSXCAD:CheckMesh','found resolution larger than max_res');
H A DAnalyseMesh.m8 % results.max_res: max. resolution found
30 results.max_res = max(diff_lines);
32 if (results.max_res==results.min_res)
/dports/cad/csxcad/CSXCAD-0.6.2-103-g3c4fb66/matlab/private/
H A DSmoothRange.m1 function [ lines ] = SmoothRange(start, stop, start_res, stop_res, max_res, ratio)
2 %function [ lines ] = SmoothRange(start, stop, start_res, stop_res, max_res, ratio)
18 while (taper<max_res)
25 while (taper<max_res)
31 while ( (abs(stop_taper(1) - start_taper(end)) < max_res) || (stop_taper(1) < start_taper(end)) )
56 numL = ceil((stop_taper(1) - start_taper(end))/max_res)+1;
/dports/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.39.0/src/
H A Dxf86Wacom.c139 min, max, res, min_res, max_res in wcmInitAxis()
163 int min, max, min_res, max_res, res; in wcmInitAxes() local
172 max_res = priv->resolX; in wcmInitAxes()
185 max_res = priv->resolY; in wcmInitAxes()
196 min_res = max_res = res = 1; in wcmInitAxes()
213 min_res = max_res = res = 1; in wcmInitAxes()
220 min_res = max_res = res = round(TILT_RES); in wcmInitAxes()
242 min_res = max_res = res = 1; in wcmInitAxes()
249 min_res = max_res = res = round(TILT_RES); in wcmInitAxes()
271 min_res = max_res = res = 1; in wcmInitAxes()
[all …]
/dports/cad/openroad/OpenROAD-2.0/src/rcx/src/
H A DOpenRCX.tcl37 [-max_res ohms]
51 -max_res
70 set max_res 50.0
71 if { [info exists keys(-max_res)] } {
72 set max_res $keys(-max_res)
73 sta::check_positive_float "-max_res" $max_res
107 rcx::extract $ext_model_file $corner_cnt $max_res \
H A Dext.i65 double max_res, in extract() argument
79 opts.max_res = max_res; in extract()
/dports/science/openems/openEMS-0.0.35-71-g4c24b6e/matlab/examples/antennas/
H A DPatch_Antenna.m72 max_res = c0 / (f0+fc) / unit / 20; % cell size: lambda/20 variable
76 …h.x = [mesh.x -patch.width/2-max_res/2*0.66 -patch.width/2+max_res/2*0.33 patch.width/2+max_res/2*…
77 mesh.x = SmoothMeshLines( mesh.x, max_res, 1.4); % create a smooth mesh between specified mesh lines
80 … = [mesh.y -patch.length/2-max_res/2*0.66 -patch.length/2+max_res/2*0.33 patch.length/2+max_res/2*…
81 mesh.y = SmoothMeshLines( mesh.y, max_res, 1.4 );
83 mesh.z = SmoothMeshLines( mesh.z, max_res, 1.4 );
H A DPatch_Antenna_Array.m78 max_res = c0 / (f0+fc) / unit / 20; % cell size: lambda/20 variable
84 mesh.z = SmoothMeshLines( mesh.z, max_res, 1.4 );
96 … midX-patch.width/2-max_res/2*0.66 midX-patch.width/2+max_res/2*0.33 midX+patch.width/2+max_res/…
98 …midY-patch.length/2-max_res/2*0.66 midY-patch.length/2+max_res/2*0.33 midY+patch.length/2+max_res/…
101 mesh.x = SmoothMeshLines( mesh.x, max_res, 1.4); % create a smooth mesh between specified mesh lines
102 mesh.y = SmoothMeshLines( mesh.y, max_res, 1.4 );
/dports/science/dynare/dynare-4.6.4/matlab/
H A Dsolve_two_boundaries.m92 [max_res, max_indx]=max(max(abs(r')));
94 max_res = (-max_res^2)^0.5; variable
96 if ~isreal(max_res) || isnan(max_res)
101 cvg=(max_res<solve_tolf);
105 if ~isreal(max_res) || isnan(max_res) || (max_resa<max_res && iter>1)
106 if verbose && ~isreal(max_res)
109 if isnan(max_res)
166 max_resa=max_res;
327 oo.deterministic_simulation.error = max_res;
336 oo.deterministic_simulation.error = max_res;
[all …]
H A Dsolve_one_boundary.m104 max_res=(-(max(max(abs(r))))^2)^0.5;
106 max_res=max(max(abs(r)));
116 if ~isreal(max_res) || isnan(max_res)
121 cvg=(max_res<solve_tolf);
125 if ~isreal(max_res) || isnan(max_res) || (max_resa<max_res && iter>1)
126 if isnan(max_res) || (max_resa<max_res && iter>0)
174 oo_.deterministic_simulation.error = max_res;
369 max_resa = max_res;
382 oo_.deterministic_simulation.error = max_res;
396 oo_.deterministic_simulation.error = max_res;
[all …]
/dports/cad/openroad/OpenROAD-2.0/src/OpenDB/src/zutil/
H A Dmisc_functions.cpp133 uint64 max_res = 0; variable
153 if (res > max_res) in AthMaxMem()
154 max_res = res; in AthMaxMem()
261 max_res = res; in AthResourceLog()
/dports/science/openems/openEMS-0.0.35-71-g4c24b6e/python/Tutorials/
H A DBent_Patch_Antenna.py119 max_res = C0 / (f0+fc) / unit / 20 variable
120 max_ang = max_res/(SimBox_rad+patch_radius) # max res in radiant
121 mesh.SmoothMeshLines(0, max_res, 1.4)
123 mesh.SmoothMeshLines(2, max_res, 1.4)
/dports/devel/boost-docs/boost_1_72_0/libs/accumulators/test/
H A Dvector.cpp84 … int s1[] = {1,2,3}, s2[] = {0,3,4}, s3[] = {2,1,4}, min_res[] = {0,1,3}, max_res[] = {2,3,4}; in test_stat() local
92 is_equal(sample_t(max_res,max_res+3), (max)(acc)); in test_stat()
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/accumulators/test/
H A Dvector.cpp84 … int s1[] = {1,2,3}, s2[] = {0,3,4}, s3[] = {2,1,4}, min_res[] = {0,1,3}, max_res[] = {2,3,4}; in test_stat() local
92 is_equal(sample_t(max_res,max_res+3), (max)(acc)); in test_stat()
/dports/databases/percona57-server/boost_1_59_0/libs/accumulators/test/
H A Dvector.cpp84 … int s1[] = {1,2,3}, s2[] = {0,3,4}, s3[] = {2,1,4}, min_res[] = {0,1,3}, max_res[] = {2,3,4}; in test_stat() local
92 is_equal(sample_t(max_res,max_res+3), (max)(acc)); in test_stat()
/dports/databases/xtrabackup/boost_1_59_0/libs/accumulators/test/
H A Dvector.cpp84 … int s1[] = {1,2,3}, s2[] = {0,3,4}, s3[] = {2,1,4}, min_res[] = {0,1,3}, max_res[] = {2,3,4}; in test_stat() local
92 is_equal(sample_t(max_res,max_res+3), (max)(acc)); in test_stat()
/dports/databases/percona57-client/boost_1_59_0/libs/accumulators/test/
H A Dvector.cpp84 … int s1[] = {1,2,3}, s2[] = {0,3,4}, s3[] = {2,1,4}, min_res[] = {0,1,3}, max_res[] = {2,3,4}; in test_stat() local
92 is_equal(sample_t(max_res,max_res+3), (max)(acc)); in test_stat()
/dports/devel/boost-libs/boost_1_72_0/libs/accumulators/test/
H A Dvector.cpp84 … int s1[] = {1,2,3}, s2[] = {0,3,4}, s3[] = {2,1,4}, min_res[] = {0,1,3}, max_res[] = {2,3,4}; in test_stat() local
92 is_equal(sample_t(max_res,max_res+3), (max)(acc)); in test_stat()
/dports/devel/boost-python-libs/boost_1_72_0/libs/accumulators/test/
H A Dvector.cpp84 … int s1[] = {1,2,3}, s2[] = {0,3,4}, s3[] = {2,1,4}, min_res[] = {0,1,3}, max_res[] = {2,3,4}; in test_stat() local
92 is_equal(sample_t(max_res,max_res+3), (max)(acc)); in test_stat()

123456789