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

Detailed Description

Generated file

Generator Version : 11.0.0-1997

Function Documentation

◆ withinValidInputRange()

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

check if the given Weight is within valid input range

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