public double[,] GetPointMatrixH(Jacobian jacobian, double conductivity) { double[] dndx = jacobian.GetdNdx(); double[] dndy = jacobian.GetdNdy(); double det = jacobian.GetDetJ(); double[,] tmpdndx = MatrixOperations.multiply(dndx, MatrixOperations.transpose(dndx), det); double[,] tmpdndy = MatrixOperations.multiply(dndy, MatrixOperations.transpose(dndy), det); return(MatrixOperations.multiply(MatrixOperations.addition(tmpdndx, tmpdndy), new double[] { conductivity })); }
public double[,] GetPointMatrixC(UniversalElement universalElement, double det, double specificHeat, double density) { double[] shapeFunctions = universalElement.GetShapeFun(); return(MatrixOperations.multiply(shapeFunctions, MatrixOperations.transpose(shapeFunctions), det * specificHeat * density)); }
public double[,] GetPcMatrix(double alfa) { double[] n = GetNVector(); return(MatrixOperations.multiply(n, MatrixOperations.transpose(n), alfa)); }