Closed holl- closed 4 years ago
New features:
phi.tf.standard_networks
SampledField
Noise
math.randfreq()
STICKY
NO_SLIP
physics_config.x_first()
Breaking changes:
math.resample()
'constant'
Field.at()
Field.sample_at()
Scene.copy_calling_script()
GeometryMask
Geometry
AnalyticField
'zero'
Deprecations:
load_state()
build_graph_input()
buoyancy()
density * -gravity * factor
StaggeredGrid.from_scalar()
world.add_all()
world.add()
Dataset.add(), Dataset.remove()
Geometry.value_at()
Geometry.lies_inside()
union_mask()
mask(union())
Version 1.4
New features:
phi.tf.standard_networks
, CUDA resampling operatorSampledField
), RK4 advectionNoise
field to replacemath.randfreq()
STICKY
/NO_SLIP
domain boundaries and moving/rotating obstaclesphysics_config.x_first()
Breaking changes:
math.resample()
for'constant'
boundaries. This affects only values sampled close to the boundary.Field.at()
andField.sample_at()
.Scene.copy_calling_script()
now has different keyword arguments.GeometryMask
only holds oneGeometry
and behaves in line withAnalyticField
.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.Version 1.4