You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/p_laplacian.jl
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,7 @@ flux(∇u) = norm(∇u)^(p-2) * ∇u
96
96
f(x) =1
97
97
res(u,v) =∫( ∇(v)⊙(flux∘∇(u)) - v*f )*dΩ
98
98
99
-
# Function `res` is the one representing the integrand of the weak residual $[r(u)](v)$. The first argument of function `res` stands for the function $u\in U_g$, where the residual is evaluated, and the second argument stands for a generic test function $v\in V_0$. Note that we have used the macro `@law` to construct the "constitutive law" that relates the nonlinear flux with the gradient of the solution.
99
+
# Function `res` is the one representing the integrand of the weak residual $[r(u)](v)$. The first argument of function `res` stands for the function $u\in U_g$, where the residual is evaluated, and the second argument stands for a generic test function $v\in V_0$.
100
100
#
101
101
# On the other hand, we (optionally) implement a function `jac` representing the Jacobian.
0 commit comments