Constant¶
-
class
dolfin.cpp.function.Constant(*args)¶ Bases:
dolfin.cpp.function.ExpressionThis class represents a constant-valued expression.
Copy constructor
Parameters: Constant & constant (const) – ( Constant) Object to be copied.-
assign()¶ Assignment operator
Parameters: Constant & constant (const) – ( Constant) Another constant.Return type: const Constant &
-
thisown¶ The membership flag
-
values()¶ Return copy of this
Constant‘s current valuesReturn type: std::vector< double > Returns: std::vector<double> The vector of scalar values of the constant.
-