Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
JSchoeberl committed May 13, 2024
1 parent 49baa20 commit 96ae8d6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 32 deletions.
14 changes: 2 additions & 12 deletions _sources/aposteriori/equilibrated.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -220,20 +220,9 @@
"shape = r1\n",
"mesh = Mesh(OCCGeometry(shape,dim=2).GenerateMesh(maxh=0.1))\n",
"\n",
"# mesh = Mesh(unit_square.GenerateMesh(maxh=0.1))\n",
"Draw (mesh);"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "e7af9796-4cad-4875-8667-7becbaab6bd1",
"metadata": {},
"outputs": [],
"source": [
"print (mesh.GetBoundaries(), mesh.GetMaterials())"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand All @@ -248,7 +237,8 @@
"u,v = fes.TnT()\n",
"\n",
"a = BilinearForm(grad(u)*grad(v)*dx).Assemble()\n",
"source = mesh.MaterialCF( { \"source\" : 1 }, default=1 )\n",
"# source = mesh.MaterialCF( { \"source\" : 1 }, default=1 )\n",
"source = x*y\n",
"f = LinearForm(source*v*dx).Assemble()\n",
"\n",
"gfu = GridFunction(fes, name=\"solution\")\n",
Expand Down
26 changes: 7 additions & 19 deletions aposteriori/equilibrated.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit 96ae8d6

Please sign in to comment.