ad_physics
Functions
AccelerationValidInputRange.hpp File Reference
#include <cmath>
#include <limits>
#include "ad/physics/Acceleration.hpp"
#include "spdlog/fmt/ostr.h"
#include "spdlog/spdlog.h"
Include dependency graph for AccelerationValidInputRange.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::Acceleration const &input, bool const logErrors=true)
 check if the given Acceleration is within valid input range More...
 

Detailed Description

Generated file

Generator Version : 11.0.0-1997

Function Documentation

◆ withinValidInputRange()

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

check if the given Acceleration is within valid input range

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