Re: [deal.II] Matrix Free 1D Adaptive Mesh Problem

2024-11-06 Thread Sean Johnson
Wolfgang, Thanks for responding. Of course I can explain. So as stated my code creates a mesh from 0 to 16 with 5 cells. First from 0 to 4, then 4 to 8, then 8 to 12, then 12 to 14, and finally 14 to 16. The code first outputs all the coordinate of all the face values just by iterating over th

Re: [deal.II] Matrix Free 1D Adaptive Mesh Problem

2024-11-06 Thread Wolfgang Bangerth
On 11/5/24 13:53, Sean Johnson wrote: In 1D for adaptive meshes, the matrix free operator is not iterating over the face/point that is between refinement levels. I attached a code that basically just makes a mesh and refines the last cell. I use the dof_handler to print out all the coordin

Re: [deal.II] Printing PETScWrappers::MPI::SparseMatrix to a single file

2024-11-06 Thread Wolfgang Bangerth
On 11/4/24 21:43, Sparsh Sinha wrote: *Is there any way to print the system_matrix to a single file either by using 'print()' or ‘write_ascii()’ function? Or do I need to use some other method for printing to a single file?* I would suggest to let every process print into its own file (say