SpringElement Struct Reference

Kynema API: kynema::SpringElement Struct Reference
Kynema API
A flexible multibody structural dynamics code for wind turbines
Loading...
Searching...
No Matches
kynema::SpringElement Struct Reference

Spring element represents a constitutively linear spring connecting two nodes and defined by its scalar stiffness and undeformed length. More...

#include <spring_element.hpp>

Public Member Functions

 SpringElement (size_t id, std::array< size_t, 2 > n_ids, double k, double l0)
 

Public Attributes

size_t ID
 
std::array< size_t, 2 > node_ids
 
double stiffness
 
double undeformed_length
 

Detailed Description

Spring element represents a constitutively linear spring connecting two nodes and defined by its scalar stiffness and undeformed length.

Constructor & Destructor Documentation

◆ SpringElement()

kynema::SpringElement::SpringElement ( size_t  id,
std::array< size_t, 2 >  n_ids,
double  k,
double  l0 
)
inline

Member Data Documentation

◆ ID

size_t kynema::SpringElement::ID

◆ node_ids

std::array<size_t, 2> kynema::SpringElement::node_ids

◆ stiffness

double kynema::SpringElement::stiffness

◆ undeformed_length

double kynema::SpringElement::undeformed_length

The documentation for this struct was generated from the following file: