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

Method set

cpp/dolfinx/la/MatrixCSR.h:237–241  ·  view source on GitHub ↗

@deprecated Use `std::ranges::fill(A.values(), x)` instead. @brief Set all non-zero local entries to a value, including entries in ghost rows. @param[in] x The value to set non-zero matrix entries to

Source from the content-addressed store, hash-verified

235 /// entries in ghost rows.
236 /// @param[in] x The value to set non-zero matrix entries to
237 [[deprecated("Use std::ranges::fill(A.values(), v) instead.")]]
238 void set(value_type x)
239 {
240 std::ranges::fill(_data, x);
241 }
242
243 /// @brief Set values in the matrix.
244 ///

Callers

nothing calls this directly

Calls 4

insert_nonblocked_csrFunction · 0.85
size_localMethod · 0.80
num_ghostsMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected