|
@@ -184,6 +184,34 @@ namespace OTSClassifyEngine
|
|
|
|
|
|
}
|
|
|
|
|
|
+ // not a inc if this is a SiC
|
|
|
+ //=========================================
|
|
|
+ // any carbon?
|
|
|
+ if (dCarbonMolar > MIN_DOUBLE_VALUE)
|
|
|
+ {
|
|
|
+ // calculate molar % of C + Si
|
|
|
+ double dMolarC_Si = Cal100NorValue(dCarbonMolar + dSiMolar, a_dMolarSumNoFe + dCarbonMolar);
|
|
|
+ if (dMolarC_Si > SIC_MOLAR_CUTOFF)
|
|
|
+ {
|
|
|
+ // this is a SiC, not a inclusion, return FALSE
|
|
|
+ a_nIncId = (int)OTS_PARTCLE_TYPE::NOT_IDENTIFIED_SIC;
|
|
|
+ return FALSE;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //=========================================
|
|
|
+
|
|
|
+ //FeO
|
|
|
+ if (dOMolar > MIN_DOUBLE_VALUE)
|
|
|
+ {
|
|
|
+ // calculate molar % of Fe + O
|
|
|
+ double dMolarFe_O = Cal100NorValue(dOMolar + dFeMolar, a_dMolarSum + dCarbonMolar);
|
|
|
+ if (dMolarFe_O > FEO_MOLAR_CUTOFF)
|
|
|
+ {
|
|
|
+ // this is a FeO, not a inclusion, return FALSE
|
|
|
+ a_nIncId = (int)OTS_PARTCLE_TYPE::NOT_IDENTIFIED_FEO;
|
|
|
+ return FALSE;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
// both key molar percentage sum and sub molar percentage sum have to be over certain values
|
|
|
double dSumKeyElementsMolar = Cal100NorValue(dSumKeyElements, a_dMolarSumNoFe);
|
|
@@ -349,7 +377,6 @@ namespace OTSClassifyEngine
|
|
|
|
|
|
// mapping Mn first
|
|
|
BOOL bMnMapped = FALSE;
|
|
|
-
|
|
|
{
|
|
|
CElementChemistryPtr pElChemMn = GetNamedElementChemistry(a_listElChemsIncNoFe, INC_SUL_SUB_ELEMENT_NAMES[0]);
|
|
|
double dMappingRatio = INC_SULFILSES_MAPPING_RADIO[0];
|