Skip to content
Snippets Groups Projects
Commit bdb7da64 authored by Stephan Hilb's avatar Stephan Hilb
Browse files

stub cell function struct

parent 6100586a
No related branches found
No related tags found
No related merge requests found
...@@ -109,6 +109,12 @@ Base.show(io::IO, ::MIME"text/plain", f::FeFunction) = ...@@ -109,6 +109,12 @@ Base.show(io::IO, ::MIME"text/plain", f::FeFunction) =
interpolate!(dst::FeFunction, expr::Function; params...) = interpolate!(dst::FeFunction, expr::Function; params...) =
interpolate!(dst, dst.space.element, expr; params...) interpolate!(dst, dst.space.element, expr; params...)
# stack-allocated cell-local function
# FIXME: unfinished, how to handle derivatives?
struct FeCellFunction{Fe, S, Ld}
data::Ld # ldof -> data
end
myvec(x) = vec(x) myvec(x) = vec(x)
myvec(x::Number) = x myvec(x::Number) = x
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment