refactor: organize src modules by category

This commit is contained in:
lujingze committed 2026-06-04 06:42:29 +00:00
1 parent d57c632db8
commit 4a22ef1334
20 files changed
+194 -144

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
import numpy as np
import pytest
from gas_cylinder import (
from cylinder.gas_cylinder import (
DEFAULT_FLUID,
DEFAULT_P_INIT,
DEFAULT_T_INIT,
+3 -3
View File
@@ -5,9 +5,9 @@ are the load-bearing tests for the "flux doubling" coupling mechanism.
"""
import numpy as np
import pytest
from tank import Tank
from pipe import Pipe
from solver import run
from tank_pipe.tank import Tank
from tank_pipe.pipe import Pipe
from tank_pipe.solver import run
GAMMA = 1.4
+1 -1
View File
@@ -1,7 +1,7 @@
# tests/test_pipe.py
import numpy as np
import pytest
from pipe import Pipe
from tank_pipe.pipe import Pipe
GAMMA = 1.4
+1 -1
View File
@@ -1,6 +1,6 @@
# tests/test_riemann.py
import numpy as np
from riemann import hll_flux
from tank_pipe.riemann import hll_flux
GAMMA = 1.4
+1 -1
View File
@@ -1,7 +1,7 @@
# tests/test_tank.py
import numpy as np
import pytest
from tank import Tank
from tank_pipe.tank import Tank
GAMMA = 1.4