sc::OneBodyIntOp
Contents
Member Function Documentation
Ref<SCElementOp>sc::OneBodyIntOp::clone()[virtual]
Returns a clone of this object. This is needed for multithreaded use of SCElementOp objects that are not
thread safe. The default implemenation throws an exception.
Reimplemented from sc::SCElementOp.
boolsc::OneBodyIntOp::cloneable()[virtual]
Returns true if this SCElementOp supports the cloneable member. The default implmentation returns false.
Reimplemented from sc::SCElementOp.
intsc::OneBodyIntOp::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.
Reimplemented from sc::SCElementOp.
voidsc::OneBodyIntOp::process_spec_rect(SCMatrixRectBlock*)[virtual]
Matrices should call these members when the type of block is known. ElementOp specializations should
override these when efficiency is important, since these give the most efficient access to the elements
of the block.
Reimplemented from sc::SCElementOp.
Name
sc::OneBodyIntOp
Synopsis
Inherits sc::SCElementOp.
PublicMemberFunctionsOneBodyIntOp (const Ref< OneBodyInt > &)
OneBodyIntOp (const Ref< OneBodyIntIter > &)
void process (SCMatrixBlockIter &)
This is the fallback routine to process blocks and is called by process_spec members that are not
overridden.
void process_spec_rect (SCMatrixRectBlock *)
Matrices should call these members when the type of block is known.
void process_spec_ltri (SCMatrixLTriBlock *)
void process_spec_rectsub (SCMatrixRectSubBlock *)
void process_spec_ltrisub (SCMatrixLTriSubBlock *)
bool cloneable ()
Returns true if this SCElementOp supports the cloneable member.
Ref< SCElementOp > clone ()
Returns a clone of this object.
int has_side_effects ()
By default this returns nonzero.
ProtectedAttributesRef< OneBodyIntIter > iterAdditionalInheritedMembers