Skip to main content
Version: Next

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).

PageWhat's on it
SciroccoThe class you use for everything
SensitivitiesThe Sensitivity struct and gradient getters
Geometry functionsNACA generation, coordinates, flaps, camber
FoilStateThe full solver state, for reading beyond the getters
Solver parametersTolerances, iteration limits, damping, closures
Hdf5WriterOptional HDF5 output
InternalsSolver kernel headers, for contributors
ConventionsNode order, units, valid ranges, array sizes
Build optionsCMake options
KulfanDisciplineThe 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.