-
Notifications
You must be signed in to change notification settings - Fork 626
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Return the prior verbosity level setting. Change the parameter name to `level` * Add verbosity level global variable, and a Python function for setting it * Switch the verbosity value and related code to a class * switch parameter name to `level`, prep for reuse with other cvars * Move verbosity module to meep * Rename module to avoid name conflicts with names of instances * Restore returning the former level from set() * Use the Verbosity class in meep * Add ability to set the initial level * Make sure we use mpb's verbosity flag, and not colliding with meep's * Move the creation of the verbosity obj so it's available when submodules are imported * Add explicit rules for the meep.mpb .py files so they will be copied into place with a simple `make` * Add verbosity checks in solver.py * Add verbosity checks in libpympb/pympb.cpp * Revert a Makefile change * Handle the case where a cvar object does not yet have a verbosity attribute. This will help with transitioning while the feature rolls out. * Python2 doesn't have f-strings * empty commit to trigger build * Support building with an older MPB which doesn't have the mpb_verbosity global * Set the verbosity default to 1 * match MPB Co-authored-by: Steven G. Johnson <[email protected]>
- Loading branch information
Showing
9 changed files
with
332 additions
and
150 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.