Skip to content

Commit 9bf4bc1

Browse files
committed
#704 added option to finite element boundary_value_or_flux
1 parent 8340f40 commit 9bf4bc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pybamm/spatial_methods/scikit_finite_element.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def integral_form(v, dv, w):
322322

323323
return pybamm.Matrix(integration_vector[np.newaxis, :])
324324

325-
def boundary_value_or_flux(self, symbol, discretised_child):
325+
def boundary_value_or_flux(self, symbol, discretised_child, extrapolation="linear"):
326326
"""
327327
Returns the average value of the symbol over the negative tab ("negative tab")
328328
or the positive tab ("positive tab") in the Finite Element Method.

0 commit comments

Comments
 (0)