-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #163 from lmh91/csg_updates
Refactor Volume Primitives and Improvements in Painting Thanks both of you for your comments!
- Loading branch information
Showing
91 changed files
with
4,651 additions
and
2,360 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
name: ExampleCuboid | ||
units: | ||
length: mm | ||
angle: deg | ||
potential: V | ||
temperature: K | ||
grid: | ||
coordinates: cartesian | ||
axes: | ||
x: | ||
from: -9 | ||
to: 9 | ||
boundaries: inf | ||
y: | ||
from: -9 | ||
to: 9 | ||
boundaries: inf | ||
z: | ||
from: -9 | ||
to: 9 | ||
boundaries: inf | ||
medium: vacuum | ||
detectors: | ||
- translate: | ||
x: 0 | ||
rotate: | ||
Z: 45 | ||
bulk: | ||
material: HPGe | ||
temperature: 78 | ||
impurity_density: | ||
name: linear | ||
x: | ||
init: 0 | ||
gradient: 0 | ||
y: | ||
init: 0 | ||
gradient: 0 | ||
z: | ||
init: 10000000 | ||
gradient: 50000 | ||
charge_drift_model: | ||
include: ADLChargeDriftModel/drift_velocity_config.json | ||
geometry: | ||
box: | ||
x: 10 # width in x | ||
y: 10 # width in y | ||
z: 10 # width in z | ||
contacts: | ||
- material: HPGe | ||
name: n+ contact | ||
potential: 2000 | ||
channel: 1 | ||
geometry: | ||
union: | ||
- box: | ||
x: | ||
from: -5 | ||
to: -4.5 | ||
y: 10 | ||
z: 10 | ||
- translate: | ||
z: 4.5 | ||
box: | ||
x: | ||
from: -4.5 | ||
to: -4 | ||
y: 10 | ||
z: 1 | ||
- material: HPGe | ||
name: p+ contact | ||
potential: 0 | ||
channel: 2 | ||
geometry: | ||
translate: | ||
y: 0 | ||
difference: | ||
- box: | ||
x: | ||
from: 4.5 | ||
to: 5 | ||
y: 10 | ||
z: 10 | ||
- box: | ||
x: | ||
from: 4 | ||
to: 5.5 | ||
y: 4 | ||
z: 4 | ||
|
||
surroundings: | ||
- name: Base | ||
material: Copper | ||
potential: 0 | ||
geometry: | ||
box: | ||
x: | ||
from: -9 | ||
to: 9 | ||
y: | ||
from: -9 | ||
to: 9 | ||
z: | ||
from: -9 | ||
to: -7 |
104 changes: 104 additions & 0 deletions
104
examples/example_config_files/public_CGD_config_cyl_grid.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
name: ExampleCuboid | ||
units: | ||
length: mm | ||
angle: deg | ||
potential: V | ||
temperature: K | ||
grid: | ||
coordinates: cylindrical | ||
axes: | ||
r: | ||
to: 9 | ||
boundaries: inf | ||
y: | ||
from: 0 | ||
to: 0 | ||
boundaries: periodic | ||
z: | ||
from: -9 | ||
to: 9 | ||
boundaries: inf | ||
medium: vacuum | ||
detectors: | ||
- translate: | ||
x: 0 | ||
rotate: | ||
Z: 45 | ||
bulk: | ||
material: HPGe | ||
temperature: 78 | ||
impurity_density: | ||
name: linear | ||
x: | ||
init: 0 | ||
gradient: 0 | ||
y: | ||
init: 0 | ||
gradient: 0 | ||
z: | ||
init: 10000000 | ||
gradient: 50000 | ||
charge_drift_model: | ||
include: ADLChargeDriftModel/drift_velocity_config.json | ||
geometry: | ||
box: | ||
x: 10 # width in x | ||
y: 10 # width in y | ||
z: 10 # width in z | ||
contacts: | ||
- material: HPGe | ||
name: n+ contact | ||
potential: 2000 | ||
channel: 1 | ||
geometry: | ||
union: | ||
- box: | ||
x: | ||
from: -5 | ||
to: -4.5 | ||
y: 10 | ||
z: 10 | ||
- translate: | ||
z: 4.5 | ||
box: | ||
x: | ||
from: -4.5 | ||
to: -4 | ||
y: 10 | ||
z: 1 | ||
- material: HPGe | ||
name: p+ contact | ||
potential: 0 | ||
channel: 2 | ||
geometry: | ||
translate: | ||
y: 0 | ||
difference: | ||
- box: | ||
x: | ||
from: 4.5 | ||
to: 5 | ||
y: 10 | ||
z: 10 | ||
- box: | ||
x: | ||
from: 4 | ||
to: 5.5 | ||
y: 4 | ||
z: 4 | ||
|
||
surroundings: | ||
- name: Base | ||
material: Copper | ||
potential: 0 | ||
geometry: | ||
box: | ||
x: | ||
from: -9 | ||
to: 9 | ||
y: | ||
from: -9 | ||
to: 9 | ||
z: | ||
from: -9 | ||
to: -7 |
Oops, something went wrong.