discretize icon indicating copy to clipboard operation
discretize copied to clipboard

Separating operator stencils and geometry

Open lheagy opened this issue 8 years ago • 0 comments

Right now, there is a mix of the existence of Stencil operators, which contain the core of the operator, but not the length scales associated with a specific mesh, and those that don't.

The stencil is specific to the mesh type, but the way we incorporate sizes (and do deflation) is general and could be abstracted. This would clarify what pieces need to be implemented when designing a new mesh and which can be inherited. Also, components can (and should!) be broken up so that when calculating the Div for example, it just grabs the x, y, z div pieces (this means they can then be tested and used independently.

This would require a bit of re-organization, but should make it more clear which code needs to live with each specific mesh, and what comes from DiffOperators

cc. @rowanc1

lheagy avatar Mar 29 '17 00:03 lheagy