> What would be the best way to obtain the correct sparsity pattern for a DG
> method with periodic boundary conditions? Step 45 was helpful to an extent,
> but doesn't quite get me there.  Any suggestions?

Your question is too general for concrete answers. What did you already try?

In general, you need to simulate which terms will appear upon assembly of the 
matrix and add those very same entries to the sparsity pattern.

Best
 W.

-------------------------------------------------------------------------
Wolfgang Bangerth                email:            [email protected]
                                 www: http://www.math.tamu.edu/~bangerth/

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to