From 0756311f1230d2291f4821dbaa902e973f44a8a8 Mon Sep 17 00:00:00 2001 From: hrocho Date: Fri, 15 Dec 2017 00:57:28 +0100 Subject: [PATCH] compunds added --- material_database.cpp | 27 +++++++++++++++++++++++++++ material_database.h | 29 ++++++++++++++++++++++++++++- 2 files changed, 55 insertions(+), 1 deletion(-) diff --git a/material_database.cpp b/material_database.cpp index 29469bc..ce68130 100644 --- a/material_database.cpp +++ b/material_database.cpp @@ -33,7 +33,34 @@ namespace catima{ case material::Suprasil: return Material({{0,14,0.37722},{0,8,0.539562},{0,5,0.040064},{0,11,0.028191},{0,13,0.011644},{0,19,0.003321}},2.2); case material::HAVAR: return Material({{0,27,0.403228},{0,24,0.169412},{0,28,0.124301},{0,74,0.089847},{0,42,0.031259},{0,26,0.181952}},8.3); case material::Steel: return Material({{0,26,0.74621},{0,24,0.169},{0,28,0.08479}},8); + case material::CO2: return Material({{0,6,1},{0,8,2}},0.001842); case material::CH4: return Material({{0,1,4},{0,6,1}},0.0006); + case material::Bakelite: return Material({{0,1,0.057441},{0,6,0.774591},{0,8,0.167968}},1.25); + case material::A-150 platics: return Material({{0,1,0.101327},{0,6,0.7755},{0,7,0.035057},{0,8,0.0523159},{0,9,0.017422},{0,20,0.018378}},1.127); + case material::B-100 platics: return Material({{0,1,0.0654709},{0,6,0.536944},{0,7,0.0215},{0,8,0.032085},{0,9,0.167411},{0,20,0.176589}},1.45); + case material::Adenine: return Material({{0,1,5},{0,6,5},{0,7,5}},1.35); + case material::Ammonia: return Material({{0,1,3},{0,7,1}},0.000826); + case material::BaF2: return Material({{0,9,2},{0,56,1}},4.89); + case material::BaSO4: return Material({{0,8,4},{0,16,1},{0,56,1}},4.5); + case material::BaO: return Material({{0,4,1},{0,8,1}},3.01); + case material::BGO: return Material({{0,8,12},{0,32,3},{0,83,4}},7.13); + case material::Blood: return Material({{0,1,0.101866},{0,6,0.10002},{0,7,0.02964},{0,8,0.759414},{0,11,0.00185},{0,12,4e-05},{0,14,3e-05},{0,15,0.00035},{0,16,0.00185},{0,17,0.00278},{0,19,0.00163},{0,20,6e-05},{0,26,0.00046},{0,30,1e-05}},1.06); + case material::Bone_Compact: return Material({{0,1,0.063984},{0,6,0.278},{0,7,0.027},{0,8,0.410016},{0,12,0.002},{0,15,0.07},{0,16,0.002},{0,20,0.147}},1.85); + case material::Bone_Cortical: return Material({{0,1,0.047234},{0,6,0.14433},{0,7,0.04199},{0,8,0.446096},{0,12,0.0022},{0,15,0.10497},{0,16,0.00315},{0,20,0.20993},{0,30,0.0001}},1.85); + case material::Brain_ICRP: return Material({{0,1,0.110667},{0,6,0.12542},{0,7,0.01328},{0,8,0.737723},{0,11,0.00184},{0,12,0.00015},{0,15,0.00354},{0,16,0.00177},{0,17,0.00236},{0,19,0.0031},{0,20,9e-05},{0,26,5e-05},{0,30,1e-05}},1.03); + case material::CdTe: return Material({{0,48,1},{0,52,1}},6.2); + case material::CdWO4: return Material({{0,8,4},{0,48,1},{0,74,1}},7.9); + case material::CaCO3: return Material({{0,6,1},{0,8,3},{0,20,1}},2.8); + case material::CaF2: return Material({{0,9,2},{0,20,1}},3.18); + case material::CaWO4: return Material({{0,8,4},{0,20,1},{0,74,1}},6.062); + case material::CsF: return Material({{0,9,1},{0,55,1}},4.115); + case material::CsI: return Material({{0,53,1},{0,55,1}},4.51); + case material::Concrete: return Material({{0,1,0.01},{0,6,0.001},{0,8,0.529107},{0,11,0.016},{0,12,0.002},{0,13,0.033872},{0,14,0.337021},{0,19,0.013},{0,20,0.044},{0,26,0.014}},2.3); + case material::Eye_lens: return Material({{0,1,0.099269},{0,6,0.19371},{0,7,0.05327},{0,8,0.653751}},1.1); + case material::Lung: return Material({{0,1,0.101278},{0,6,0.10231},{0,7,0.02865},{0,8,0.757072},{0,11,0.00184},{0,12,0.00073},{0,15,0.0008},{0,16,0.00225},{0,17,0.00266},{0,19,0.00194},{0,20,9e-05},{0,26,0.00037},{0,30,1e-05}},1.05); + case material::Muscle_skeletal: return Material({{0,1,0.100637},{0,6,0.10783},{0,7,0.02768},{0,8,0.754773},{0,11,0.00075},{0,12,0.00019},{0,15,0.0018},{0,16,0.00241},{0,17,0.00079},{0,19,0.00302},{0,20,3e-05},{0,26,4e-05},{0,30,5e-05}},1.04); + case material::Muscle_strained: return Material({{0,1,0.101997},{0,6,0.123},{0,7,0.035},{0,8,0.729003},{0,11,0.0008},{0,12,0.0002},{0,15,0.002},{0,16,0.005},{0,19,0.003}},1.04); + case material::Skin: return Material({{0,1,0.100588},{0,6,0.22825},{0,7,0.04642},{0,8,0.619002},{0,11,7e-05},{0,12,6e-05},{0,15,0.00033},{0,16,0.00159},{0,17,0.00267},{0,19,0.00085},{0,20,0.00015},{0,26,1e-05},{0,30,1e-05}},1.1); default:break; } return Material(); diff --git a/material_database.h b/material_database.h index 81f08f9..382f9a5 100644 --- a/material_database.h +++ b/material_database.h @@ -26,7 +26,34 @@ namespace catima{ Suprasil = 219, HAVAR = 220, Steel = 221, - CH4 = 222 + CO2 = 222, + CH4 = 223, + Bakelite = 224, + A-150 platics = 225, + B-100 platics = 226, + Adenine = 227, + Ammonia = 228, + BaF2 = 229, + BaSO4 = 230, + BaO = 231, + BGO = 232, + Blood = 233, + Bone_Compact = 234, + Bone_Cortical = 235, + Brain_ICRP = 236, + CdTe = 237, + CdWO4 = 238, + CaCO3 = 239, + CaF2 = 240, + CaWO4 = 241, + CsF = 242, + CsI = 243, + Concrete = 244, + Eye_lens = 245, + Lung = 246, + Muscle_skeletal = 247, + Muscle_strained = 248, + Skin = 249 }; Material get_compound(material m);