On 5/7/24 00:46, Vinayak Vijay wrote:

I am trying to assemble a system using the AffineConstraints::distribute_local_to_global(...) function as per the following code snippet:

constraints.distribute_local_to_global(cell_matrix_multiplier01,
local_dof_indices,
dof_indices_multiplier,
system_matrix_network.block(0, 1));

However, i get the following error:
[...]

In the output file you show, it seems like block (0,1) has only columns 0...5, so accessing column 6 would be an expected error.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/


--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/67797137-53f7-491a-bbce-316cf628c7bd%40colostate.edu.

Reply via email to