Geometry¶
Geometry classes define the design parameterization. They should implement:
Responsibilities¶
sample_prior(n): draw initial design parameters.decode(params): convert parameters to raw geometry or mesh form.encode(raw_geometry): fit or extract parameters from raw geometry.validate(params): return a feasibility mask for parameter-level checks.plot(params): create a human-readable geometry visualization.
Current Geometry Types¶
CSTAirfoilGeometry: Kulfan/CST airfoil parameters.SuperWingParameterGeometry: SuperWing global planform, spanwise, and CST parameters.
Design Guidance¶
Keep geometry differentiable when possible. If geometry construction is differentiable, DFlow and post-optimization strategies can optimize through surrogate physics and geometry transforms.