Beispiel #1
0
 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);
     }
 }
Beispiel #2
0
 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();
 }