TNL_ASSERT_EQ(inVector.getConstLocalViewWithGhosts().getSize(),localMatrix.getColumns(),"the matrix uses non-local and non-ghost column indices");
TNL_ASSERT_EQ(inVector.getGhosts(),localMatrix.getColumns()-localMatrix.getRows(),"input vector has wrong ghosts size");
TNL_ASSERT_EQ(outVector.getGhosts(),localMatrix.getColumns()-localMatrix.getRows(),"output vector has wrong ghosts size");
TNL_ASSERT_EQ(outVector.getConstLocalView().getSize(),localMatrix.getRows(),"number of local matrix rows does not match the output vector local size");