fedoo.constraint.DistributedForce.operator_apply
- DistributedForce.operator_apply(wf, nodal_vector)
Apply a discrete nodal vector to the trial space of a bilinear operator.
This function performs a contraction of a bilinear form a(v, u*) with a known field ‘v’. It replaces the trial function (v) with the interpolated field defined by the nodal_vector, while keeping the virtual/test field (u*) symbolic.
- Parameters:
Args
wf (DiffOp) – A bilinear opearator associated with a weakform that may be used to build a global matrix (e.g., stiffness or mass matrix).
nodal_vector (array_like) – The discrete values (Degrees of Freedom) used to instantiate the trial field.
Return –
- DiffOpAn operator containing only the virtual (test) operator,
ready for vector assembly.