SimulationControls Struct Reference

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

Struct to hold the settings for simulation controls. More...

#include <aerodyn_inflow.hpp>

Public Types

enum class  DebugLevel : std::uint8_t {
  kNone = 0 , kSummary = 1 , kDetailed = 2 , kInputFiles = 3 ,
  kAll = 4
}
 Debug levels used in AeroDyn-Inflow C bindings. More...
 
enum class  OutputFormat : std::uint8_t { kNone = 0 , kText = 1 , kBinary = 2 , kText_Binary = 3 }
 Write output format. More...
 

Public Attributes

std::string aerodyn_input
 
std::string inflowwind_input
 
int interpolation_order {1}
 
double time_step {0.1}
 
double max_time {600.}
 
double total_elapsed_time {0.}
 
int n_time_steps {0}
 
bool transpose_DCM {true}
 
bool point_load_output {true}
 
DebugLevel debug_level {DebugLevel::kNone}
 
OutputFormat output_format {OutputFormat::kNone}
 
std::string output_root_name {"ADI_out"}
 
double output_time_step {0.1}
 
size_t n_channels {0}
 

Static Public Attributes

static constexpr size_t kDefaultStringLength {1025}
 

Detailed Description

Struct to hold the settings for simulation controls.

This struct holds the settings for simulation controls, including input file handling, interpolation order, time-related variables, and flags.

Member Enumeration Documentation

◆ DebugLevel

enum class kynema::util::SimulationControls::DebugLevel : std::uint8_t
strong

Debug levels used in AeroDyn-Inflow C bindings.

Enumerator
kNone 
kSummary 
kDetailed 
kInputFiles 
kAll 

◆ OutputFormat

enum class kynema::util::SimulationControls::OutputFormat : std::uint8_t
strong

Write output format.

Enumerator
kNone 
kText 
kBinary 
kText_Binary 

Member Data Documentation

◆ aerodyn_input

std::string kynema::util::SimulationControls::aerodyn_input

◆ debug_level

DebugLevel kynema::util::SimulationControls::debug_level {DebugLevel::kNone}

◆ inflowwind_input

std::string kynema::util::SimulationControls::inflowwind_input

◆ interpolation_order

int kynema::util::SimulationControls::interpolation_order {1}

◆ kDefaultStringLength

constexpr size_t kynema::util::SimulationControls::kDefaultStringLength {1025}
staticconstexpr

◆ max_time

double kynema::util::SimulationControls::max_time {600.}

◆ n_channels

size_t kynema::util::SimulationControls::n_channels {0}

◆ n_time_steps

int kynema::util::SimulationControls::n_time_steps {0}

◆ output_format

OutputFormat kynema::util::SimulationControls::output_format {OutputFormat::kNone}

◆ output_root_name

std::string kynema::util::SimulationControls::output_root_name {"ADI_out"}

◆ output_time_step

double kynema::util::SimulationControls::output_time_step {0.1}

◆ point_load_output

bool kynema::util::SimulationControls::point_load_output {true}

◆ time_step

double kynema::util::SimulationControls::time_step {0.1}

◆ total_elapsed_time

double kynema::util::SimulationControls::total_elapsed_time {0.}

◆ transpose_DCM

bool kynema::util::SimulationControls::transpose_DCM {true}

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