Skip to content
  • Jeongu Kim's avatar
    DMStag: support refinement factor · a4211a7f
    Jeongu Kim authored
    Add member variable `refineFactor` in `DM_Stag` so that DMStag can
    support arbitrary refinement factor in `DMRefine()` and `DMCoarsen()`.
    
    Add functions to set and get the refinement factor.
    
    Add new options to set the refinement factor in
    `DMSetFromOptions_Stag()`.
    
    Update test ex16 to test the new feature.
    a4211a7f