Skip to content

Commit d96c020

Browse files
committed
Doc fix
1 parent a6df69e commit d96c020

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cpp/dolfinx/fem/assemble_matrix_impl.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,8 @@ void assemble_exterior_facets(
352352
/// local element matrix.
353353
/// @param cdofs_b Buffer for local element geometry. Size must be at
354354
/// least `2 * 3 * x_dofmap.extent(1))`.
355+
/// @param dofs_b Buffer for degrees-of-freedom. Size must be at least
356+
/// `2 * dmap0.map().extent(1) + 2 * dmap1.map().extent(1)`.
355357
template <dolfinx::scalar T>
356358
void assemble_interior_facets(
357359
la::MatSet<T> auto mat_set, mdspan2_t x_dofmap,
@@ -397,7 +399,7 @@ void assemble_interior_facets(
397399
std::size_t num_rows = bs0 * 2 * dmap0_size;
398400
std::size_t num_cols = bs1 * 2 * dmap1_size;
399401

400-
// Temporaries for joint dofmaps
402+
// Dofmap data structures
401403
assert(dofs_b.size() >= (2 * dmap0_size) + (2 * dmap1_size));
402404
auto dmapjoint0 = dofs_b.first(2 * dmap0_size);
403405
auto dmapjoint1 = dofs_b.last(2 * dmap1_size);

0 commit comments

Comments
 (0)