Skip to main content

Module botany

Module botany 

Source
Expand description

Botanical & Flora Biophysics Modality (botany.rs)

Provides deterministic 10D ontological graph ledger bindings for procedural flora:

  • Metamer organ state, sapwood pipe count, and heartwood core
  • Continuous cellular turgor pressure and hydraulic potential
  • Thermal time phenology (Growing Degree Days $GDD$, vernalization chilling)
  • Ground cover ecotope patch (LAI, culm height, trample deformation)
  • Murray’s Law vascular radius and Hagen-Poiseuille conductance
  • Raunkiær life-form classification and harsh-season dieback state

Strictly zero heap in hot loops (AGENTS.md §0), 48-byte Super-Quin layout.

Structs§

BotanyVerdict
Evaluated botanical assessment for a plant, branch, metamer, or ecotope patch.

Enums§

BotanyError

Constants§

OP_BOTANY_ECOTOPE
Ground cover ecotope: LAI + mean culm height mm + trample matted ratio.
OP_BOTANY_METAMER
Metamer organ state: Organ type, active sapwood pipes, retired heartwood pipes.
OP_BOTANY_PHENOLOGY
Thermal phenology: Accumulated GDD + chilling hours.
OP_BOTANY_RAUNKIAER
Raunkiær life-form classification + seasonal dieback pruning flag.
OP_BOTANY_TURGOR
Cellular turgor pressure in kPa + hydraulic water potential.
OP_BOTANY_VASCULAR
Vascular venation: Murray’s Law radius um + Poiseuille conductance.

Functions§

evaluate_botanical_frame
Evaluates a frame of botanical Quins, outputting zero-alloc verdicts.
pack_botany_metamer_quin
Packs a metamer’s vascular pipe state into a 48-byte NQuin.
pack_botany_phenology_quin
Packs thermal phenology GDD into an NQuin.
pack_botany_turgor_quin
Packs cellular turgor pressure into an NQuin.
unpack_botany_metamer_quin
Unpacks a metamer Quin returning (organ_type, active_pipes, retired_pipes).
unpack_botany_turgor_quin
Unpacks a turgor Quin returning turgor_kpa.