allow Mur-ABC to cylindrical mesh in all directions for a partial mesh

pull/1/head
Thorsten Liebig 2012-02-10 11:47:53 +01:00
parent ecf8ad6bdd
commit ed592bb2ba
1 changed files with 5 additions and 5 deletions

View File

@ -49,11 +49,11 @@ Operator_Extension* Operator_Ext_Mur_ABC::Clone(Operator* op)
bool Operator_Ext_Mur_ABC::IsCylinderCoordsSave(bool closedAlpha, bool R0_included) const bool Operator_Ext_Mur_ABC::IsCylinderCoordsSave(bool closedAlpha, bool R0_included) const
{ {
if (m_ny==2) if ((m_ny==0) && (!m_top) && (R0_included || closedAlpha))
return true; return false;
if ((m_ny==0) && (m_top)) if ((m_ny==1) && (closedAlpha))
return true; return false;
return false; return true;
} }
bool Operator_Ext_Mur_ABC::IsCylindricalMultiGridSave(bool child) const bool Operator_Ext_Mur_ABC::IsCylindricalMultiGridSave(bool child) const