ICLR 2020 Update
New features:
- TensorFlow: Seamless TensorFlow data pipeline integration, standard U-net architecture in
phi.tf.standard_networks
, CUDA resampling operator - Improved support for point clouds and sampled fields (
SampledField
), RK4 advection - Symbolic field math,
Noise
field to replacemath.randfreq()
- Support for
STICKY
/NO_SLIP
domain boundaries and moving/rotating obstacles - Web interface: Quad view, improved color maps and more configuration settings, configurable axis order using
physics_config.x_first()
Breaking changes:
- Change in
math.resample()
for'constant'
boundaries. This affects only values sampled close to the boundary. - Inflows now use antialiased geometry by default.
- (minor) Removed keyword arguments from
Field.at()
andField.sample_at()
. - (minor)
Scene.copy_calling_script()
now has different keyword arguments. - (minor)
GeometryMask
only holds oneGeometry
and behaves in line withAnalyticField
. - (minor)
math.resample()
: No longer accepts boundary'zero'
as an alias for'constant'
.
Deprecations:
load_state()
: Usebuild_graph_input()
instead.buoyancy()
: Usedensity * -gravity * factor
in conjunction withField.at()
instead.StaggeredGrid.from_scalar()
: UseField.at()
instead.world.add_all()
: Useworld.add()
instead.Dataset.add(), Dataset.remove()
: Mutable datasets are not supported.Geometry.value_at()
: UseGeometry.lies_inside()
instead.union_mask()
: Usemask(union())
instead.
This is the last official version with Python 2 and Python 3 support.