# Differences

This shows you the differences between two versions of the page.

 direct-derivation_method_qpa [2019/09/04 10:08]rowlesmr3 direct-derivation_method_qpa [2020/07/16 11:29] (current) Both sides previous revision Previous revision 2020/02/12 08:14 rowlesmr3 fixed bug by defining DDM_m_total only once for m==12019/09/04 10:08 rowlesmr3 2019/09/04 06:51 rowlesmr3 2019/09/04 06:50 rowlesmr3 2019/09/04 06:49 rowlesmr3 added DDM_m_total prm to table2019/09/04 06:02 rowlesmr3 formatting gremlins2019/09/04 05:43 rowlesmr3 added inp examples and some grammatical corrections2019/09/04 03:37 rowlesmr3 2019/09/04 03:32 rowlesmr3 adding the macros2019/09/04 03:29 rowlesmr3 created Next revision Previous revision 2020/02/12 08:14 rowlesmr3 fixed bug by defining DDM_m_total only once for m==12019/09/04 10:08 rowlesmr3 2019/09/04 06:51 rowlesmr3 2019/09/04 06:50 rowlesmr3 2019/09/04 06:49 rowlesmr3 added DDM_m_total prm to table2019/09/04 06:02 rowlesmr3 formatting gremlins2019/09/04 05:43 rowlesmr3 added inp examples and some grammatical corrections2019/09/04 03:37 rowlesmr3 2019/09/04 03:32 rowlesmr3 adding the macros2019/09/04 03:29 rowlesmr3 created Line 108: Line 108: '​calculating total weight of all phases so I can calculate weight fraction'​ '​calculating total weight of all phases so I can calculate weight fraction'​ ' ​ currently limited to only 10 phases, but can be easily extended.'​ ' ​ currently limited to only 10 phases, but can be easily extended.'​ - #​m_if ​    n == 1; prm DDM_m_total = DDM_m_1; + #m_if m == 1; - #m_elseif n == 2; prm DDM_m_total = DDM_m_1+DDM_m_2;​ + #​m_if ​    n == 1; prm DDM_m_total = DDM_m_1; - #m_elseif n == 3; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3;​ + #m_elseif n == 2; prm DDM_m_total = DDM_m_1+DDM_m_2;​ - #m_elseif n == 4; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4;​ + #m_elseif n == 3; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3;​ - #m_elseif n == 5; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5;​ + #m_elseif n == 4; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4;​ - #m_elseif n == 6; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6;​ + #m_elseif n == 5; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5;​ - #m_elseif n == 7; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6+DDM_m_7;​ + #m_elseif n == 6; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6;​ - #m_elseif n == 8; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6+DDM_m_7+DDM_m_8;​ + #m_elseif n == 7; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6+DDM_m_7;​ - #m_elseif n == 9; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6+DDM_m_7+DDM_m_8+DDM_m_9;​ + #m_elseif n == 8; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6+DDM_m_7+DDM_m_8;​ - #m_elseif n ==10; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6+DDM_m_7+DDM_m_8+DDM_m_9+DDM_m_10;​ + #m_elseif n == 9; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6+DDM_m_7+DDM_m_8+DDM_m_9;​ + #m_elseif n ==10; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6+DDM_m_7+DDM_m_8+DDM_m_9+DDM_m_10;​ + #m_endif #m_endif #m_endif Line 137: Line 139: '​calculating total weight of all phases so I can calculate weight fraction'​ '​calculating total weight of all phases so I can calculate weight fraction'​ ' ​ currently limited to only 10 phases, but can be easily extended.'​ ' ​ currently limited to only 10 phases, but can be easily extended.'​ - #​m_if ​    n == 1; prm DDM_m_total = DDM_m_1; + #m_if m == 1; - #m_elseif n == 2; prm DDM_m_total = DDM_m_1+DDM_m_2;​ + #​m_if ​    n == 1; prm DDM_m_total = DDM_m_1; - #m_elseif n == 3; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3;​ + #m_elseif n == 2; prm DDM_m_total = DDM_m_1+DDM_m_2;​ - #m_elseif n == 4; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4;​ + #m_elseif n == 3; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3;​ - #m_elseif n == 5; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5;​ + #m_elseif n == 4; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4;​ - #m_elseif n == 6; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6;​ + #m_elseif n == 5; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5;​ - #m_elseif n == 7; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6+DDM_m_7;​ + #m_elseif n == 6; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6;​ - #m_elseif n == 8; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6+DDM_m_7+DDM_m_8;​ + #m_elseif n == 7; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6+DDM_m_7;​ - #m_elseif n == 9; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6+DDM_m_7+DDM_m_8+DDM_m_9;​ + #m_elseif n == 8; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6+DDM_m_7+DDM_m_8;​ - #m_elseif n ==10; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6+DDM_m_7+DDM_m_8+DDM_m_9+DDM_m_10;​ + #m_elseif n == 9; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6+DDM_m_7+DDM_m_8+DDM_m_9;​ + #m_elseif n ==10; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6+DDM_m_7+DDM_m_8+DDM_m_9+DDM_m_10;​ + #m_endif #m_endif #m_endif Line 164: Line 168: '​calculating total weight of all phases so I can calculate weight fraction'​ '​calculating total weight of all phases so I can calculate weight fraction'​ ' ​ currently limited to only 10 phases, but can be easily extended.'​ ' ​ currently limited to only 10 phases, but can be easily extended.'​ - #​m_if ​    n == 1; prm DDM_m_total = DDM_m_1; + #m_if m == 1; - #m_elseif n == 2; prm DDM_m_total = DDM_m_1+DDM_m_2;​ + #​m_if ​    n == 1; prm DDM_m_total = DDM_m_1; - #m_elseif n == 3; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3;​ + #m_elseif n == 2; prm DDM_m_total = DDM_m_1+DDM_m_2;​ - #m_elseif n == 4; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4;​ + #m_elseif n == 3; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3;​ - #m_elseif n == 5; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5;​ + #m_elseif n == 4; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4;​ - #m_elseif n == 6; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6;​ + #m_elseif n == 5; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5;​ - #m_elseif n == 7; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6+DDM_m_7;​ + #m_elseif n == 6; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6;​ - #m_elseif n == 8; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6+DDM_m_7+DDM_m_8;​ + #m_elseif n == 7; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6+DDM_m_7;​ - #m_elseif n == 9; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6+DDM_m_7+DDM_m_8+DDM_m_9;​ + #m_elseif n == 8; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6+DDM_m_7+DDM_m_8;​ - #m_elseif n ==10; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6+DDM_m_7+DDM_m_8+DDM_m_9+DDM_m_10;​ + #m_elseif n == 9; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6+DDM_m_7+DDM_m_8+DDM_m_9;​ + #m_elseif n ==10; prm DDM_m_total = DDM_m_1+DDM_m_2+DDM_m_3+DDM_m_4+DDM_m_5+DDM_m_6+DDM_m_7+DDM_m_8+DDM_m_9+DDM_m_10;​ + #m_endif #m_endif #m_endif