#include "autodiff/forward/dual/dual.hpp"
#include <Eigen/Core>
#include <iostream>
Go to the source code of this file.
|
| Marmot |
| This file includes functions needed for calculations with stress and strain tensors written in voigt notation.
|
|
| Marmot::Testing |
|
|
bool | Marmot::Testing::checkIfEqual (const double a, const double b, const double tol=1e-15) |
|
bool | Marmot::Testing::checkIfEqual (const autodiff::dual a, const autodiff::dual b, const double tol=1e-15) |
|
std::string | Marmot::Testing::getString (const double a) |
|
std::string | Marmot::Testing::getString (const autodiff::dual a) |
|
template<typename T > |
bool | Marmot::Testing::checkIfEqual (const Eigen::Matrix< T, -1, -1 > &a, const Eigen::Matrix< T, -1, -1 > &b, const double tol=1e-15) |
|
void | Marmot::Testing::throwExceptionOnFailure (const bool condition, const std::string &message="") |
|