DOLFIN
DOLFIN C++ interface
Loading...
Searching...
No Matches
dolfin::Variable Class Reference

Common base class for DOLFIN variables. More...

#include <Variable.h>

Inheritance diagram for dolfin::Variable:
Collaboration diagram for dolfin::Variable:

Public Member Functions

 Variable ()
 Create unnamed variable.
 Variable (const std::string name, const std::string label)
 Create variable with given name and label.
 Variable (const Variable &variable)
 Copy constructor.
virtual ~Variable ()
 Destructor.
const Variableoperator= (const Variable &variable)
 Assignment operator.
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
virtual std::string str (bool verbose) const
 Return informal string representation (pretty-print).

Public Attributes

Parameters parameters
 Parameters.

Detailed Description

Common base class for DOLFIN variables.

Member Function Documentation

◆ id()

std::size_t dolfin::Variable::id ( ) const
inline

Get unique identifier.

Returns std::size_t The unique integer identifier associated with the object.

◆ str()


The documentation for this class was generated from the following files: