Ewald 1D in 3D: jdu spát
[qpms.git] / qpms / tolerances.h
blob14939a6bcd79032cb8b7e16b0372544bbd3bf155
1 /*! \file tolerances.h */
2 #ifndef QPMS_TOLERANCES_H
3 #define QPMS_TOLERANCES_H
5 // TODO DOC
7 typedef struct qpms_tolerance_spec_t {
8 double atol;
9 double rtol;
10 } qpms_tolerance_spec_t;
12 /// A rather arbitrary default tolerance.
13 static const qpms_tolerance_spec_t QPMS_TOLERANCE_DEFAULT = {.atol = 1e-9, .rtol = 1e-8};
15 #endif // QPMS_TOLERANCES_H