Let us tell
The frame data is assembled based on number of frame members, number of joints, number of degrees of freedom, the conditions of restraint and the elastic properties of the members.
Based on this, the data is stored and member section properties are computed. The overall joint stiffness matrix is obtained based on the above frame data by summation of individual stiffness matrices considering all possible displacements. The load vector is then generated based on the loading data and the unknown displacements are obtained by inverting the overall joint stiffness matrix and multiplying with the load vector.