Elements

namespace elem
class Spar1D
#include <spar.hpp>
class Spring1D
#include <spring.hpp>

1D Spring Element

Individual spring element used in Assembly1D. Defines the spring constant (k) and local stiffness matrix (ke) of a single element

  • k must be defined prior to adding to Assembly1D.

    • Currently, k can only be defined upon initialization (private member). Assembly1D will solve the displacements and forces of each element.