sfepy.discrete.functions module

class sfepy.discrete.functions.ConstantFunction(values)[source]

Function with constant values.

class sfepy.discrete.functions.ConstantFunctionByRegion(values)[source]

Function with constant values in regions.

class sfepy.discrete.functions.Function(name, function, is_constant=False, extra_args=None)[source]

Base class for user-defined functions.

set_extra_args(**extra_args)[source]
set_function(function, is_constant=False)[source]
class sfepy.discrete.functions.Functions(objs=None, **kwargs)[source]

Container to hold all user-defined functions.

static from_conf(conf)[source]