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)
24 typedef typename STS::magnitudeType magnitudeType;
25 static const magnitudeType one = STS::magnitude(STS::one());
26 return STS::real(x) > 0.0 ? magnitudeType(-one) : one;
32 typedef Tpetra::global_size_t global_size_t;
63 namespace Experimental {
69 namespace DeprecatedAndMayDisappearAtAnyTime {}