Prechádzať zdrojové kódy

revise the GB method1 algorithm.

gsp 3 rokov pred
rodič
commit
89288e91ba

+ 3 - 3
OTSCPP/OTSRptCalculate/GBCal/GBFieldData.cpp

@@ -347,12 +347,12 @@ namespace OTSGBCalculate
 					else
 					{
 						// B or D
-						/*if (pParticle->GetChemicalType() != GB_CHEMICAL_TYPE::INVALID)//here we take all the particles 
-						{*/
+						if (pParticle->GetChemicalType() != GB_CHEMICAL_TYPE::INVALID)//here we take all the particles 
+						{
 							GBParticle gbP = GBParticle(pParticle, GB_LEVEL_TYPE::INVALID, GB_WIDTH_TYPE::INVALID);
 							//²»ÄÜÈ·¶¨ÊÇB»òD£¬ÏÈÉèΪINVALID
 							listBAndDParticles.push_back(gbP);
-						/*}*/
+						}
 						
 					}