This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
mesh:mshdem [2012/11/19 19:09] gag |
mesh:mshdem [2014/03/26 10:37] (current) gag |
||
---|---|---|---|
Line 2: | Line 2: | ||
- | * **Source Fortran File: | + | * **Source Fortran File: |
- | This tool deforms vertically a 1m thick 3D mesh to conform with the bedrock and surface elevations given as DEMs. Informations (name and grid definition) of the bedrock and surface DEMs are given is the file //mesh_input.dat//. This file reads:\\ | + | **NEW:** since version 6626, works for parallel meshes (Warning, the '' |
+ | |||
+ | This tool deforms vertically a 1m thick 3D mesh to conform with the bedrock and surface elevations given as DEMs. Informations (name and grid definition) of the bedrock and surface DEMs are given is the file '' | ||
< | < | ||
! Name of the mesh directory (should exist) | ! Name of the mesh directory (should exist) | ||
Line 25: | Line 27: | ||
600.0 350.0 | 600.0 350.0 | ||
! Minimum ice thickness | ! Minimum ice thickness | ||
+ | 1.0 | ||
+ | ! Number of Partitions | ||
1.0 | 1.0 | ||
</ | </ | ||
- | The last parameter | + | The parameter |
- | + | ||
- | Nodal value of elevation are estimated from the bedrock | + | |
+ | Nodal value of elevation are estimated from the bedrock and surface DEMs using bilinear interpolation. The DEMs are given as 2D regular grid in an ASCII file (x y z). The data in the ASCII file have to be ordered such that | ||
+ | < | ||
+ | x1 y1 z11 | ||
+ | x2 y1 z21 | ||
+ | ... | ||
+ | xn y1 zn1 | ||
+ | x1 y2 z12 | ||
+ | ... | ||
+ | xn yn znn | ||
+ | </ | ||
- | Partitioning, if needed, has to be performed after // | + | The grid is described by giving: |
+ | * (x0, y0) the left-bottom corner coordinate | ||
+ | * (lx, ly) the x and y lengths of the covered domain | ||
+ | * (Nx, Ny) the number of cells in x and y directions | ||
+ | * No data are given by -9999 | ||
+ | |||
- | An example using //MshGlacierDEM// to construct Tête Rousse glacier mesh can be downloaded {{: | + | An example using '' |