Variable

class dolfin.cpp.common.Variable(*args)

Bases: object

Common base class for DOLFIN variables.

Overloaded versions

  • Variable()

    Create unnamed variable

  • Variable(name, label)

    Create variable with given name and label

  • Variable(variable)

    Copy constructor

id()

Get unique identifier.

Returns
_std::size_t_
The unique integer identifier associated with the object.
label()

Return label (description)

name()

Return name

parameters
rename()

Rename variable

str()

Return informal string representation (pretty-print)

thisown

The membership flag