/// <summary> /// First step: Construction of Sibling Half-Facets (sibhfs). </para> /// From element´s connectivity (input), it returns a cyclic mapping of sibbling half-V (output). /// (CAUTION) Note that the local half-facet indexing starts with 1; /// </summary> private bool BuildAllElementsSiblingHalfFacets() { //try //{ ElementsKeys.ForEach(elementID => BuildElementSiblingHalFacets(elementID)); _tempVertexToHalfFacets.Clear(); return(true); //} //catch (Exception) { return false; } }
public bool UpdateAllElementsSiblingHalfFacets() { try { CleanAllElementsTopologicalData(); IElement e; ElementsKeys.ForEach(eK => { e = _elements[eK]; InitializeElementTopologicalData(e); _elements[eK] = e; }); BuildAllElementsSiblingHalfFacets(); return(true); } catch (Exception) { return(false); } }