You Gotta Keep ’em Aggregated

The SectionAggregator was one of my few useful OpenSees ideas. This class gives a flexible way to combine, or aggregate, modes of force-deformation in a single section model. The idea for SectionAggregator came from the Decorator software design pattern, the same pattern from which so many UniaxialMaterial wrappers were spawned (here and here). In fact, … Continue reading You Gotta Keep ’em Aggregated

There’s a Wrapper for That

Many publications describe software design patterns for reusing object-oriented software. The most widely read book on design patterns is so influential that it has its own Wikipedia page. In this book, the "Gang of Four" offers two guiding principles for software design patterns. The first principle is to program to an interface, not an implementation, … Continue reading There’s a Wrapper for That