Skip to content

Commit

Permalink
Merge pull request #15 from AliMatias/develop
Browse files Browse the repository at this point in the history
v0.3.0
  • Loading branch information
AliMatias authored Jun 29, 2019
2 parents 76b97e7 + 46be969 commit 0b7357a
Show file tree
Hide file tree
Showing 162 changed files with 87,625 additions and 1,480 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,11 @@ sysinfo.txt
# Builds
*.apk
*.unitypackage

#vscode
*.vscode/*
*.vscode/settings.json
*.vscode/tasks.json
*.vscode/launch.json
*.vscode/extensions.json
New Unity Project/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ CREATE TABLE "elementos_info_basica"(
"nombre" TEXT NULL,
"peso_atomico" REAL NULL,
"periodo" INTEGER NULL,
"fase" TEXT NULL,
"clasificacion" TEXT NULL,
"clasificacion_grupo" TEXT NULL,
"estado_natural" TEXT NULL,
"estructura_cristalina" TEXT NULL,
"color" TEXT NULL,
"valencia" INTEGER NULL,
"valencia" TEXT NULL,
"numeros_oxidacion" TEXT NULL,
"configuracion_electronica_abreviada" TEXT NULL,
"configuracion_electronica" TEXT NULL,
Expand All @@ -22,6 +24,7 @@ CREATE TABLE "elementos_info_detalle"(
"id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
"numero_atomico" INTEGER NULL,
"isotopos_estables" TEXT NULL,
"isotopos_aplicaciones" TEXT NULL,
"tipo_electrico" TEXT NULL,
"radiactivo" TEXT NULL,
"abundancia_corteza_terrestre" TEXT NULL,
Expand Down Expand Up @@ -60,8 +63,8 @@ CREATE TABLE "elementos_info_detalle"(
"nombre_grupo_espacial" TEXT NULL,
"radio_van_der_waals" TEXT NULL,
"radio_atomico_en_angstroms" REAL NULL,
"radio_covalente" REAL NULL,
"radio_van-der_waals" REAL NULL,
"radio_covalente_en_angstroms" REAL NULL,
"radio_van-der_waals_en_angstroms" REAL NULL,
"modulo_young" TEXT NULL,
"nombres_alotropicos" TEXT NULL,
"energias_de_ionizacion" TEXT NULL);
Expand All @@ -87,3 +90,21 @@ CREATE TABLE "valida_elementos"(
"protones" INTEGER NULL,
"neutrones" INTEGER NULL);


CREATE TABLE "valida_isotopos"(
"id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
"numero_atomico" INTEGER NULL,
"numero_correlativo" INTEGER NULL,
"isotopo" TEXT NULL,
"numero_de_masa" INTEGER NULL,
"neutrones" INTEGER NULL);


CREATE TABLE "elementos_orbitas"(
"id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
"nro_orbita" INTEGER NULL,
"nombre_capa" TEXT NULL,
"max_electrones" INTEGER NULL);



26 changes: 26 additions & 0 deletions DB Scripts/DDL_create_tables_moleculas.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

CREATE TABLE "moleculas_lista"(
"id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
"formula" TEXT NULL,
"formula_nomenclatura_sistematica" TEXT NULL,
"nomenclatura_stock" TEXT NULL,
"nomenclatura_tradicional" TEXT NULL);


CREATE TABLE "moleculas_mapping_element"(
"id_molecula" INTEGER,
"id_elemento" INTEGER,
"cantidad" INTEGER,

PRIMARY KEY (id_molecula, id_elemento, cantidad),

CONSTRAINT fk_moleculas
FOREIGN KEY (id_molecula)
REFERENCES moleculas_lista(id),

CONSTRAINT fk_elementos
FOREIGN KEY (id_elemento)
REFERENCES valida_elementos(id));



649 changes: 649 additions & 0 deletions DB Scripts/INSERT_elementos_info_basica.sql

Large diffs are not rendered by default.

239 changes: 239 additions & 0 deletions DB Scripts/INSERT_elementos_info_detalle.sql

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions DB Scripts/INSERT_elementos_orbitas.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
INSERT INTO "elementos_orbitas" VALUES (1,1,'K',2);
INSERT INTO "elementos_orbitas" VALUES (2,2,'L',8);
INSERT INTO "elementos_orbitas" VALUES (3,3,'M',18);
INSERT INTO "elementos_orbitas" VALUES (4,4,'N',32);
INSERT INTO "elementos_orbitas" VALUES (5,5,'O',50);
INSERT INTO "elementos_orbitas" VALUES (6,6,'P',72);
INSERT INTO "elementos_orbitas" VALUES (7,7,'Q',98);
3,181 changes: 3,181 additions & 0 deletions DB Scripts/INSERT_isotopos.sql

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions DB Scripts/INSERT_moleculas.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
INSERT INTO "moleculas_lista" VALUES (1,'H2O','monóxido de dihidrógeno','óxido de hidrógeno','Agua');
INSERT INTO "moleculas_lista" VALUES (2,'CO','Monóxido de carbono','Óxido de carbono (II)','Oxido de Carbono');
INSERT INTO "moleculas_lista" VALUES (3,'K2O','Monóxido de dipotasio','Óxido de potasio','óxido potásico');
INSERT INTO "moleculas_lista" VALUES (4,'Cu2O','Monóxido de dicobre','Óxido de cobre (I)','Óxido cuproso');
INSERT INTO "moleculas_lista" VALUES (5,'Fe2O3','Trióxido de dihierro','Óxido de hierro (III)','Óxido ferrico');
INSERT INTO "moleculas_lista" VALUES (6,'FeO','Monoxido de hierro','Óxido de hierro (II)','Oxido ferroso');
INSERT INTO "moleculas_lista" VALUES (7,'SiO2','Dióxido de silicio','Óxido de silicio (IV)','Oxido de Silicio');
INSERT INTO "moleculas_lista" VALUES (8,'KH','monohidruro de potasi','Hidruro de potasio','hidruro potásico');
INSERT INTO "moleculas_lista" VALUES (9,'NiH3','Trihidruro de níquel','Hidruro de níquel (III)','hidruro niquélico');
INSERT INTO "moleculas_lista" VALUES (10,'CuH2','Dihidruro de cobre','Hidruro de cobre (II)','hidruro cúprico');
INSERT INTO "moleculas_lista" VALUES (11,'PbH4','Tetrahidruro de plomo','Hidruro de plomo (IV)','hidruro plúmbico');
INSERT INTO "moleculas_lista" VALUES (12,'FeS','Monosulfuro de hierro','Sulfuro de hierro (II)','sulfuro ferroso');
INSERT INTO "moleculas_lista" VALUES (13,'Fe2S3','Trisulfuro de dihierro','Sulfuro de hierro (III)','sulfuro ferrico');
INSERT INTO "moleculas_lista" VALUES (14,'AuCl3','Tricloruro de oro','Cloruro de oro (III)','cloruro áurico');
INSERT INTO "moleculas_lista" VALUES (15,'AuBr','Monobromuro de oro','Bromuro de oro (I)','bromuro auroso');
INSERT INTO "moleculas_lista" VALUES (16,'MnS2','Disulfuro de manganeso','Sulfuro de manganeso (IV)','Sulfuro de manganeso');
INSERT INTO "moleculas_lista" VALUES (17,'N2O','Monoxido de dinitrógeno','Óxido de nitrógeno (I)','Oxido Hiponitroso');
INSERT INTO "moleculas_lista" VALUES (18,'N2O3','Trióxido de dinitrógeno','Óxido de nitrógeno (III)','Oxido Nitroso');
INSERT INTO "moleculas_lista" VALUES (19,'N2O5','Pentóxido de dinitrógeno','Óxido de nitrógeno (V)','Oxido Nitrico');
INSERT INTO "moleculas_lista" VALUES (20,'HIO','Monoxoyodato (I) de hidrógeno','Ácido monoxoyódico (I)','ácido hipoyodoso');
41 changes: 41 additions & 0 deletions DB Scripts/INSERT_moleculas_mapping_element.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
INSERT INTO "moleculas_mapping_element" VALUES (1,1,2);
INSERT INTO "moleculas_mapping_element" VALUES (1,8,1);
INSERT INTO "moleculas_mapping_element" VALUES (2,6,1);
INSERT INTO "moleculas_mapping_element" VALUES (2,8,1);
INSERT INTO "moleculas_mapping_element" VALUES (3,19,2);
INSERT INTO "moleculas_mapping_element" VALUES (3,1,1);
INSERT INTO "moleculas_mapping_element" VALUES (4,29,2);
INSERT INTO "moleculas_mapping_element" VALUES (4,8,1);
INSERT INTO "moleculas_mapping_element" VALUES (5,26,2);
INSERT INTO "moleculas_mapping_element" VALUES (5,8,3);
INSERT INTO "moleculas_mapping_element" VALUES (6,26,1);
INSERT INTO "moleculas_mapping_element" VALUES (6,8,1);
INSERT INTO "moleculas_mapping_element" VALUES (7,14,1);
INSERT INTO "moleculas_mapping_element" VALUES (7,8,2);
INSERT INTO "moleculas_mapping_element" VALUES (8,19,1);
INSERT INTO "moleculas_mapping_element" VALUES (8,1,1);
INSERT INTO "moleculas_mapping_element" VALUES (9,28,1);
INSERT INTO "moleculas_mapping_element" VALUES (9,1,3);
INSERT INTO "moleculas_mapping_element" VALUES (10,29,1);
INSERT INTO "moleculas_mapping_element" VALUES (10,1,2);
INSERT INTO "moleculas_mapping_element" VALUES (11,82,1);
INSERT INTO "moleculas_mapping_element" VALUES (11,1,4);
INSERT INTO "moleculas_mapping_element" VALUES (12,26,1);
INSERT INTO "moleculas_mapping_element" VALUES (12,16,1);
INSERT INTO "moleculas_mapping_element" VALUES (13,26,2);
INSERT INTO "moleculas_mapping_element" VALUES (13,16,3);
INSERT INTO "moleculas_mapping_element" VALUES (14,79,1);
INSERT INTO "moleculas_mapping_element" VALUES (14,17,3);
INSERT INTO "moleculas_mapping_element" VALUES (15,79,1);
INSERT INTO "moleculas_mapping_element" VALUES (15,35,1);
INSERT INTO "moleculas_mapping_element" VALUES (16,25,1);
INSERT INTO "moleculas_mapping_element" VALUES (16,16,2);
INSERT INTO "moleculas_mapping_element" VALUES (17,7,2);
INSERT INTO "moleculas_mapping_element" VALUES (17,8,3);
INSERT INTO "moleculas_mapping_element" VALUES (18,7,2);
INSERT INTO "moleculas_mapping_element" VALUES (18,8,1);
INSERT INTO "moleculas_mapping_element" VALUES (19,7,2);
INSERT INTO "moleculas_mapping_element" VALUES (19,8,5);
INSERT INTO "moleculas_mapping_element" VALUES (20,1,1);
INSERT INTO "moleculas_mapping_element" VALUES (20,53,1);
INSERT INTO "moleculas_mapping_element" VALUES (20,8,1);
20 changes: 10 additions & 10 deletions DB Scripts/INSERT_valida_elementos.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ INSERT INTO valida_elementos VALUES (6, 6, "C", "Carbono", 6, 6, 6);
INSERT INTO valida_elementos VALUES (7, 7, "N", "Nitrógeno", 7, 7, 7);
INSERT INTO valida_elementos VALUES (8, 8, "O", "Oxígeno", 8, 8, 8);
INSERT INTO valida_elementos VALUES (9, 9, "F", "Fluor", 9, 9, 10);
INSERT INTO valida_elementos VALUES (10, 10, "Ne", "Neó", 10, 10, 10);
INSERT INTO valida_elementos VALUES (10, 10, "Ne", "Neón", 10, 10, 10);
INSERT INTO valida_elementos VALUES (11, 11, "Na", "Sodio", 11, 11, 12);
INSERT INTO valida_elementos VALUES (12, 12, "Mg", "Magnesio", 12, 12, 12);
INSERT INTO valida_elementos VALUES (13, 13, "Al", "Aluminio", 13, 13, 14);
Expand All @@ -33,7 +33,7 @@ INSERT INTO valida_elementos VALUES (32, 32, "Ge", "Germanio", 32, 32, 41);
INSERT INTO valida_elementos VALUES (33, 33, "As", "Arsénico", 33, 33, 42);
INSERT INTO valida_elementos VALUES (34, 34, "Se", "Selenio", 34, 34, 45);
INSERT INTO valida_elementos VALUES (35, 35, "Br", "Bromo", 35, 35, 45);
INSERT INTO valida_elementos VALUES (36, 36, "Kr", "Kryptó", 36, 36, 48);
INSERT INTO valida_elementos VALUES (36, 36, "Kr", "Kryptón", 36, 36, 48);
INSERT INTO valida_elementos VALUES (37, 37, "Rb", "Rubidio", 37, 37, 48);
INSERT INTO valida_elementos VALUES (38, 38, "Sr", "Estroncio", 38, 38, 50);
INSERT INTO valida_elementos VALUES (39, 39, "Y", "Itrio", 39, 39, 50);
Expand All @@ -51,7 +51,7 @@ INSERT INTO valida_elementos VALUES (50, 50, "S", "Estaño", 50, 50, 69);
INSERT INTO valida_elementos VALUES (51, 51, "Sb", "Antimonio", 51, 51, 71);
INSERT INTO valida_elementos VALUES (52, 52, "Te", "Teluro", 52, 52, 76);
INSERT INTO valida_elementos VALUES (53, 53, "I", "Iodo", 53, 53, 74);
INSERT INTO valida_elementos VALUES (54, 54, "Xe", "Xenó", 54, 54, 77);
INSERT INTO valida_elementos VALUES (54, 54, "Xe", "Xenón", 54, 54, 77);
INSERT INTO valida_elementos VALUES (55, 55, "Cs", "Cesio", 55, 55, 78);
INSERT INTO valida_elementos VALUES (56, 56, "Ba", "Bario", 56, 56, 81);
INSERT INTO valida_elementos VALUES (57, 57, "La", "Lantano", 57, 57, 82);
Expand Down Expand Up @@ -109,10 +109,10 @@ INSERT INTO valida_elementos VALUES (108, 108, "Hs", "Hassio", 108, 108, 169);
INSERT INTO valida_elementos VALUES (109, 109, "Mt", "Meitnerio", 109, 109, 159);
INSERT INTO valida_elementos VALUES (110, 110, "Ds", "Darmstadio", 110, 110, 171);
INSERT INTO valida_elementos VALUES (111, 111, "Uuu", "Ununio", 111, 111, 161);
INSERT INTO valida_elementos VALUES (112, 112, "Cn (Uub)", "Ununbium", 112, 112, 173);
INSERT INTO valida_elementos VALUES (113, 113, "Nh (Uut)", "Ununtrio", 113, 113, 171);
INSERT INTO valida_elementos VALUES (114, 114, "Fl (Uuq)", "Ununquadio", 114, 114, 175);
INSERT INTO valida_elementos VALUES (115, 115, "Mc (Uup)", "Ununpentio", 115, 115, 173);
INSERT INTO valida_elementos VALUES (116, 116, "Lv (Uuh)", "Ununhexio", 116, 116, 176);
INSERT INTO valida_elementos VALUES (117, 117, "Ts (Uus)", "Ununseptio", 117, 117, 176);
INSERT INTO valida_elementos VALUES (118, 118, "Og (Uuo)", "Ununoctium", 118, 118, 176);
INSERT INTO valida_elementos VALUES (112, 112, "Uub", "Ununbium", 112, 112, 173);
INSERT INTO valida_elementos VALUES (113, 113, "Uut", "Ununtrio", 113, 113, 171);
INSERT INTO valida_elementos VALUES (114, 114, "Uuq", "Ununquadio", 114, 114, 175);
INSERT INTO valida_elementos VALUES (115, 115, "Uup", "Ununpentio", 115, 115, 173);
INSERT INTO valida_elementos VALUES (116, 116, "Uuh", "Ununhexio", 116, 116, 176);
INSERT INTO valida_elementos VALUES (117, 117, "Uus", "Ununseptio", 117, 117, 176);
INSERT INTO valida_elementos VALUES (118, 118, "Uuo", "Ununoctium", 118, 118, 176);
Loading

0 comments on commit 0b7357a

Please sign in to comment.