preCICE
Loading...
Searching...
No Matches
differences.hpp File Reference
#include <Eigen/Core>
#include <cstdlib>
Include dependency graph for differences.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  precice
 Main namespace of the precice library.
namespace  precice::math
 provides general mathematical constants and functions.

Functions

template<class DerivedA, class DerivedB>
constexpr bool precice::math::equals (const Eigen::MatrixBase< DerivedA > &A, const Eigen::MatrixBase< DerivedB > &B, double tolerance=NUMERICAL_ZERO_DIFFERENCE)
 Compares two Eigen::MatrixBase for equality up to tolerance.
bool precice::math::equals (double a, double b, double tolerance=NUMERICAL_ZERO_DIFFERENCE) noexcept
 Compares two scalar (arithmetic) types.
bool precice::math::isZero (double a, double tolerance=NUMERICAL_ZERO_DIFFERENCE) noexcept
bool precice::math::greater (double a, double b, double tolerance=NUMERICAL_ZERO_DIFFERENCE) noexcept
bool precice::math::greaterEquals (double a, double b, double tolerance=NUMERICAL_ZERO_DIFFERENCE) noexcept
bool precice::math::smaller (double a, double b, double tolerance=NUMERICAL_ZERO_DIFFERENCE) noexcept
bool precice::math::smallerEquals (double a, double b, double tolerance=NUMERICAL_ZERO_DIFFERENCE) noexcept

Variables

constexpr double precice::math::NUMERICAL_ZERO_DIFFERENCE = 1.0e-14