-----------------------------------------------------------------------------
| 17 | |
| 18 | //----------------------------------------------------------------------------- |
| 19 | SparsityPattern::SparsityPattern( |
| 20 | MPI_Comm comm, std::array<std::shared_ptr<const common::IndexMap>, 2> maps, |
| 21 | std::array<int, 2> bs) |
| 22 | : _comm(comm), _index_maps(maps), _bs(bs), |
| 23 | _row_cache(maps[0]->size_local() + maps[0]->num_ghosts()) |
| 24 | { |
| 25 | assert(maps[0]); |
| 26 | } |
| 27 | //----------------------------------------------------------------------------- |
| 28 | SparsityPattern::SparsityPattern( |
| 29 | MPI_Comm comm, |