hummingbird
Solving the self-adjoint angular flux transport equation using spectral elements on Cartesian geometry
Loading...
Searching...
No Matches
misc.h File Reference

Go to the source code of this file.

Namespaces

namespace  hummingbird

Functions

bool hummingbird::DoubleEqual (const double first, const double second, const double tolerance=TOLERANCE)
 Tests if two double-type numbers are equal using the TOLERANCE value. Taken from https://github.com/starling.
double hummingbird::RelativeError (const double new_val, const double old_val)
 Compute the relative error between two values.