• The node array class now derives from the container base class. All typical container methods, such as at(), size(), isempty(), append(), insert(), remove(), reserve() and extend() are now implemented. Unit tests have been added to check the functionnality.
    
    The Python interface now implements the __len__ method on the GContainer class level. This allows to determine container sizes using the len() function. The __len__ method is now obsolete in the derived classes and thus has been removed.
    Jürgen Knödlseder authored
     
    Browse File »

  • Add GChatter argument to print() method.
    
    The print() method now takes an argument of type GChatter to control the chattiness of the output in a homogenous manner.
    Pass NORMAL chatter level in __str__ method.
    Add chatter argument to print() methods.
    Use GLog::chatter() method to control the chattiness of the log stream operator.
    Add chatter() methods and provide member access through const references.
    Add chatter() methods, provide member access through const references, and declare one liners as inline methods.
    
    The chatter() methods control the new m_chatter attribute that is used to control the chattiness of the object's print() methods.
    name() and version() methods return const references.
    logFileOpen() method now sets the chattiness from the applications's chatter parameter, and name() and version() methods now return a const reference.
    Jürgen Knödlseder authored
     
    Browse File »

  • A value cache has been added to that the interpolation computations are only done when the value or the nodes have been changed between subsequent class to @set_value()@ or @interpolate()@ (@interpolate()@ calls in fact @set_value()@, so that the changes have only be done in the @set_value()@ method).
    
    An unnecessary if statement has been removed from the bi-section algorithm.
    
    See feature #102.
    Jürgen Knödlseder authored
     
    Browse File »

  • So far, the evaluation cache has not been updated after a node access. This led to a corrupt node array. A flag has been added that leads to cache update when node values have potentially changed.
    
    I also declared cache members as mutable so that the setup and set_value methods can now be declared const. This makes the class cleaner.
    Jürgen Knödlseder authored
     
    Browse File »