C++ reference
Include one header and use one class:
#include <scirocco/scirocco.h>
scirocco::Scirocco covers geometry, solving, results, and
gradients. Everything is in the scirocco namespace, and arrays are Eigen
types (Eigen::VectorXd, Eigen::MatrixXd, Eigen::Vector2d).
| Page | What's on it |
|---|---|
Scirocco | The class you use for everything |
| Sensitivities | The Sensitivity struct and gradient getters |
| Geometry functions | NACA generation, coordinates, flaps, camber |
FoilState | The full solver state, for reading beyond the getters |
| Solver parameters | Tolerances, iteration limits, damping, closures |
Hdf5Writer | Optional HDF5 output |
| Internals | Solver kernel headers, for contributors |
| Conventions | Node order, units, valid ranges, array sizes |
| Build options | CMake options |
KulfanDiscipline | The CST geometry discipline behind the Python server |
Under the hood, Scirocco holds a FoilState, and the
solver is a set of free functions that operate on it. Reach for those only
when the class doesn't expose what you need.