ad_physics
Functions
SpeedSquaredValidInputRange.hpp File Reference
#include <cmath>
#include <limits>
#include "ad/physics/SpeedSquared.hpp"
#include "spdlog/fmt/ostr.h"
#include "spdlog/spdlog.h"
Include dependency graph for SpeedSquaredValidInputRange.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool withinValidInputRange (::ad::physics::SpeedSquared const &input, bool const logErrors=true)
 check if the given SpeedSquared is within valid input range More...
 

Detailed Description

Generated file

Generator Version : 11.0.0-1997

Function Documentation

◆ withinValidInputRange()

bool withinValidInputRange ( ::ad::physics::SpeedSquared const &  input,
bool const  logErrors = true 
)
inline

check if the given SpeedSquared is within valid input range

Parameters
[in]inputthe SpeedSquared as an input value
[in]logErrorsenables error logging
Returns
true if SpeedSquared is considered to be within the specified input range
Note
the specified input range is defined by std::numeric_limits<::ad::physics::SpeedSquared>::lowest() <= input <= std::numeric_limits<::ad::physics::SpeedSquared>::max() -1e4 <= input <= 1e4