public static double[,] GdMatrix(int n, ref ElementList elemList, ref BoundaryNodeList nodeList, double lam) // Zwraca tablicę G z daszkiem { double[,] G = new double[nodeList.Length, elemList.Length]; for (int i = 0; i < nodeList.Length; i++) { for (int j = 0; j < elemList.Length; j++) { G[i, j] = GaussianQuadrature.GIntegralConstant(n, elemList[j], nodeList[i], lam); } } return(G); }
public static double[,] GpskMatrix(int n, ref ElementList elemList, ref BoundaryNodeList nodeList, double lam, string psk) // Zwraca tablicę Gp, Gs lub Gk { // pk - Zwrac albo Gp, albo Gs, albo Gk double[,] G = new double[nodeList.Length, elemList.Length]; for (int i = 0; i < nodeList.Length; i++) { for (int j = 0; j < elemList.Length; j++) { G[i, j] = GaussianQuadrature.GIntegralParabolic(n, elemList[j], nodeList[i], lam, psk); } } return(G); }
public static double[,] HpskMatrix(int n, ref ElementList elemList, ref BoundaryNodeList nodeList, string psk) // Zwraca tablicę Hp, Hs lub Hk { // psk - Zwrac albo Hp, albo Hs, albo Hk double[,] H = new double[nodeList.Length, elemList.Length]; for (int i = 0; i < nodeList.Length; i++) { for (int j = 0; j < elemList.Length; j++) { H[i, j] = GaussianQuadrature.HIntegralParabolic(n, elemList[j], nodeList[i], psk); } } return(H); }
public static double[,] HdMatrix(int n, ref ElementList elemList, ref BoundaryNodeList nodeList) // Zwraca tablicę H z daszkiem { double[,] H = new double[nodeList.Length, elemList.Length]; for (int j = 0; j < elemList.Length; j++) { for (int i = 0; i < nodeList.Length; i++) { H[i, j] = GaussianQuadrature.HIntegralConstant(n, elemList[j], nodeList[i]); } } return(H); }