/home/runner/work/kynema/kynema/kynema/src/interfaces/cfd/node_data.hpp Source File

Kynema API: /home/runner/work/kynema/kynema/kynema/src/interfaces/cfd/node_data.hpp Source File
Kynema API
A flexible multibody structural dynamics code for wind turbines
Loading...
Searching...
No Matches
node_data.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <array>
4#include <cstddef>
5
7
11struct NodeData {
12 size_t id;
13 std::array<double, 7> position{0., 0., 0., 1., 0., 0., 0.};
14 std::array<double, 7> displacement{0., 0., 0., 1., 0., 0., 0.};
15 std::array<double, 6> velocity{0., 0., 0., 0., 0., 0.};
16 std::array<double, 6> acceleration{0., 0., 0., 0., 0., 0.};
17 std::array<double, 6> loads{0., 0., 0., 0., 0., 0.};
18
19 explicit NodeData(size_t id_) : id(id_) {}
20};
21
22} // namespace kynema::interfaces::cfd
Definition floating_platform.hpp:9
All of the data describing the state at a node in an ergonomic way.
Definition node_data.hpp:11
std::array< double, 6 > acceleration
Definition node_data.hpp:16
std::array< double, 7 > position
Definition node_data.hpp:13
NodeData(size_t id_)
Definition node_data.hpp:19
std::array< double, 7 > displacement
Definition node_data.hpp:14
std::array< double, 6 > loads
Definition node_data.hpp:17
std::array< double, 6 > velocity
Definition node_data.hpp:15
size_t id
Definition node_data.hpp:12