2020-07-23 01:23:57 -07:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "airmass.h"
|
|
|
|
|
|
|
|
class MafAirmass final : public AirmassModelBase {
|
|
|
|
public:
|
2020-07-29 02:23:03 -07:00
|
|
|
explicit MafAirmass(const ValueProvider3D& veTable) : AirmassModelBase(veTable) {}
|
2020-07-23 01:23:57 -07:00
|
|
|
|
|
|
|
AirmassResult getAirmass(int rpm) override;
|
|
|
|
|
|
|
|
// Compute airmass based on flow & engine speed
|
|
|
|
AirmassResult getAirmassImpl(float massAirFlow, int rpm) const;
|
|
|
|
};
|