NRL-Plasma-Physics-Division / turbopy

A lightweight computational physics framework, based on the organization of turboWAVE. Implements a "Simulation, PhysicsModule, ComputeTool, Diagnostic" class hierarchy.
https://turbopy.readthedocs.io/
Creative Commons Zero v1.0 Universal
10 stars 18 forks source link

Refactor for less complexity #176

Closed gracetangg closed 3 years ago

gracetangg commented 3 years ago

Pull Request

Description

Reduces cyclomatic complexity of Grid.create_interpolator and adds assert statements to test/test_core.py that checks the point is in the field.

This pull request addresses NRL-Plasma-Physics-Division/turbopy-bootcamp#113 Fixes #

Checklist

The following items have been checked for this PR: