Skip to content

Commit

Permalink
Import amr
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Jun 12, 2024
1 parent b8441fd commit b2fa202
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_plotfiledata.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# -*- coding: utf-8 -*-

import os
import pytest
from pathlib import Path

import pytest
import amrex.space3d as amr


@pytest.mark.skipif(amr.Config.spacedim != 3, reason="Requires AMREX_SPACEDIM = 3")
Expand Down
2 changes: 2 additions & 0 deletions tools/plot_plotfile_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
import numpy as np
import pytest

import amrex.space3d as amr


def plot_mf(arr, compname, plo, phi):
plt.plot()
Expand Down

0 comments on commit b2fa202

Please sign in to comment.