If duplicates of the SCElementOp exist (that is, there is more than one node), then if has_collect returns nonzero then collect is called with a MessageGrp reference after all of the blocks have been processed.More...
Objects of class SCElementOp are used to perform operations on the elements of matrices.
When the SCElementOp object is given to the element_op member of a matrix, each block the matrix is passed to one of the process, process_base, or process_base members.
Member Function Documentation
virtual int sc::SCElementOp::has_collect
(
)
[virtual]
If duplicates of the SCElementOp exist (that is, there is more than one node), then if has_collect returns nonzero then collect is called with a MessageGrp reference after all of the blocks have been processed.
The default return value of has_collect is 0 and collect's default action is do nothing. If defer_collect member is called with nonzero, collect will do nothing (this is only used by the blocked matrices).
virtual int sc::SCElementOp::has_side_effects
(
)
[virtual]
By default this returns nonzero.
If the ElementOp specialization will change any elements of the matrix, then this must be overridden to return nonzero.