Module phi.flow_1

Compatibility import for PhiFlow 1 projects: from phi.flow_1 import *

Expand source code
# pylint: disable-msg = unused-import
"""
*Compatibility import for PhiFlow 1 projects:* `from phi.flow_1 import *`
"""

from .flow import *
from .physics._boundaries import Obstacle, OPEN, STICKY, PERIODIC, Domain
from .physics._effect import FieldEffect, GROW, ADD, FIX, Inflow, Accelerator, ConstantVelocity, HeatSource, ColdSource, Fan, Gravity
from .physics._world import World, world, obstacle_mask
from .physics._fluid_legacy import Fluid, IncompressibleFlow, GeometryMovement, divergence_free, buoyancy
from .physics.diffuse import _explicit_legacy as diffuse
from .field._scene import write_sim_frame

physics_config = math.GLOBAL_AXIS_ORDER
physics_config.x_last()
box = Box
SampledField = PointCloud

NO_SLIP = STICKY
# NO_STICK = SLIPPERY
# CLOSED = SLIPPERY