MCPcopy Create free account
hub / github.com/FEniCS/dolfinx / assemble_vector

Function assemble_vector

python/dolfinx/fem/assemble.py:172–178  ·  view source on GitHub ↗

Assemble linear form into a vector.

(
    L: typing.Any,
    constants: npt.NDArray | None = None,
    coeffs: dict[tuple[IntegralType, int], npt.NDArray] | None = None,
)

Source from the content-addressed store, hash-verified

170
171@functools.singledispatch
172def assemble_vector(
173 L: typing.Any,
174 constants: npt.NDArray | None = None,
175 coeffs: dict[tuple[IntegralType, int], npt.NDArray] | None = None,
176) -> la.Vector:
177 """Assemble linear form into a vector."""
178 return _assemble_vector_form(L, constants, coeffs)
179
180
181@assemble_vector.register

Callers

nothing calls this directly

Calls 1

_assemble_vector_formFunction · 0.85

Tested by

no test coverage detected