hi
I wrote this code in julia gridap. h value is a field. i need a vector of values. how can i get that?
∂Hn+1/∂hnj={−1 , if i = j and ψ+n+1(e (ξ i ) )< hn(ξ i )
0 , otherwise
function dh(hh_in, ψPlusnext_in)
h_in = hh_in
if h_in > ψPlusnext_in
dh_out = -1.0
else
dh_out = 0.0
end
dh_out
end
Oh, sorry, I didn’t read the GridAp.jl specific part. Maybe it would help to see what types exactly you have. You might want to apply it directly to dd_h.cell_dof_values.