1
0
Fork 0
mirror of https://github.com/gwm17/catima.git synced 2024-11-26 12:08:52 -05:00

Merge pull request #31 from hrosiak/console

console
This commit is contained in:
Andrej Prochazka 2018-04-13 19:00:26 +02:00 committed by GitHub
commit bdbd8eede0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 150 additions and 3 deletions

View File

@ -243,7 +243,9 @@ Material json_material(json &j){
return m;
}
else{
return get_material(z);
Material m = get_material(z);
m.thickness(th);
return m;
}
}

View File

@ -72,8 +72,6 @@ not specified default will be used. The config keyword is expected to be one of
"config":"atimav1.4"
```
Example Files
-------------------
```
@ -133,3 +131,150 @@ Example Files
}
```
#### Compound material
The predefined compound material can be used using the __Z__ field as an ID of the compound.
The following are supported:
```
Plastics = 201,
Air = 202,
CH2 = 203,
LH2 = 204,
LD2 = 205,
Water = 206,
Diamond = 207,
Glass = 208,
ALMG3 = 209,
ArCO2_30 = 210,
CF4 = 211,
Isobutane = 212,
Kapton = 213,
Mylar = 214,
NaF = 215,
P10 = 216,
Polyolefin = 217,
CmO2 = 218,
Suprasil = 219,
HAVAR = 220,
Steel = 221,
CO2 = 222,
CH4 = 223,
Methanol = 224,
Acetone = 225,
Acetylene = 226,
Adenine = 227,
Adipose_Tissue = 228,
Alanine = 229,
Bakelite = 230,
AgBr = 231,
AgCl = 232,
AgI = 233,
Al2O3 = 234,
Amber = 235,
Ammonia = 236,
Aniline = 237,
Anthracene = 238,
A_150 = 239,
B_100 = 240,
BaF2 = 241,
BaSO4 = 242,
Benzene = 243,
BeO = 244,
BGO = 245,
Blood = 246,
Bone_Compact = 247,
Bone_Cortical = 248,
Brain_ICRP = 249,
B4C = 250,
BC400 = 251,
nButanol = 252,
C_552 = 253,
CdTe = 254,
CdWO4 = 255,
CaCO3 = 256,
CaF2 = 257,
CaO = 258,
CaWO4 = 259,
CsF = 260,
CsI = 261,
CCl4 = 262,
C2Cl4 = 263,
Cellophane = 264,
Chlorobenzene = 265,
Chloroform = 266,
Cyclohexane = 267,
Concrete = 268,
Diethyl_Ether = 269,
Ethane = 270,
Ethanol = 271,
Ethylene = 272,
Eye_lens = 273,
Fe2O3 = 274,
FeO = 275,
Freon12 = 276,
Freon12B2 = 277,
Freon13 = 278,
Freon13B1 = 279,
Freon13I1 = 280,
Gd2O2S = 281,
GaAs = 282,
Gel_Photo_Emulsion = 283,
Glass_Pyrex = 284,
Glass_Lead = 285,
Glucose = 286,
Glutamine = 287,
Glycerol = 288,
Guanine = 289,
Gypsum = 290,
nHeptane = 291,
nHexane = 292,
KI = 293,
K2O = 294,
LaBr3 = 295,
LaOBr = 296,
La2O2S = 297,
Lung = 298,
MgCO3 = 299,
MgF2 = 300,
MgO = 301,
MS20_Tissue = 302,
Muscle_skeletal = 303,
Muscle_strained = 304,
Muscle_sucrose = 305,
Muscle_no_sucrose = 306,
Na2CO3 = 307,
NaI = 308,
NaCl = 309,
Na2O = 310,
NaNO3 = 311,
Naphthalene = 312,
Nitrobenzene = 313,
N2O = 314,
Octane = 315,
Paraffin = 316,
nPentane = 317,
PhotoEmulsion = 318,
PuO2 = 319,
Polyacrylonitrile = 320,
Polycarbonate = 321,
PMMA = 322,
POM = 323,
Polypropylene = 324,
Polystyrene = 325,
Propane = 326,
nPropanol = 327,
PVC = 328,
Pyridine = 329,
SiO2 = 330,
Skin = 331,
Sucrose = 332,
Teflon = 333,
TlCl = 334,
Toluene = 335,
Trichloroethylene = 336,
WF6 = 337,
UC2 = 338,
UC = 339,
UO2 = 340,
Urea = 341,
Valine = 342
```