File tree 5 files changed +21
-20
lines changed
5 files changed +21
-20
lines changed Original file line number Diff line number Diff line change 1
1
function map = annulusmap(rgn )
2
2
% ANNULUSMAP Solve the nonlinear system for D-SC parameter.
3
-
4
3
% ANNULUSMAP(RGN) solves the nonlinear system for D-SC parameter of a
5
- % doubly connected region RGN. RGN is an object of DSCPOLYGONS.
4
+ % doubly connected region RGN as created by DSCPOLYGONS.
6
5
%
7
6
% See also DSCPOLYGONS.
8
- % Written by Alfa Heryudono, 2003.
7
+
8
+ % Copyright by Alfa Heryudono, 2003.
9
9
10
10
% Get inner and outer polygons from region rgn
11
11
[p1 p0 ] = get(rgn );
Original file line number Diff line number Diff line change 1
1
function display(map )
2
- % Pretty-print D-SC parameters.
2
+ % DISPLAY Pretty-print D-SC parameters.
3
+ % Called automatically when a map is displayed at the command line.
3
4
4
- % Modification of POLYGON/DISPLAY.m
5
- % Modified by Alfa Heryudono, 2003.
5
+ % Copyright by Alfa Heryudono, 2003.
6
6
7
7
fprintf(' \n%s = DSC annulusmap:\n\n ' ,inputname(1 ))
8
8
if imag(map .c ) < 0
Original file line number Diff line number Diff line change 1
- function w = dscinvmap(z ,map )
2
- % DSCINVMAP Map a pt z to a pt w
1
+ function w = dscinvmap(map ,z )
2
+ % DSCINVMAP Values of the inverse map.
3
+ % DSCINVMAP(MAP,Z) finds the inverse image of a point Z under the annulusmap
4
+ % MAP. That is, it maps from the DC polygonal domain MAP.REGION to the
5
+ % annulus.
6
+ %
7
+ % See also ANNULUSMAP, ANNULUSMAP.DSCMAP.
3
8
4
- % DSCINVMAP(z,map) maps a pt z in the doubly connected region to the
5
- % annulus. map is an annulusmap object.
9
+ % Copyright by Alfa Heryudono, 2003.
6
10
7
- % see @annulusmap/annulusmap.m
8
-
9
- % check if z is in the doubly connected region
10
- % Not implemented yet.
11
- % ----------------------
12
- % ----------------------
11
+ % TODO: check if z is in the doubly connected region
13
12
14
13
% z is not allowed to be a vertex.
15
14
% check if z is in Z0.
Original file line number Diff line number Diff line change 1
1
function plot(map ,varargin )
2
- % PLOT Create the graphical representation of the annulusmap.
3
- % PLOT(map ) creates the graphical representation of the annulusmap.
2
+ % PLOT Graphical representation of an annulusmap.
3
+ % PLOT(MAP ) creates a graphical representation of the annulusmap MAP .
4
4
%
5
5
% PLOT(map,'num') or PLOT(map,'lab') also plots dots for the vertices and
6
6
% numeric labels of inner polygon and outer polygon. For infinite vertices,
7
7
% two numeric labels are printed.
8
8
9
9
% Modification of dplot.
10
- % Modified by Alfa Heryudono, 2003.
10
+ % Copyright by Alfa Heryudono, 2003.
11
11
12
12
% Plot the outer and inner polygon first.
13
13
if nargin > 1
Original file line number Diff line number Diff line change
1
+ % Tests of doubly-connected maps.
2
+
1
3
clf ;
2
- IPOLY = 1 ;
4
+ IPOLY = 4 ;
3
5
4
6
% In the file dscsolv.m, between line 98 and 116
5
7
% nonlinear solver can use nesolve, sdogleg, or fsolve (optim toolbox).
You can’t perform that action at this time.
0 commit comments