-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added test for PDEs with constant fields in MPI run (#602)
* Added test for PDEs with constant fields in MPI run * Removed deprecated support for testing jupyter notebooks version 6 * Improved error message when numba-backend is not implemented.
- Loading branch information
1 parent
9983abb
commit a58b012
Showing
5 changed files
with
57 additions
and
34 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
|
||
import logging | ||
import os | ||
|
||
import numba as nb | ||
import numpy as np | ||
import pytest | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,8 @@ | |
.. codeauthor:: David Zwicker <[email protected]> | ||
""" | ||
|
||
import pytest | ||
import numpy as np | ||
import pytest | ||
|
||
from pde import PDEBase, ScalarField, UnitGrid | ||
from pde.solvers import Controller | ||
|
@@ -32,7 +32,7 @@ def evolution_rate(self, state, t): | |
|
||
|
||
def test_controller_foreign_solver(): | ||
"""Test whether the Controller can deal with a minimal foreign solver""" | ||
"""Test whether the Controller can deal with a minimal foreign solver.""" | ||
|
||
class MySolver: | ||
def make_stepper(self, state, dt): | ||
|
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