Variable.h¶
Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
-
class
Variable
¶ Common base class for DOLFIN variables.
-
Variable
()¶ Create unnamed variable
-
Variable
(const std::string name, const std::string label)¶ Create variable with given name and label
-
void
rename
(const std::string name, const std::string label)¶ Rename variable
-
std::string
name
() const¶ Return name
-
std::string
label
() const¶ Return label (description)
-
std::size_t
id
() const¶ Get unique identifier.
- Returns
- _std::size_t_
- The unique integer identifier associated with the object.
-
std::string
str
(bool verbose) const¶ Return informal string representation (pretty-print)
-