Also, shouldn't line 2623 in dof_map.C:
2623 libmesh_assert_equal_to (dof_coupling
<http://libmesh.github.io/doxygen/classlibMesh_1_1SparsityPattern_1_1Build.html#a7e288ac68552ad57f0b56c9feff455b2>
->size
<http://libmesh.github.io/doxygen/classlibMesh_1_1CouplingMatrix.html#ae185f5ff037a9a838aa18d7f9537ff6d>(),
2624 dof_map
<http://libmesh.github.io/doxygen/classlibMesh_1_1SparsityPattern_1_1Build.html#adaaeb1039af971d4376bcd896686a281>
.n_variables
<http://libmesh.github.io/doxygen/classlibMesh_1_1DofMap.html#aee89c467613b296c215421d60d5ae961>
());
be
2623 libmesh_assert_equal_to (dof_coupling
<http://libmesh.github.io/doxygen/classlibMesh_1_1SparsityPattern_1_1Build.html#a7e288ac68552ad57f0b56c9feff455b2>
->size
<http://libmesh.github.io/doxygen/classlibMesh_1_1CouplingMatrix.html#ae185f5ff037a9a838aa18d7f9537ff6d>(),
2624 dof_map
<http://libmesh.github.io/doxygen/classlibMesh_1_1SparsityPattern_1_1Build.html#adaaeb1039af971d4376bcd896686a281>
.n_dofs
<http://libmesh.github.io/doxygen/classlibMesh_1_1DofMap.html#a77f8d984574b1bf8886057799e9b0134>
());
I'm confused... why should the size of CouplingMatrix be equal to number of
variables?
Thanks,
Harshad
On Mon, Jun 8, 2015 at 6:00 PM, Harshad Sahasrabudhe <hsa...@pu...>
wrote:
> Just a CouplingMatrix constructor.
>
>
> Do I need to call DofMap::build_sparsity() after constructing the
> CouplingMatrix?
>
|