LOOS 4.1.0
The Lightweight Object Oriented Structural analysis library/toolkit
|
SuperBlock decorator base class. More...
#include <hessian.hpp>
Public Member Functions | |
SuperBlockDecorator (SuperBlock *b) | |
Constructor that takes a SuperBlock to decorate. | |
Public Member Functions inherited from ENM::SuperBlock | |
SuperBlock (SpringFunction *func, const loos::AtomicGroup &nodelist) | |
Constructor taking a spring function and a list of nodes. | |
SuperBlock (const SuperBlock &b) | |
uint | size () const |
virtual SpringFunction::Params | setParams (const SpringFunction::Params &v) |
Forwards to the contained SpringFunction... | |
virtual bool | validParams () const |
Forwards to the contained SpringFunction... | |
virtual uint | paramSize () const |
Forwards to the contained SpringFunction... | |
virtual loos::DoubleMatrix | block (const uint j, const uint i) |
Returns a 3x3 matrix representing a superblock in the Hessian for the two nodes. | |
Protected Attributes | |
SuperBlock * | decorated |
Protected Attributes inherited from ENM::SuperBlock | |
SpringFunction * | springs |
loos::AtomicGroup | nodes |
Additional Inherited Members | |
Protected Member Functions inherited from ENM::SuperBlock | |
loos::DoubleMatrix | blockImpl (const uint j, const uint i, SpringFunction *fptr) |
Implementation of the superblock calculation. | |
SuperBlock decorator base class.
The following is a decorator for a SuperBlock. It both inherits from (so it can be used in place of a SuperBlock) and contains a SuperBlock. This allows additional behavior to be layed on top of the SuperBlock.