private void ReComputeSystemMatrix() { // traverse the elements to assemble the stiffness coefficients systemEquations.InitializeMatrix(); foreach (var item in modell.Elemente) { element = item.Value; var indices = element.SystemIndicesOfElement; var elementMatrix = element.ComputeMatrix(); systemEquations.AddMatrix(indices, elementMatrix); } }
public void ComputeSystemMatrix() { if (!setDimension) { DetermineDimension(); } if (!profile) { SetProfile(); } // traverse the elements to assemble the stiffness coefficients foreach (var item in modell.Elemente) { element = item.Value; var elementMatrix = element.ComputeMatrix(); systemEquations.AddMatrix(element.SystemIndicesOfElement, elementMatrix); } SetStatusVector(); }