Commit be4a4290 authored by Martin Bauer's avatar Martin Bauer
Browse files

Import sorting using isort

parent f28c8504
from lbmpy.stencils import get_stencil
from lbmpy.moments import *
from lbmpy.stencils import get_stencil
def test_moment_permutation_multiplicity():
......
import os
import warnings
from tempfile import TemporaryDirectory
import numpy as np
import sympy as sp
from lbmpy.phasefield.phasefieldstep import PhaseFieldStep
from lbmpy.boundaries import NoSlip
from lbmpy.phasefield.analytical import free_energy_functional_n_phases_penalty_term
from lbmpy.phasefield.experiments2D import (
create_two_drops_between_phases, write_phase_field_picture_sequence,
write_phase_velocity_picture_sequence)
from lbmpy.phasefield.phasefieldstep import PhaseFieldStep
from pystencils import make_slice
from lbmpy.boundaries import NoSlip
from lbmpy.phasefield.experiments2D import create_two_drops_between_phases, write_phase_field_picture_sequence, \
write_phase_velocity_picture_sequence
def create_falling_drop(domain_size=(160, 200), omega=1.9, kappas=(0.001, 0.001, 0.0005), **kwargs):
......
import sympy as sp
from lbmpy.phasefield.analytical import (
analytic_interface_profile, chemical_potentials_from_free_energy, cosh_integral,
force_from_phi_and_mu, force_from_pressure_tensor, free_energy_functional_n_phases,
pressure_tensor_from_free_energy, substitute_laplacian_by_sum, symbolic_order_parameters,
symmetric_symbolic_surface_tension)
from pystencils.fd import evaluate_diffs, expand_diff_full
from lbmpy.phasefield.analytical import free_energy_functional_n_phases, symbolic_order_parameters, \
analytic_interface_profile, symmetric_symbolic_surface_tension, chemical_potentials_from_free_energy, \
cosh_integral, pressure_tensor_from_free_energy, force_from_pressure_tensor, force_from_phi_and_mu, \
substitute_laplacian_by_sum
def test_analytic_interface_solution():
......
from pystencils import make_slice
from lbmpy.phasefield.scenarios import *
from pystencils import make_slice
def test_setup():
......
import os
import numpy as np
from tempfile import TemporaryDirectory
from lbmpy.scenarios import create_lid_driven_cavity
import numpy as np
import lbmpy.plot as plt
from lbmpy.scenarios import create_lid_driven_cavity
def test_animation():
......
import numpy as np
from lbmpy.postprocessing import scalar_field_interpolator, vector_field_interpolator
......
import pytest
from lbmpy.creationfunctions import create_lb_method
from lbmpy.relaxationrates import get_shear_relaxation_rate
......
from lbmpy.parameterization import ScalingWidget, Scaling
from lbmpy.parameterization import Scaling, ScalingWidget
def test_scaling_widget():
......
import os
from types import MappingProxyType
import numpy as np
from lbmpy.scenarios import create_lid_driven_cavity as run_ldc_lbmpy
from pystencils import make_slice
from types import MappingProxyType
def create_force_driven_channel(force=1e-6, domain_size=None, dim=2, radius=None, length=None,
......
import numpy as np
from lbmpy.creationfunctions import create_lb_function
......
import pytest
import numpy as np
from pystencils.sympyextensions import count_operations_in_ast
import pytest
from lbmpy.creationfunctions import create_lb_ast
from lbmpy.scenarios import create_lid_driven_cavity
from pystencils.sympyextensions import count_operations_in_ast
def test_split_number_of_operations():
......
......@@ -5,8 +5,8 @@ known acceptable values.
import sympy as sp
from lbmpy.forcemodels import Guo
from lbmpy.simplificationfactory import create_simplification_strategy
from lbmpy.methods import create_srt, create_trt, create_trt_with_magic_number
from lbmpy.simplificationfactory import create_simplification_strategy
from lbmpy.stencils import get_stencil
......
import pytest
import itertools
import warnings
import pytest
import sympy as sp
import pystencils as ps
import lbmpy.stencils as s
import pystencils as ps
from lbmpy.stencils import get_stencil
......
import pytest
import numpy as np
import pytest
from lbmpy.scenarios import create_lid_driven_cavity
......
import waLBerla.field as field
from waLBerla import makeSlice, createUniformBufferedScheme, createUniformBlockGrid
from waLBerla import createUniformBlockGrid, createUniformBufferedScheme, makeSlice
def create_walberla_lattice_model(stencil, method, relaxation_rates, compressible=False, order=2,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment