Skip to content

Commit

Permalink
Update tinyasm/tinyasm.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
JHopeCollins authored Jun 4, 2024
1 parent b640afd commit 1119789
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions tinyasm/tinyasm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,23 +103,6 @@ class BlockJacobi {
if (dof) mymatinvert(&dof, vv, piv.data(), &info, fwork.data());
ierr = MatDenseRestoreArrayWrite(localmats[p],&vv);CHKERRQ(ierr);
}

if(0){
const PetscScalar *vvv;
for(int p=0; p<numBlocks; p++) {
cout << "Mat " << p << endl;
PetscInt dof = dofsPerBlock[p].size();
ierr = MatDenseGetArrayRead(localmats[p],&vvv);CHKERRQ(ierr);
for(int i=0; i<dof; i++){
for(int j=0; j<dof; j++){
cout << vvv[i*dof+j] << " ";
}
cout << endl;
}
ierr = MatDenseRestoreArrayRead(localmats[p],&vvv);CHKERRQ(ierr);
cout << endl;
}
}
return 0;
}

Expand Down

0 comments on commit 1119789

Please sign in to comment.