Abstract interface for obtaining interpolants of I{time-independent} functions.
Return the boundary interpolant of this function with respect to the hedge.discretization.Discretization discr at the boundary tagged with tag.
Return the volume interpolant of this function with respect to the hedge.discretization.Discretization discr.
Abstract interface for obtaining interpolants of time-dependent functions.
Return the boundary interpolant of this function with respect to the hedge.discretization.Discretization discr at time t at the boundary tagged with tag.
Return the volume interpolant of this function with respect to the hedge.discretization.Discretization discr at time {t}.
Bases: hedge.data.IGivenFunction
Adapter for a function
into an IGivenFunction.
Initialize the caches and store the function
.
| Parameters: | f – a valid argument to hedge.discretization.Discretization.interpolate_volume_function(). |
|---|
Bases: hedge.data.GivenFunction
A GivenFunction that has a constant value on all space.
Bases: hedge.data.IGivenFunction
A constant-valued GivenFunction.
Bases: hedge.data.ITimeDependentGivenFunction
Adapts a GivenFunction to have a (formal) time-dependency, being constant over all time.
Bases: hedge.data.ITimeDependentGivenFunction
Modulates an ITimeDependentGivenFunction by a sine in time.
Bases: hedge.data.ITimeDependentGivenFunction
Adapts an ITimeDependentGivenFunction to depend on time by
“turning it on” for the time interval
,
and having it be zero the rest of the time.
Bases: hedge.data.ITimeDependentGivenFunction
Adapts a function
into the
GivenFunction framework.