|
1 | | - |
2 | | -ucvm2mesh directory : |
| 1 | +ucvm2mesh and friends |
| 2 | +--------------------- |
3 | 3 |
|
4 | 4 | grid4corners.c |
5 | | - grid4corners ingrid nx ny |
6 | | - --> takes a regular mesh (ucvm_point_t from ucvm2mesh) |
7 | | - // first one |
8 | | - // x-1 |
9 | | - // num_grid - x |
10 | | - // num_grid - 1 |
| 5 | +--> takes ucvm2mesh's grid (ucvm_point_t from ucvm2mesh) |
| 6 | + output coord of, |
| 7 | + first one |
| 8 | + x-1 |
| 9 | + num_grid - x |
| 10 | + num_grid - 1 |
| 11 | +USAGE: grid4corners ingrid nx ny |
| 12 | + ( from here, we will know if mesh is iterating in fast-x/fast-y and |
| 13 | + also where is the origin ) |
11 | 14 |
|
12 | 15 | latlon2utm.c |
13 | 16 | "+proj=utm +ellps=clrk66 +zone=%d +datum=NAD27 +units=m +no_defs" |
14 | 17 | zone is 10 or 11 |
15 | 18 | proj_create_crs_to_crs, EPSG:4326 |
16 | | - |
17 | | - latlon2utm zone < data_file |
18 | | - data_file |
| 19 | +USAGE: latlon2utm zone < data_file |
| 20 | + data_file format, |
19 | 21 | 0 lon lat |
20 | 22 | 1 utm_e utm_n |
21 | 23 |
|
22 | 24 | mesh2csv.c |
23 | | - |
24 | | -mesh2hdf5.c |
| 25 | +--> takes ucvm2mesh's output files |
| 26 | +USAGE: mesh2csv inmesh ingrid format spacing nx ny nz outfile |
| 27 | + input mesh file, local defined struct that holds vs/vp/rho and maybe more |
| 28 | + input grid file, ucvm_point_t containing coord[3] |
| 29 | + format of file, IJK-12, IJK-20, IJK-32, or SORD |
| 30 | + spacing, mesh spacing |
| 31 | + mesh dimensions, nx,ny,nz |
| 32 | + output csv file |
| 33 | + |
| 34 | +mesh2hdf5.c |
25 | 35 | mesh2hdf5.conf |
26 | | -mesh2hdf5-save.c |
| 36 | + TO_DO |
| 37 | +--> takes ucvm2mesh's output files and create hdf5 output file |
| 38 | +USAGE: -f ucvm2mesh.conf -m mesh2hdf5.conf |
27 | 39 |
|
28 | 40 | mesh2netcdf.c |
| 41 | +--> takes ucvm2mesh's output files (like mesh2csv.c) |
| 42 | + generate a simple netcdf with 3 blocks of data |
| 43 | +USAGE: mesh2netcdf inmesh ingrid format spacing nx ny nz outfile |
| 44 | + |
| 45 | +mesh_check.c (um_mesh.h) |
| 46 | +--> check mesh 'float' content (max node 10000) |
| 47 | +USAGE: mesh_check inmesh format |
| 48 | + format, IJK-12, IJK-20, IJK-32 |
29 | 49 |
|
30 | | -mesh_check.c |
31 | 50 | mesh_op.c |
| 51 | +--> perform 'OP' on 2 meshes and write out a new mesh |
| 52 | +USAGE: mesh_op op immesh1 inmesh2 format outmesh |
| 53 | + op, diff(subtract) |
| 54 | + format, IJK-12, IJK-20, IJK-32 |
32 | 55 |
|
33 | | -mesh_strip_ijk.c |
34 | 56 |
|
35 | | -mesh_translate.c |
| 57 | +mesh_strip_ijk.c |
| 58 | +--> Strip fields from existing AWP-20, AWP-32 mesh (max node 10000) |
| 59 | + rewrite into a mesh file with IJK-12 format |
| 60 | +USAGE: mesh_strip_ijk inmesh format outmesh |
| 61 | + format, IJK-20, IJK-32 |
| 62 | + |
| 63 | +mesh_translate.c (ucvm/uvm_grid.c) |
| 64 | +--> Perform origin translate operation on a ucvm2mesh mesh (max node 10000) |
| 65 | + north-west corner to south-west corner with seek-type(fast-Y) |
| 66 | + inmesh and outmesh would have same seek-type |
| 67 | +USAGE: mesh_translate type seek-type nx ny n mesh |
| 68 | + type, 0(material properties), 1(double) |
| 69 | + seek-type, 0(fast-Y), 1(fast-X) |
36 | 70 |
|
37 | | -ucvm2mesh.c |
38 | 71 | ucvm2mesh.conf |
| 72 | +ucvm2mesh.c |
| 73 | +--> Create a mesh making ucvm_query call. Origin is at north-west and fast-Y |
| 74 | + use ucvm/ucvm_grid_gen_file to create 'grid file' |
| 75 | + pickup grid points from the 'grid file' and extract the mesh data |
| 76 | +USAGE: ucvm2mesh -f configfile |
39 | 77 |
|
40 | 78 | ucvm2mesh_mpi.c |
| 79 | +USAGE: ucvm2mesh_mpi -f configfile |
| 80 | + |
41 | 81 | ucvm2mesh_mpi_layer.c |
| 82 | +--> in config file, px * py * pz = total rank process unit(mpi sense) |
| 83 | + px * py = set of ranks clustered as a layer |
| 84 | + pz = number of layers defined on the mesh |
| 85 | +USAGE: ucvm2mesh_mpi_layer -f configfile -l layer -c count |
| 86 | + layer, which layer to start processing |
| 87 | + count, how many rank layer to process |
| 88 | + |
| 89 | + |
| 90 | +utilities routines |
| 91 | +------------------ |
42 | 92 |
|
43 | 93 | um_config.c |
44 | 94 | um_config.h |
|
0 commit comments