10 #ifndef _IFPACK2_CONFIGDEFS_HPP_
11 #define _IFPACK2_CONFIGDEFS_HPP_
13 #include <Ifpack2_config.h>
15 #include <Tpetra_ConfigDefs.hpp>
19 template <
class Scalar>
21 IFPACK2_SGN(
const Scalar& x) {
23 typedef typename STS::magnitudeType magnitudeType;
24 static const magnitudeType one = STS::magnitude(STS::one());
25 return STS::real(x) > 0.0 ? magnitudeType(-one) : one;
31 typedef Tpetra::global_size_t global_size_t;
62 namespace Experimental {
68 namespace DeprecatedAndMayDisappearAtAnyTime {}