Skip to content

Commit

Permalink
Fix boundary condition types
Browse files Browse the repository at this point in the history
  • Loading branch information
bessman committed Sep 18, 2020
1 parent 87dc41a commit f34d032
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/notebooks/Creating Models/2-a-pde-model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"# boundary conditions\n",
"lbc = pybamm.Scalar(0)\n",
"rbc = pybamm.Scalar(2)\n",
"model.boundary_conditions = {c: {\"left\": (lbc, \"Dirichlet\"), \"right\": (rbc, \"Neumann\")}}"
"model.boundary_conditions = {c: {\"left\": (lbc, \"Neumann\"), \"right\": (rbc, \"Neumann\")}}"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"# boundary conditions \n",
"lbc = pybamm.Scalar(0)\n",
"rbc = -j / F / D\n",
"model.boundary_conditions = {c: {\"left\": (lbc, \"Dirichlet\"), \"right\": (rbc, \"Neumann\")}}\n",
"model.boundary_conditions = {c: {\"left\": (lbc, \"Neumann\"), \"right\": (rbc, \"Neumann\")}}\n",
"\n",
"# initial conditions \n",
"model.initial_conditions = {c: c0}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
"# boundary conditions (only required for full model)\n",
"lbc = pybamm.Scalar(0)\n",
"rbc = -j / F / D\n",
"full_model.boundary_conditions = {c: {\"left\": (lbc, \"Dirichlet\"), \"right\": (rbc, \"Neumann\")}}"
"full_model.boundary_conditions = {c: {\"left\": (lbc, \"Neumann\"), \"right\": (rbc, \"Neumann\")}}"
]
},
{
Expand Down

0 comments on commit f34d032

Please sign in to comment.