ParameterValue

class dolfin.cpp.common.ParameterValue(*args, **kwargs)

Bases: object

Base class for parameters.

access_count()

Return access count (number of times parameter has been accessed)

change_count()

Return change count (number of times parameter has been changed)

static check_key()
data()
description()

Return parameter description

get_range()
is_set()

Return true if parameter is set, return false otherwise

key()

Return parameter key

range_str()

Return range string

reset()

Reset the parameter to empty, so that is_set() returns false.

set_range()

Overloaded versions

  • set_range(min_value, max_value)

    Set range for int-valued parameter

  • set_range(min_value, max_value)

    Set range for double-valued parameter

  • set_range(range)

    Set range for string-valued parameter

str()

Return short string description

thisown

The membership flag

type_str()

Return value type string

value()
value_str()

Return value string

warn_once(msg)