Bases: dolfin.cpp.la.GenericTensor
This class represents a real-valued scalar quantity and implements the GenericTensor interface for scalars.
Create zero scalar
Overloaded versions
add_local(block, num_rows, rows)
Add block of values using local indices
add_local(block, rows)
Add block of values using local indices
Add to local increment (added for testing, remove if we add a better way from python)
Return copy of scalar
Get final value (assumes prior apply(), not part of GenericTensor interface)
The membership flag