Pyspark, Finite Element Analysis, Mathematical Modeling, Databricks.
basis_type == "2D linear": P = np.zeros((2, number_of_elements+1)) T = np.zeros((3, number_of_elements)) number_of_local_nodes = 3 for row in range(1,N2+1): for column in range(1,N2+1): n1 = (column-1)*(2*N2)+2*row - 1 n2 = n1+1 for alpha in range(1, number_of_local_nodes+1): if alpha == 1: