## anuga-user — Discussions about the usage of ANUGA

You can subscribe to this list here.

 2007 2008 2009 2010 2011 2012 2013 2014 2015 Jan (4) Feb Mar (2) Apr (2) May Jun Jul (2) Aug Sep Oct (32) Nov (36) Dec (9) Jan (37) Feb (12) Mar Apr (6) May (15) Jun (7) Jul (10) Aug (15) Sep (6) Oct (29) Nov (16) Dec (1) Jan Feb (2) Mar (9) Apr (6) May (17) Jun (16) Jul (23) Aug (6) Sep (11) Oct (1) Nov (15) Dec (8) Jan (3) Feb (9) Mar (3) Apr (2) May Jun (9) Jul (3) Aug (5) Sep (1) Oct (1) Nov (5) Dec (5) Jan Feb (1) Mar (8) Apr (6) May (1) Jun (8) Jul (14) Aug (7) Sep (3) Oct (7) Nov (1) Dec (1) Jan (2) Feb (22) Mar (8) Apr May (7) Jun (2) Jul (15) Aug (26) Sep (7) Oct (6) Nov (11) Dec (30) Jan (2) Feb (12) Mar (20) Apr (21) May (6) Jun (22) Jul (14) Aug (12) Sep (5) Oct (14) Nov (22) Dec (3) Jan (3) Feb (5) Mar (9) Apr (5) May (5) Jun (4) Jul Aug (3) Sep (1) Oct (3) Nov (8) Dec (4) Jan (5) Feb (2) Mar (1) Apr May (8) Jun (10) Jul (2) Aug (2) Sep Oct Nov Dec
S M T W T F S

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23
(4)
24

25

26

27

28

29

30

31

Showing 4 results of 4

 Re: [Anuga-user] Nesting interior regionsin create_mesh_from_regions From: - 2007-01-23 22:31:48 ``` Yes, you can have the inner2_polygon=20 sitting inside of the inner1_polygon. Cheers Duncan Thanks Duncan, I guess what I had in mind was whether I could have the inner2_polygon=20 sitting inside of the inner1_polygon... So in the case of your example this would be if: inner2_polygon_absolute =3D [[12,12],[18,12],[18,18],[12,18]] Perhaps I should just try it and see what happens? Cheers, William Sent by: anuga-user-bounces@... 24/01/2007 11:06 # These are the absolute values polygon_absolute =3D [[0,0],[100,0],[100,100],[0,100]] =20 x_p =3D -10 y_p =3D -40 geo_ref_poly =3D Geo_reference(56, x_p, y_p) polygon =3D geo_ref_poly.change_points_geo_ref(polygon_absolute) boundary_tags =3D {'walls':[0,1],'bom':[2]} =20 inner1_polygon_absolute =3D [[10,10],[20,10],[20,20],[10,20]] inner1_polygon =3D geo_ref_poly. \ change_points_geo_ref(inner1_polygon_absolute) inner2_polygon_absolute =3D [[30,30],[40,30],[40,40],[30,40]] inner2_polygon =3D geo_ref_poly. \ change_points_geo_ref(inner2_polygon_absolute) =20 interior_regions =3D [(inner1_polygon, 5),(inner2_polygon, 0.2)] m =3D create_mesh_from_regions(polygon, boundary_tags, 10000000, = interior_regions=3Dinterior_regions, poly_geo_reference=3Dgeo_ref_poly, mesh_geo_reference=3Dmesh_geo) ____________________________________ -----Original Message----- From: anuga-user-bounces@... [mailto:anuga-user-bounces@...] On Behalf Of William=20 Power Sent: Wednesday, 24 January 2007 7:35 AM To: anuga-user@... Subject: [Anuga-user] Nesting interior regions in = create_mesh_from_regions Hi, I wonder if someone can help me to find out if I can have nested = interior=20 regions when I'm using the create_mesh_from_regions command in ANUGA? What I'd ideally like to do is use different resolutions for: a central=20 urban area, the surrounding harbour, and the wider coastline.=20 Can anyone tell me if this is possible? Thanks, William Power -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share=20 your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ Anuga-user mailing list Anuga-user@... https://lists.sourceforge.net/lists/listinfo/anuga-user -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share=20 your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ Anuga-user mailing list Anuga-user@... https://lists.sourceforge.net/lists/listinfo/anuga-user -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share = your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ Anuga-user mailing list Anuga-user@... https://lists.sourceforge.net/lists/listinfo/anuga-user ```
 Re: [Anuga-user] Nesting interior regions in create_mesh_from_regions From: William Power - 2007-01-23 22:23:37 ```----- Forwarded by William Power/GNS on 24/01/2007 11:23 ----- William Power 24/01/2007 11:22 To: cc: Subject: Re: [Anuga-user] Nesting interior regions in create_mesh_from_regions Thanks Duncan, I guess what I had in mind was whether I could have the inner2_polygon sitting inside of the inner1_polygon... So in the case of your example this would be if: inner2_polygon_absolute = [[12,12],[18,12],[18,18],[12,18]] Perhaps I should just try it and see what happens? Cheers, William Sent by: anuga-user-bounces@... 24/01/2007 11:06 To: cc: Subject: Re: [Anuga-user] Nesting interior regions in create_mesh_from_regions Hi William, Yes, the regions can be nested, using the parameter interior_regions. The different regions can have different resolutions as well. The file test_mesh_interface has examples of this. Cheers Duncan >From test_mesh_interface; (5 and 0.2 are the resolutions) ___________________________________ def test_create_mesh_from_regions(self): x=-500 y=-1000 mesh_geo = geo_reference=Geo_reference(56,x,y) # These are the absolute values polygon_absolute = [[0,0],[100,0],[100,100],[0,100]] x_p = -10 y_p = -40 geo_ref_poly = Geo_reference(56, x_p, y_p) polygon = geo_ref_poly.change_points_geo_ref(polygon_absolute) boundary_tags = {'walls':[0,1],'bom':[2]} inner1_polygon_absolute = [[10,10],[20,10],[20,20],[10,20]] inner1_polygon = geo_ref_poly. \ change_points_geo_ref(inner1_polygon_absolute) inner2_polygon_absolute = [[30,30],[40,30],[40,40],[30,40]] inner2_polygon = geo_ref_poly. \ change_points_geo_ref(inner2_polygon_absolute) interior_regions = [(inner1_polygon, 5),(inner2_polygon, 0.2)] m = create_mesh_from_regions(polygon, boundary_tags, 10000000, interior_regions=interior_regions, poly_geo_reference=geo_ref_poly, mesh_geo_reference=mesh_geo) ____________________________________ -----Original Message----- From: anuga-user-bounces@... [mailto:anuga-user-bounces@...] On Behalf Of William Power Sent: Wednesday, 24 January 2007 7:35 AM To: anuga-user@... Subject: [Anuga-user] Nesting interior regions in create_mesh_from_regions Hi, I wonder if someone can help me to find out if I can have nested interior regions when I'm using the create_mesh_from_regions command in ANUGA? What I'd ideally like to do is use different resolutions for: a central urban area, the surrounding harbour, and the wider coastline. Can anyone tell me if this is possible? Thanks, William Power ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Anuga-user mailing list Anuga-user@... https://lists.sourceforge.net/lists/listinfo/anuga-user ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Anuga-user mailing list Anuga-user@... https://lists.sourceforge.net/lists/listinfo/anuga-user ```
 Re: [Anuga-user] Nesting interior regions in create_mesh_from_regions From: - 2007-01-23 22:06:34 ```Hi William, Yes, the regions can be nested, using the parameter interior_regions. = The different regions can have different resolutions as well. The file test_mesh_interface has examples of this. Cheers Duncan >From test_mesh_interface; (5 and 0.2 are the resolutions) ___________________________________ def test_create_mesh_from_regions(self): x=3D-500 y=3D-1000 mesh_geo =3D geo_reference=3DGeo_reference(56,x,y) =20 # These are the absolute values polygon_absolute =3D [[0,0],[100,0],[100,100],[0,100]] =20 x_p =3D -10 y_p =3D -40 geo_ref_poly =3D Geo_reference(56, x_p, y_p) polygon =3D geo_ref_poly.change_points_geo_ref(polygon_absolute) boundary_tags =3D {'walls':[0,1],'bom':[2]} =20 inner1_polygon_absolute =3D [[10,10],[20,10],[20,20],[10,20]] inner1_polygon =3D geo_ref_poly. \ change_points_geo_ref(inner1_polygon_absolute) inner2_polygon_absolute =3D [[30,30],[40,30],[40,40],[30,40]] inner2_polygon =3D geo_ref_poly. \ change_points_geo_ref(inner2_polygon_absolute) =20 interior_regions =3D [(inner1_polygon, 5),(inner2_polygon, 0.2)] m =3D create_mesh_from_regions(polygon, boundary_tags, 10000000, = interior_regions=3Dinterior_regions, poly_geo_reference=3Dgeo_ref_poly, mesh_geo_reference=3Dmesh_geo) ____________________________________ -----Original Message----- From: anuga-user-bounces@... [mailto:anuga-user-bounces@...] On Behalf Of William = Power Sent: Wednesday, 24 January 2007 7:35 AM To: anuga-user@... Subject: [Anuga-user] Nesting interior regions in = create_mesh_from_regions Hi, I wonder if someone can help me to find out if I can have nested = interior=20 regions when I'm using the create_mesh_from_regions command in ANUGA? What I'd ideally like to do is use different resolutions for: a central=20 urban area, the surrounding harbour, and the wider coastline.=20 Can anyone tell me if this is possible? Thanks, William Power -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share = your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ Anuga-user mailing list Anuga-user@... https://lists.sourceforge.net/lists/listinfo/anuga-user ```
 [Anuga-user] Nesting interior regions in create_mesh_from_regions From: William Power - 2007-01-23 20:35:07 ```Hi, I wonder if someone can help me to find out if I can have nested interior regions when I'm using the create_mesh_from_regions command in ANUGA? What I'd ideally like to do is use different resolutions for: a central urban area, the surrounding harbour, and the wider coastline. Can anyone tell me if this is possible? Thanks, William Power ```

Showing 4 results of 4