|
@@ -289,6 +289,10 @@ namespace OTSGBCalculate
|
|
|
{
|
|
|
continue;
|
|
|
}
|
|
|
+ if (pParticle->GetType() == OTS_PARTICLE_TYPE::ISNOT_INCLUTION)//here we take all the particles except Invalid.
|
|
|
+ {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
auto w = pParticle->GetDMin();
|
|
|
|
|
|
if (w == 0 )
|
|
@@ -538,6 +542,10 @@ namespace OTSGBCalculate
|
|
|
{
|
|
|
continue;
|
|
|
}
|
|
|
+ if (pParticle->GetType() == OTS_PARTICLE_TYPE::ISNOT_INCLUTION)//here we take all the particles except Invalid.
|
|
|
+ {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
//check the denominator is zero or not
|
|
|
auto w = pParticle->GetDMin();
|
|
|
|
|
@@ -712,6 +720,10 @@ namespace OTSGBCalculate
|
|
|
{
|
|
|
continue;
|
|
|
}
|
|
|
+ if (pParticle->GetType() == OTS_PARTICLE_TYPE::ISNOT_INCLUTION)//here we take all the particles except Invalid.
|
|
|
+ {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
auto w = pParticle->GetDMin();
|
|
|
|
|
|
if (w == 0)
|