stormbird 0.9.0

A library for modeling modern wind propulsion devices
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (C) 2024, NTNU
// Author: Jarle Vinje Kramer <jarlekramer@gmail.com; jarle.a.kramer@ntnu.no>
// License: GPL v3.0 (see separate file LICENSE or https://www.gnu.org/licenses/gpl-3.0.html)

use stormath::{
    spatial_vector::SpatialVector,
    type_aliases::Float,
};

#[derive(Debug, Clone)]
/// Results from a lifting line solver, which will be further used to generate SimulationResults
pub struct SolverResult {
    pub input_ctrl_points_velocity: Vec<SpatialVector>,
    pub circulation_strength: Vec<Float>,
    pub output_ctrl_points_velocity: Vec<SpatialVector>,
    pub iterations: usize,
    pub residual: Float,
}