Skip to content

Commit

Permalink
cleanup example
Browse files Browse the repository at this point in the history
  • Loading branch information
HelgeGehring committed Oct 19, 2023
1 parent 75a2b71 commit a649f88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/julia/heater_3d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ run(`python $dir/heater_3d_mesh.py`)
# %% [markdown]
# Let's start with defining the constants for the simulation:

# %%
# %% tags=["hide-output"]
electrical_conductivity = [
"core" => 1e-6,
"box" => 1e-13,
Expand Down Expand Up @@ -70,12 +70,12 @@ thermal_diffisitivities = [
"metal3" => 28 / 598 / 5240,
"metal3#e1" => 28 / 598 / 5240,
"metal3#e2" => 28 / 598 / 5240,
];
]
# %% [markdown]
# First we load the mesh, get the labels, define a CellField to evaluate the constants on
# and create functions which work on the tags

# %% tags=["remove-stderr"]
# %% tags=["remove-stderr", "hide-output"]
model = GmshDiscreteModel("mesh.msh")
Ω = Triangulation(model)

Expand Down

0 comments on commit a649f88

Please sign in to comment.