File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff 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)`.
355357template <dolfinx::scalar T>
356358void 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);
You can’t perform that action at this time.
0 commit comments