fedoo.constraint.DistributedForce.get_gp_results

DistributedForce.get_gp_results(operator, U, n_elm_gp=None, use_local_dof=False)

Return some results at element Gauss points based on the finite element discretization of a differential operator on a mesh being given the dof results and the type of elements.

Parameters:
  • operator (DiffOp) – Differential operator defining the required results

  • U (numpy.ndarray) – Vector containing all the DoF solution

  • use_local_dof (bool, default: False) – if True, U is interpreted as local dof for each node in element The dof should be ordered so that U.reshape(mesh.n_elm_nodes, space.nvar, mesh.n_elements)[i,var,el] gives the value of the variable var (variable indice) for the ith nodes of the element el.

  • Return (numpy.ndarray) – A Vector containing the values on each point of gauss for each element. The vector lenght is the number of element time the number of Gauss points per element