dune-fem  2.4.1-rc
Public Member Functions | Static Public Member Functions | Protected Types | Static Protected Member Functions | Protected Attributes | Friends | List of all members
Dune::Fem::Double Class Reference

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/misc/double.hh>

Public Member Functions

 operator double ()
 
 operator const double () const
 
 Double ()
 
 Double (const double value)
 
 Double (const ThisType &other)
 
ThisTypeoperator= (const ThisType other)
 
ThisTypeoperator+= (const ThisType other)
 
ThisTypeoperator-= (const ThisType other)
 
ThisTypeoperator*= (const ThisType other)
 
ThisTypeoperator/= (const ThisType other)
 
Double operator- () const
 

Static Public Member Functions

static std::string typeName ()
 

Protected Types

typedef FlOpCounter< ThisTypeFlOpCounterType
 

Static Protected Member Functions

static void flOp ()
 

Protected Attributes

double value_
 

Friends

Double operator+ (const Double &, const Double &)
 
Double operator+ (const Double &, const double)
 
Double operator+ (const double, const Double &)
 
Double operator+ (const Double &, const int)
 
Double operator+ (const int, const Double &)
 
Double operator+ (const Double &, const unsigned int)
 
Double operator+ (const unsigned int, const Double &)
 
Double operator- (const Double &, const Double &)
 
Double operator- (const Double &, const double)
 
Double operator- (const double, const Double &)
 
Double operator- (const Double &, const int)
 
Double operator- (const int, const Double &)
 
Double operator- (const Double &, const unsigned int)
 
Double operator- (const unsigned int, const Double &)
 
Double operator* (const Double &, const Double &)
 
Double operator* (const Double &, const double)
 
Double operator* (const double, const Double &)
 
Double operator* (const Double &, const int)
 
Double operator* (const int, const Double &)
 
Double operator* (const Double &, const unsigned int)
 
Double operator* (const unsigned int, const Double &)
 
Double operator/ (const Double &, const Double &)
 
Double operator/ (const double, const Double &)
 
Double operator/ (const Double &, const double)
 
Double operator/ (const int, const Double &)
 
Double operator/ (const Double &, const int)
 
Double operator/ (const unsigned int, const Double &)
 
Double operator/ (const Double &, const unsigned int)
 
bool operator== (const Double &, const Double &)
 
bool operator== (const double, const Double &)
 
bool operator== (const Double &, const double)
 
bool operator== (const int, const Double &)
 
bool operator== (const Double &, const int)
 
bool operator== (const unsigned int, const Double &)
 
bool operator== (const Double &, const unsigned int)
 
bool operator!= (const Double &, const Double &)
 
bool operator!= (const double, const Double &)
 
bool operator!= (const Double &, const double)
 
bool operator!= (const int, const Double &)
 
bool operator!= (const Double &, const int)
 
bool operator!= (const unsigned int, const Double &)
 
bool operator!= (const Double &, const unsigned int)
 
bool operator< (const Double &, const Double &)
 
bool operator< (const double, const Double &)
 
bool operator< (const Double &, const double)
 
bool operator< (const int, const Double &)
 
bool operator< (const Double &, const int)
 
bool operator< (const unsigned int, const Double &)
 
bool operator< (const Double &, const unsigned int)
 
bool operator<= (const Double &, const Double &)
 
bool operator<= (const double, const Double &)
 
bool operator<= (const Double &, const double)
 
bool operator<= (const int, const Double &)
 
bool operator<= (const Double &, const int)
 
bool operator<= (const unsigned int, const Double &)
 
bool operator<= (const Double &, const unsigned int)
 
bool operator> (const Double &, const Double &)
 
bool operator> (const double, const Double &)
 
bool operator> (const Double &, const double)
 
bool operator> (const int, const Double &)
 
bool operator> (const Double &, const int)
 
bool operator> (const unsigned int, const Double &)
 
bool operator> (const Double &, const unsigned int)
 
bool operator>= (const Double &, const Double &)
 
bool operator>= (const double, const Double &)
 
bool operator>= (const Double &, const double)
 
bool operator>= (const int, const Double &)
 
bool operator>= (const Double &, const int)
 
bool operator>= (const unsigned int, const Double &)
 
bool operator>= (const Double &, const unsigned int)
 
std::ostream & operator<< (std::ostream &, const Double &)
 
std::istream & operator>> (std::istream &, Double &)
 
template<class Traits >
OutStreamInterface< Traits > & operator<< (OutStreamInterface< Traits > &, const Double)
 
template<class Traits >
InStreamInterface< Traits > & operator>> (InStreamInterface< Traits > &, Double &)
 
double pow (const Double &v, const double p)
 
double log (const Double &v)
 
double sqrt (const Double &v)
 
double sin (const Double &v)
 
double cos (const Double &v)
 
Double abs (const Double &)
 
double min (const Double &, const double)
 
double min (const double, const Double &)
 
double max (const Double &, const double)
 
double max (const double, const Double &)
 
double real (const std::complex< Double > &)
 
double real (const Double &)
 
double imag (const std::complex< Double > &)
 
double imag (const Double &)
 
void field_cast (const Double &, double &)
 

Member Typedef Documentation

Constructor & Destructor Documentation

Dune::Fem::Double::Double ( )
inline
Dune::Fem::Double::Double ( const double  value)
inline
Dune::Fem::Double::Double ( const ThisType other)
inline

Member Function Documentation

static void Dune::Fem::Double::flOp ( )
inlinestaticprotected
Dune::Fem::Double::operator const double ( ) const
inline
Dune::Fem::Double::operator double ( )
inline
ThisType& Dune::Fem::Double::operator*= ( const ThisType  other)
inline

References value_.

ThisType& Dune::Fem::Double::operator+= ( const ThisType  other)
inline

References value_.

Double Dune::Fem::Double::operator- ( ) const
inline
ThisType& Dune::Fem::Double::operator-= ( const ThisType  other)
inline

References value_.

ThisType& Dune::Fem::Double::operator/= ( const ThisType  other)
inline

References value_.

ThisType& Dune::Fem::Double::operator= ( const ThisType  other)
inline

References value_.

static std :: string Dune::Fem::Double::typeName ( )
inlinestatic

Friends And Related Function Documentation

Double abs ( const Double a)
friend
double cos ( const Double v)
friend
void field_cast ( const Double f1,
double &  f2 
)
friend
double imag ( const std::complex< Double > &  x)
friend
double imag ( const Double x)
friend
double log ( const Double v)
friend
double max ( const Double v,
const double  p 
)
friend
double max ( const double  v,
const Double p 
)
friend
double min ( const Double v,
const double  p 
)
friend
double min ( const double  v,
const Double p 
)
friend
bool operator!= ( const Double a,
const Double b 
)
friend
bool operator!= ( const double  a,
const Double b 
)
friend
bool operator!= ( const Double a,
const double  b 
)
friend
bool operator!= ( const int  a,
const Double b 
)
friend
bool operator!= ( const Double a,
const int  b 
)
friend
bool operator!= ( const unsigned int  a,
const Double b 
)
friend
bool operator!= ( const Double a,
const unsigned int  b 
)
friend
Double operator* ( const Double a,
const Double b 
)
friend
Double operator* ( const Double a,
const double  b 
)
friend
Double operator* ( const double  a,
const Double b 
)
friend
Double operator* ( const Double a,
const int  b 
)
friend
Double operator* ( const int  a,
const Double b 
)
friend
Double operator* ( const Double a,
const unsigned int  b 
)
friend
Double operator* ( const unsigned int  a,
const Double b 
)
friend
Double operator+ ( const Double a,
const Double b 
)
friend
Double operator+ ( const Double a,
const double  b 
)
friend
Double operator+ ( const double  a,
const Double b 
)
friend
Double operator+ ( const Double a,
const int  b 
)
friend
Double operator+ ( const int  a,
const Double b 
)
friend
Double operator+ ( const Double a,
const unsigned int  b 
)
friend
Double operator+ ( const unsigned int  a,
const Double b 
)
friend
Double operator- ( const Double a,
const Double b 
)
friend
Double operator- ( const Double a,
const double  b 
)
friend
Double operator- ( const double  a,
const Double b 
)
friend
Double operator- ( const Double a,
const int  b 
)
friend
Double operator- ( const int  a,
const Double b 
)
friend
Double operator- ( const Double a,
const unsigned int  b 
)
friend
Double operator- ( const unsigned int  a,
const Double b 
)
friend
Double operator/ ( const Double a,
const Double b 
)
friend
Double operator/ ( const double  a,
const Double b 
)
friend
Double operator/ ( const Double a,
const double  b 
)
friend
Double operator/ ( const int  a,
const Double b 
)
friend
Double operator/ ( const Double a,
const int  b 
)
friend
Double operator/ ( const unsigned int  a,
const Double b 
)
friend
Double operator/ ( const Double a,
const unsigned int  b 
)
friend
bool operator< ( const Double a,
const Double b 
)
friend
bool operator< ( const double  a,
const Double b 
)
friend
bool operator< ( const Double a,
const double  b 
)
friend
bool operator< ( const int  a,
const Double b 
)
friend
bool operator< ( const Double a,
const int  b 
)
friend
bool operator< ( const unsigned int  a,
const Double b 
)
friend
bool operator< ( const Double a,
const unsigned int  b 
)
friend
std :: ostream& operator<< ( std::ostream &  out,
const Double a 
)
friend
template<class Traits >
OutStreamInterface< Traits >& operator<< ( OutStreamInterface< Traits > &  out,
const Double  a 
)
friend
bool operator<= ( const Double a,
const Double b 
)
friend
bool operator<= ( const double  a,
const Double b 
)
friend
bool operator<= ( const Double a,
const double  b 
)
friend
bool operator<= ( const int  a,
const Double b 
)
friend
bool operator<= ( const Double a,
const int  b 
)
friend
bool operator<= ( const unsigned int  a,
const Double b 
)
friend
bool operator<= ( const Double a,
const unsigned int  b 
)
friend
bool operator== ( const Double a,
const Double b 
)
friend
bool operator== ( const double  a,
const Double b 
)
friend
bool operator== ( const Double a,
const double  b 
)
friend
bool operator== ( const int  a,
const Double b 
)
friend
bool operator== ( const Double a,
const int  b 
)
friend
bool operator== ( const unsigned int  a,
const Double b 
)
friend
bool operator== ( const Double a,
const unsigned int  b 
)
friend
bool operator> ( const Double a,
const Double b 
)
friend
bool operator> ( const double  a,
const Double b 
)
friend
bool operator> ( const Double a,
const double  b 
)
friend
bool operator> ( const int  a,
const Double b 
)
friend
bool operator> ( const Double a,
const int  b 
)
friend
bool operator> ( const unsigned int  a,
const Double b 
)
friend
bool operator> ( const Double a,
const unsigned int  b 
)
friend
bool operator>= ( const Double a,
const Double b 
)
friend
bool operator>= ( const double  a,
const Double b 
)
friend
bool operator>= ( const Double a,
const double  b 
)
friend
bool operator>= ( const int  a,
const Double b 
)
friend
bool operator>= ( const Double a,
const int  b 
)
friend
bool operator>= ( const unsigned int  a,
const Double b 
)
friend
bool operator>= ( const Double a,
const unsigned int  b 
)
friend
std :: istream& operator>> ( std::istream &  in,
Double a 
)
friend
template<class Traits >
InStreamInterface< Traits >& operator>> ( InStreamInterface< Traits > &  in,
Double a 
)
friend
double pow ( const Double v,
const double  p 
)
friend
double real ( const std::complex< Double > &  x)
friend
double real ( const Double x)
friend
double sin ( const Double v)
friend
double sqrt ( const Double v)
friend

Member Data Documentation

double Dune::Fem::Double::value_
protected

The documentation for this class was generated from the following file: