ReFRACtor
double_with_unit.h File Reference
#include "printable.h"
#include "unit.h"
#include <cmath>
+ Include dependency graph for double_with_unit.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FullPhysics::DoubleWithUnit
 We frequently have a double with units associated with it. More...
 

Namespaces

 FullPhysics
 Contains classes to abstract away details in various Spurr Radiative Transfer software.
 

Functions

FullPhysics::DoubleWithUnit std::ceil (const FullPhysics::DoubleWithUnit &x)
 
FullPhysics::DoubleWithUnit std::floor (const FullPhysics::DoubleWithUnit &x)
 
FullPhysics::DoubleWithUnit std::max (const FullPhysics::DoubleWithUnit &x, const FullPhysics::DoubleWithUnit &y)
 
FullPhysics::DoubleWithUnit std::min (const FullPhysics::DoubleWithUnit &x, const FullPhysics::DoubleWithUnit &y)
 
bool FullPhysics::operator< (const FullPhysics::DoubleWithUnit &A, const FullPhysics::DoubleWithUnit &B)
 
bool FullPhysics::operator== (const FullPhysics::DoubleWithUnit &A, const FullPhysics::DoubleWithUnit &B)
 We define != in terms of this operator. More...
 
FullPhysics::DoubleWithUnit std::round (const FullPhysics::DoubleWithUnit &x)
 

Function Documentation

◆ ceil()

Definition at line 97 of file double_with_unit.h.

◆ floor()

FullPhysics::DoubleWithUnit std::floor ( const FullPhysics::DoubleWithUnit x)
inline

Definition at line 92 of file double_with_unit.h.

◆ max()

Definition at line 112 of file double_with_unit.h.

◆ min()

Definition at line 107 of file double_with_unit.h.

◆ round()

FullPhysics::DoubleWithUnit std::round ( const FullPhysics::DoubleWithUnit x)
inline

Definition at line 102 of file double_with_unit.h.


Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:11