GCC Code Coverage Report


Directory: ./
File: firmware/controllers/algo/airmass/speed_density_base.h
Date: 2025-10-03 00:57:22
Coverage Exec Excl Total
Lines: 100.0% 1 0 1
Functions: 100.0% 1 0 1
Branches: -% 0 0 0
Decisions: -% 0 - 0

Line Branch Decision Exec Source
1 /**
2 * @file speed_density_base.h
3 *
4 * Base for speed density (ie, ideal gas law) math shared by multiple fueling modes.
5 *
6 * @date July 22, 2020
7 * @author Matthew Kennedy, (C) 2020
8 */
9
10 #pragma once
11
12 #include "airmass.h"
13
14 /**
15 * @returns mass of air in cylinder
16 */
17 mass_t idealGasLaw(float volume, float pressure, float temperature);
18
19 class SpeedDensityBase : public AirmassVeModelBase {
20 protected:
21 7 explicit SpeedDensityBase(const ValueProvider3D& veTable) : AirmassVeModelBase(veTable) {}
22
23 public:
24 static mass_t getAirmassImpl(float ve, float manifoldPressure, float temperature);
25 };
26