LOOS 4.1.0
The Lightweight Object Oriented Structural analysis library/toolkit
|
This class creates superblocks in a hessian. More...
#include <hessian.hpp>
Public Member Functions | |
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 Member Functions | |
loos::DoubleMatrix | blockImpl (const uint j, const uint i, SpringFunction *fptr) |
Implementation of the superblock calculation. | |
Protected Attributes | |
SpringFunction * | springs |
loos::AtomicGroup | nodes |
This class creates superblocks in a hessian.
This is the base class for defining elements (superblocks) in the Hessian. Note that this class does NOT use NVI, so derived classes should verify that they have valid args for the block() function.
|
inline |
Constructor taking a spring function and a list of nodes.
Arguments:
func
SpringFunction to use to determine spring constants between nodes For example, to compute a hessian using the HCA method,
|
inlinevirtual |
Returns a 3x3 matrix representing a superblock in the Hessian for the two nodes.
Reimplemented in ENM::BoundSuperBlock.
|
inlineprotected |
Implementation of the superblock calculation.
This is the actual implementation of the SuperBlock calculation. In most cases, derived clases will probably want to use this but with alternative spring functions...
|
inlinevirtual |
Forwards to the contained SpringFunction...
Reimplemented in ENM::BoundSuperBlock.
|
inlinevirtual |
Forwards to the contained SpringFunction...
Reimplemented in ENM::BoundSuperBlock.
|
inlinevirtual |
Forwards to the contained SpringFunction...
Reimplemented in ENM::BoundSuperBlock.