Skip to content

Commit 6517e98

Browse files
author
contuandrea
committed
Added README for maps preprocessing
1 parent 8d349f8 commit 6517e98

File tree

3 files changed

+50
-0
lines changed

3 files changed

+50
-0
lines changed

examples/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ In order to run the example from this directory send the following command:
55
To run only one od the two simulation specify its index, e.g., to run only the first:
66

77
`'path to executables'/simulation_cuda -c example_config.cfg -i 0`
8+
9+
The example configuration file contains all the available options (not all of them mandatory)

examples/README_MAP_PREPROCESSING.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
Before running a simulation with new maps, it is advised to preprocess them with the command line tool 'loadmap'.
2+
An example is available in this directory at processmaps.sh
3+
4+
All the available options are listed below:
5+
6+
| shortcut | identifier | description | type |
7+
| -------- |:----------:|:---------------------------------------------------------------------------------------------------------------------:|-----:|
8+
| e | efield | Electric field map file | string|
9+
| | efield_sc | Electric field map skip columns | int|
10+
| | efield_sr | Electric field map skip rows | int|
11+
| | efield_scale | Electric field scaling factor | int|
12+
| | efield_scalespace | Electric field coordinates scaling factor | double|
13+
| | efield_output | Electric field output file | string |
14+
| E | emob | Electron mobility map file | string |
15+
| | emob_sc | Electron mobility map skip columns | int |
16+
| | emob_sr | Electron mobility map skip rows | int |
17+
| | emob_scale | Electron mobility map scaling factor | double |
18+
| | emob_scalespace | Electron mobility map coordinates scaling factor | double |
19+
| | emob_out | Electron mobility map output file | string |
20+
| H | hmob |Hole mobility map file | string |
21+
| | hmob_sc | Hole mobility map skip columns | int |
22+
| | hmob_sr | Hole mobility map skip rows | int |
23+
| | hmob_scale | Hole mobility map scaling factor | double |
24+
| | hmob_scalespace | Hole mobility map coordinates scaling factor | double |
25+
| | hmob_out | Hole mobility map output file | string |
26+
| w | wfield | Weighting field map file | string|
27+
| | wfield_sc | Weighting field map skip columns | int|
28+
| | wfield_sr | Weighting field map skip rows | int|
29+
| | wfield_scale | Weighting field scaling factor | int|
30+
| | wfield_scalespace | Weighting field coordinates scaling factor | double|
31+
| | wfield_output | Weighting field output file | string |
32+
| o | OutputDirectory | Output directory | string |
33+
34+
35+
36+
If a single map with all quantitites is given (the order must be x,y,z, Ex, Ey, Ez, emob, hmob, Wx, Wy, Wz) the options are:
37+
38+
| shortcut | identifier | description | type |
39+
| -------- |:----------:|:-----------:|-----:|
40+
| p | physmap | Full map of fields | string |
41+
| | physmap_sc | Full map skip columns | int |
42+
| | physmap_sr | Full map skip rows | int |
43+
| | physmap_scale | Full map scaling factor | double |
44+
| | physmap_scalespace | Full map space scaling factor | double |
45+
| | physmap_out | Full map output file | string |
46+
| o | OutputDirectory | Output directory | string |

examples/processmaps.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash
2+
'path to executables'/loadmaps_cuda -E 'path to input map'/my_electron_mobility.txt -e 'path to input map'/my_electric_field.txt -w 'path to input map'/my_weighting_field.txt -H 'path to input map'/my_hole_mobility.txt --efield_sc 2 --wfield_sc 2 --hmob_sc 2 --emob_sc 2 --emob_scale 1e8 --hmob_scale 1e8 --efield_scale 1e-4 --wfield_scale 1e-4

0 commit comments

Comments
 (0)