Computes the value of the boundary condition specified by `bc` for the given layer/process combinations.
"""
boundaryvalue(bc::BoundaryProcess,b,p,layer,sbc,ssub)=error("missing implementation of boundaryvalue for $(typeof(b)) $(typeof(bc)) on $(typeof(layer)) with $(typeof(p))")
"""
criterion(c::Callback, ::Layer, ::Process, state)
Callback criterion/condition. Should return a `Bool` for discrete callbacks and a real number for continuous callbacks.
"""
criterion(c::Callback,::Layer,::Process,state)=error("missing implementation of criterion for $(typeof(c))")
"""
affect!(c::Callback, ::Layer, ::Process, state)
Callback action executed when `criterion` is met (boolean condition for discrete callbacks, zero for continuous callbacks).
"""
affect!(c::Callback,::Layer,::Process,state)=error("missing implementation of affect! for $(typeof(c))")
"""
observe(::Val{name}, ::Layer, ::Process, state1)
...
...
@@ -86,3 +104,5 @@ where `BP` is a `BoundaryProcess` that provides the boundary conditions.
"""
BoundaryStyle(::Type{BP})where{BP<:BoundaryProcess}=error("No style specified for boundary process $BP")