Skip to content

Testing and refactoring meta-issue #5

@Pbellive

Description

@Pbellive

JOcTree needs testing. Before adding unit tests, it might be best to start with a simple refactoring, including pruning old unused functionality and consolidating the code into fewer files. Obviously, broad consensus would be required to remove any code from the package. As a first step I'll create a to-do list. Please post anything that should be added to the list.

Refactoring:

  • Refactoring
    • Generate coverage numbers from as many examples as we can (at least DC, time, frequency domain EM) discover unused code if it exists.
    • Move any code that isn't OcTree specific to a more appropriate home.
    • Consolidate functionality into fewer files
    • Standardize call signatures re scalars vs. vectors.
    • Standardize what gets returned by edge, face, and nodal constraint functions

Testing:

  • Sparse3 array creation/manipulation
  • Mesh generation
    • createOcTreeFromBox
    • createOcTreeFromImage
    • createOcTreeFromSrcRec
  • Differential operators
    • Curl
    • Gradient
    • Divergence
  • Mass matrices
    • Face
    • Edge
    • Node
  • Derivative of mass matrices
    • Edge
  • Constraint matrices
    • Face
    • Edge
    • Node

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions