Variable¶
-
class
dolfin.cpp.common.
Variable
(*args)¶ Bases:
object
Common base class for DOLFIN variables.
Copy constructor.
Parameters: Variable & variable (const) – -
id
()¶ Get unique identifier. Returnsstd::size_t The unique integer identifier associated with the object.
Return type: std::size_t
-
label
()¶ Return label (description)
Return type: std::string
-
name
()¶ Return name.
Return type: std::string
-
parameters
¶ Parameters
.Return type: Parameters
-
rename
()¶ Rename variable.
Parameters: - std::string name (const) –
- std::string label (const) –
Return type: void
-
str
()¶ Return informal string representation (pretty-print)
Parameters: verbose (bool) – Return type: std::string
-
thisown
¶ The membership flag
-