compas_tno.algorithms

Equilibrium

equilibrium_fdm

Compute equilibrium of the form diagram using the force density method (FDM) with 'q's stored in the form (All coordinates can change).

vertical_equilibrium_fdm

Compute equilibrium of the form diagram using the force density method (FDM) and update only the z-coordinates.

q_from_qid

Calculate q's from all qid's.

q_from_variables

Calculate q's from the force parameters (independent edges).

xyz_from_q

Calculate coordinates's xyz the q's.

xyz_from_xopt

Compute the nodal position and relevant parameters and from the variables of the optimisation and the class of matrices (M)

weights_from_xyz

Compute the tributary weights based on the assembled sparse matrices linking the topology

weights_from_xyz_dict

Compute the trbutary weights based on the geometry of the structure and a tributary dictionary.

compute_reactions

Compute and plot the reaction on the supports.

equilibrium_residual

Computes equilibrium residual

Independents

find_independents_backward

Find independent edges of the matrix E with the backward method.

find_independents_forward

Find independent edges of the matrix E with the forward method.

find_independents_QR

Find independent edges of the matrix E based on a permuted QR factorization.

find_independents

Overall method to find independent edges dependent on method

independents_exclude

Find inndependent edges with certain to exclude.

independents_include

Find inndependent edges with certain to include.

inds_incl_excl

Find inndependent edges with certain to exclude and include.

check_independents

Run checks to verify the independennts.

check_horizontal_loads

Run checks to verify of a certain horizontal distribution can be taken by the fixed form diagram.

Smoothing

constrained_smoothing

Constrained smoothing of a mesh.

apply_sag

Relax the mesh with FDM assuming higher force in the boudary elements.

Graphic Statics

form_update_with_parallelisation

Parallelise a TNO form diagram using as starting point the centroidal dual as ForceDiagram.

force_update_from_form

Update the force diagram after modifying the (force densities of) the form diagram.

reciprocal_from_form

Find a reciprocal form diagram from the stored force densities in thisdiagram This is an algebraic solution to the duality.