def constant(value=0):
    """A flat initial condition. Rather boring, you probably want a source or some interesting boundary conditions
    for this to be fun!

    Args:
        value (float): The value the function takes everywhere. Defaults to 0."""
    return lambda x: value