Skip to content

Commit

Permalink
Deploying to gh-pages from @ b639f48 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
holl- committed Oct 16, 2024
1 parent 4ba60c2 commit 793d250
Show file tree
Hide file tree
Showing 21 changed files with 1,959 additions and 308 deletions.
2,042 changes: 1,843 additions & 199 deletions Billiards.html

Large diffs are not rendered by default.

106 changes: 53 additions & 53 deletions Cookbook.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions FLIP.html

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions Fluid_Simulation.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Heightmaps.html

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions IO_with_Scenes.html

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions Math_Introduction.html

Large diffs are not rendered by default.

Binary file modified data/sim_000000/batched_noise_data_000000.npz
Binary file not shown.
8 changes: 4 additions & 4 deletions data/sim_000000/description.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
null
],
"data": [
0.1267237514257431,
0.651422381401062,
0.710021436214447,
0.49623769521713257
0.8264457583427429,
0.5207409858703613,
0.2164561152458191,
0.5375483632087708
]
},
"__tensors__": [
Expand Down
Binary file modified data/sim_000000/noise_data_000000.npz
Binary file not shown.
Binary file modified data/sim_000001/batched_noise_data_000000.npz
Binary file not shown.
2 changes: 1 addition & 1 deletion data/sim_000001/description.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"smoothness": 0.1267237514257431
"smoothness": 0.8264457583427429
}
Binary file modified data/sim_000002/batched_noise_data_000000.npz
Binary file not shown.
2 changes: 1 addition & 1 deletion data/sim_000002/description.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"smoothness": 0.651422381401062
"smoothness": 0.5207409858703613
}
Binary file modified data/sim_000003/batched_noise_data_000000.npz
Binary file not shown.
2 changes: 1 addition & 1 deletion data/sim_000003/description.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"smoothness": 0.710021436214447
"smoothness": 0.2164561152458191
}
Binary file modified data/sim_000004/batched_noise_data_000000.npz
Binary file not shown.
2 changes: 1 addition & 1 deletion data/sim_000004/description.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"smoothness": 0.49623769521713257
"smoothness": 0.5375483632087708
}
2 changes: 1 addition & 1 deletion phi/field/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ <h2 id="args">Args</h2>
</dl></div>
</dd>
<dt id="phi.field.divergence"><code class="name flex">
<span>def <span class="ident">divergence</span></span>(<span>field: phi.field._field.Field, order=2, implicit: phiml.math._optimize.Solve = None, upwind: phi.field._field.Field = None, implicitness: int = None) ‑> <function <a title="phi.field.CenteredGrid" href="#phi.field.CenteredGrid">CenteredGrid()</a> at 0x7fd5880a2ca0></span>
<span>def <span class="ident">divergence</span></span>(<span>field: phi.field._field.Field, order=2, implicit: phiml.math._optimize.Solve = None, upwind: phi.field._field.Field = None, implicitness: int = None) ‑> <function <a title="phi.field.CenteredGrid" href="#phi.field.CenteredGrid">CenteredGrid()</a> at 0x7f6568ac2de0></span>
</code></dt>
<dd>
<div class="desc"><p>Computes the divergence of a grid using finite differences.</p>
Expand Down
9 changes: 8 additions & 1 deletion phi/geom/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,12 @@ <h2 id="args">Args</h2>
<h2 id="returns">Returns</h2>
<p><code><a title="phi.geom.Mesh" href="#phi.geom.Mesh">Mesh</a></code></p></div>
</dd>
<dt id="phi.geom.load_stl"><code class="name flex">
<span>def <span class="ident">load_stl</span></span>(<span>file: str, face_dim=(facesⁱ=None))</span>
</code></dt>
<dd>
<div class="desc"></div>
</dd>
<dt id="phi.geom.load_su2"><code class="name flex">
<span>def <span class="ident">load_su2</span></span>(<span>file_or_mesh: str, cell_dim=(cellsⁱ=None), face_format: str = 'csc') ‑> phi.geom._mesh.Mesh</span>
</code></dt>
Expand Down Expand Up @@ -363,7 +369,7 @@ <h2 id="returns">Returns</h2>
<p><code><a title="phi.geom.Mesh" href="#phi.geom.Mesh">Mesh</a></code></p></div>
</dd>
<dt id="phi.geom.mesh_from_numpy"><code class="name flex">
<span>def <span class="ident">mesh_from_numpy</span></span>(<span>points: Union[list, numpy.ndarray], polygons: list, boundaries: Union[str, Dict[str, List[Sequence]], ForwardRef(None)] = None, element_rank: int = None, build_faces=True, build_vertex_connectivity=True, build_normals=True, normals=None, cell_dim: phiml.math._shape.Shape = (cellsⁱ=None), face_format: str = 'csc') ‑> phi.geom._mesh.Mesh</span>
<span>def <span class="ident">mesh_from_numpy</span></span>(<span>points: Sequence[Sequence], polygons: Sequence[Sequence], boundaries: Union[str, Dict[str, List[Sequence]], ForwardRef(None)] = None, element_rank: int = None, build_faces=True, build_vertex_connectivity=True, build_normals=True, normals=None, cell_dim: phiml.math._shape.Shape = (cellsⁱ=None), face_format: str = 'csc') ‑> phi.geom._mesh.Mesh</span>
</code></dt>
<dd>
<div class="desc"><p>Construct an unstructured mesh from vertices.</p>
Expand Down Expand Up @@ -8280,6 +8286,7 @@ <h2 id="returns">Returns</h2>
<li><code><a title="phi.geom.invert" href="#phi.geom.invert">invert</a></code></li>
<li><code><a title="phi.geom.line_trace" href="#phi.geom.line_trace">line_trace</a></code></li>
<li><code><a title="phi.geom.load_gmsh" href="#phi.geom.load_gmsh">load_gmsh</a></code></li>
<li><code><a title="phi.geom.load_stl" href="#phi.geom.load_stl">load_stl</a></code></li>
<li><code><a title="phi.geom.load_su2" href="#phi.geom.load_su2">load_su2</a></code></li>
<li><code><a title="phi.geom.mesh" href="#phi.geom.mesh">mesh</a></code></li>
<li><code><a title="phi.geom.mesh_from_numpy" href="#phi.geom.mesh_from_numpy">mesh_from_numpy</a></code></li>
Expand Down
4 changes: 2 additions & 2 deletions phi/physics/fluid.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ <h2 id="returns">Returns</h2>
<p>Velocity of same type as <code>velocity</code></p></div>
</dd>
<dt id="phi.physics.fluid.boundary_push"><code class="name flex">
<span>def <span class="ident">boundary_push</span></span>(<span>particles: <function PointCloud at 0x7fd5880a3c40>, obstacles: tuple, separation: float = 0.5) ‑> <function PointCloud at 0x7fd5880a3c40></span>
<span>def <span class="ident">boundary_push</span></span>(<span>particles: <function PointCloud at 0x7f6568ac3d80>, obstacles: tuple, separation: float = 0.5) ‑> <function PointCloud at 0x7f6568ac3d80></span>
</code></dt>
<dd>
<div class="desc"><p>Enforces boundary conditions by correcting possible errors of the advection step and shifting particles out of
Expand Down Expand Up @@ -104,7 +104,7 @@ <h2 id="returns">Returns</h2>
</dl></div>
</dd>
<dt id="phi.physics.fluid.make_incompressible"><code class="name flex">
<span>def <span class="ident">make_incompressible</span></span>(<span>velocity: phi.field._field.Field, obstacles: <a title="phi.physics.fluid.Obstacle" href="#phi.physics.fluid.Obstacle">Obstacle</a> = (), solve: phiml.math._optimize.Solve = auto with tolerance None (rel), None (abs), max_iterations=1000, active: <function CenteredGrid at 0x7fd5880a2ca0> = None, order: int = 2, correct_skew=False, wide_stencil: bool = None) ‑> Tuple[phi.field._field.Field, phi.field._field.Field]</span>
<span>def <span class="ident">make_incompressible</span></span>(<span>velocity: phi.field._field.Field, obstacles: <a title="phi.physics.fluid.Obstacle" href="#phi.physics.fluid.Obstacle">Obstacle</a> = (), solve: phiml.math._optimize.Solve = auto with tolerance None (rel), None (abs), max_iterations=1000, active: <function CenteredGrid at 0x7f6568ac2de0> = None, order: int = 2, correct_skew=False, wide_stencil: bool = None) ‑> Tuple[phi.field._field.Field, phi.field._field.Field]</span>
</code></dt>
<dd>
<div class="desc"><p>Projects the given velocity field by solving for the pressure and subtracting its spatial_gradient.</p>
Expand Down

0 comments on commit 793d250

Please sign in to comment.