dune-fem 2.12-git
Loading...
Searching...
No Matches
Dune::Fem::Double Class Reference

#include <dune/fem/misc/double.hh>

Public Member Functions

 operator 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::ostreamoperator<< (std ::ostream &, const Double &)
 
std::istreamoperator>> (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 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

◆ FlOpCounterType

Constructor & Destructor Documentation

◆ Double() [1/3]

Dune::Fem::Double::Double ( )
inline

◆ Double() [2/3]

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

◆ Double() [3/3]

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

Member Function Documentation

◆ flOp()

static void Dune::Fem::Double::flOp ( )
inlinestaticprotected

◆ operator double()

Dune::Fem::Double::operator double ( ) const
inline

◆ operator*=()

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

◆ operator+=()

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

◆ operator-()

Double Dune::Fem::Double::operator- ( ) const
inline

◆ operator-=()

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

◆ operator/=()

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

◆ operator=()

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

◆ typeName()

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

Friends And Related Symbol Documentation

◆ abs

Double abs ( const Double a)
friend

◆ cos

double cos ( const Double v)
friend

◆ field_cast

void field_cast ( const Double f1,
double &  f2 
)
friend

◆ imag [1/2]

double imag ( const Double x)
friend

◆ imag [2/2]

double imag ( const std::complex< Double > &  x)
friend

◆ log

double log ( const Double v)
friend

◆ max [1/2]

double max ( const Double v,
const double  p 
)
friend

◆ max [2/2]

double max ( const double  v,
const Double p 
)
friend

◆ min [1/2]

double min ( const Double v,
const double  p 
)
friend

◆ min [2/2]

double min ( const double  v,
const Double p 
)
friend

◆ operator!= [1/7]

bool operator!= ( const Double a,
const Double b 
)
friend

◆ operator!= [2/7]

bool operator!= ( const Double a,
const double  b 
)
friend

◆ operator!= [3/7]

bool operator!= ( const Double a,
const int  b 
)
friend

◆ operator!= [4/7]

bool operator!= ( const Double a,
const unsigned int  b 
)
friend

◆ operator!= [5/7]

bool operator!= ( const double  a,
const Double b 
)
friend

◆ operator!= [6/7]

bool operator!= ( const int  a,
const Double b 
)
friend

◆ operator!= [7/7]

bool operator!= ( const unsigned int  a,
const Double b 
)
friend

◆ operator* [1/7]

Double operator* ( const Double a,
const Double b 
)
friend

◆ operator* [2/7]

Double operator* ( const Double a,
const double  b 
)
friend

◆ operator* [3/7]

Double operator* ( const Double a,
const int  b 
)
friend

◆ operator* [4/7]

Double operator* ( const Double a,
const unsigned int  b 
)
friend

◆ operator* [5/7]

Double operator* ( const double  a,
const Double b 
)
friend

◆ operator* [6/7]

Double operator* ( const int  a,
const Double b 
)
friend

◆ operator* [7/7]

Double operator* ( const unsigned int  a,
const Double b 
)
friend

◆ operator+ [1/7]

Double operator+ ( const Double a,
const Double b 
)
friend

◆ operator+ [2/7]

Double operator+ ( const Double a,
const double  b 
)
friend

◆ operator+ [3/7]

Double operator+ ( const Double a,
const int  b 
)
friend

◆ operator+ [4/7]

Double operator+ ( const Double a,
const unsigned int  b 
)
friend

◆ operator+ [5/7]

Double operator+ ( const double  a,
const Double b 
)
friend

◆ operator+ [6/7]

Double operator+ ( const int  a,
const Double b 
)
friend

◆ operator+ [7/7]

Double operator+ ( const unsigned int  a,
const Double b 
)
friend

◆ operator- [1/7]

Double operator- ( const Double a,
const Double b 
)
friend

◆ operator- [2/7]

Double operator- ( const Double a,
const double  b 
)
friend

◆ operator- [3/7]

Double operator- ( const Double a,
const int  b 
)
friend

◆ operator- [4/7]

Double operator- ( const Double a,
const unsigned int  b 
)
friend

◆ operator- [5/7]

Double operator- ( const double  a,
const Double b 
)
friend

◆ operator- [6/7]

Double operator- ( const int  a,
const Double b 
)
friend

◆ operator- [7/7]

Double operator- ( const unsigned int  a,
const Double b 
)
friend

◆ operator/ [1/7]

Double operator/ ( const Double a,
const Double b 
)
friend

◆ operator/ [2/7]

Double operator/ ( const Double a,
const double  b 
)
friend

◆ operator/ [3/7]

Double operator/ ( const Double a,
const int  b 
)
friend

◆ operator/ [4/7]

Double operator/ ( const Double a,
const unsigned int  b 
)
friend

◆ operator/ [5/7]

Double operator/ ( const double  a,
const Double b 
)
friend

◆ operator/ [6/7]

Double operator/ ( const int  a,
const Double b 
)
friend

◆ operator/ [7/7]

Double operator/ ( const unsigned int  a,
const Double b 
)
friend

◆ operator< [1/7]

bool operator< ( const Double a,
const Double b 
)
friend

◆ operator< [2/7]

bool operator< ( const Double a,
const double  b 
)
friend

◆ operator< [3/7]

bool operator< ( const Double a,
const int  b 
)
friend

◆ operator< [4/7]

bool operator< ( const Double a,
const unsigned int  b 
)
friend

◆ operator< [5/7]

bool operator< ( const double  a,
const Double b 
)
friend

◆ operator< [6/7]

bool operator< ( const int  a,
const Double b 
)
friend

◆ operator< [7/7]

bool operator< ( const unsigned int  a,
const Double b 
)
friend

◆ operator<< [1/2]

template<class Traits >
OutStreamInterface< Traits > & operator<< ( OutStreamInterface< Traits > &  out,
const Double  a 
)
friend

◆ operator<< [2/2]

std::ostream & operator<< ( std ::ostream &  out,
const Double a 
)
friend

◆ operator<= [1/7]

bool operator<= ( const Double a,
const Double b 
)
friend

◆ operator<= [2/7]

bool operator<= ( const Double a,
const double  b 
)
friend

◆ operator<= [3/7]

bool operator<= ( const Double a,
const int  b 
)
friend

◆ operator<= [4/7]

bool operator<= ( const Double a,
const unsigned int  b 
)
friend

◆ operator<= [5/7]

bool operator<= ( const double  a,
const Double b 
)
friend

◆ operator<= [6/7]

bool operator<= ( const int  a,
const Double b 
)
friend

◆ operator<= [7/7]

bool operator<= ( const unsigned int  a,
const Double b 
)
friend

◆ operator== [1/7]

bool operator== ( const Double a,
const Double b 
)
friend

◆ operator== [2/7]

bool operator== ( const Double a,
const double  b 
)
friend

◆ operator== [3/7]

bool operator== ( const Double a,
const int  b 
)
friend

◆ operator== [4/7]

bool operator== ( const Double a,
const unsigned int  b 
)
friend

◆ operator== [5/7]

bool operator== ( const double  a,
const Double b 
)
friend

◆ operator== [6/7]

bool operator== ( const int  a,
const Double b 
)
friend

◆ operator== [7/7]

bool operator== ( const unsigned int  a,
const Double b 
)
friend

◆ operator> [1/7]

bool operator> ( const Double a,
const Double b 
)
friend

◆ operator> [2/7]

bool operator> ( const Double a,
const double  b 
)
friend

◆ operator> [3/7]

bool operator> ( const Double a,
const int  b 
)
friend

◆ operator> [4/7]

bool operator> ( const Double a,
const unsigned int  b 
)
friend

◆ operator> [5/7]

bool operator> ( const double  a,
const Double b 
)
friend

◆ operator> [6/7]

bool operator> ( const int  a,
const Double b 
)
friend

◆ operator> [7/7]

bool operator> ( const unsigned int  a,
const Double b 
)
friend

◆ operator>= [1/7]

bool operator>= ( const Double a,
const Double b 
)
friend

◆ operator>= [2/7]

bool operator>= ( const Double a,
const double  b 
)
friend

◆ operator>= [3/7]

bool operator>= ( const Double a,
const int  b 
)
friend

◆ operator>= [4/7]

bool operator>= ( const Double a,
const unsigned int  b 
)
friend

◆ operator>= [5/7]

bool operator>= ( const double  a,
const Double b 
)
friend

◆ operator>= [6/7]

bool operator>= ( const int  a,
const Double b 
)
friend

◆ operator>= [7/7]

bool operator>= ( const unsigned int  a,
const Double b 
)
friend

◆ operator>> [1/2]

template<class Traits >
InStreamInterface< Traits > & operator>> ( InStreamInterface< Traits > &  in,
Double a 
)
friend

◆ operator>> [2/2]

std::istream & operator>> ( std ::istream &  in,
Double a 
)
friend

◆ pow [1/2]

double pow ( const Double v,
const Double p 
)
friend

◆ pow [2/2]

double pow ( const Double v,
const double  p 
)
friend

◆ real [1/2]

double real ( const Double x)
friend

◆ real [2/2]

double real ( const std::complex< Double > &  x)
friend

◆ sin

double sin ( const Double v)
friend

◆ sqrt

double sqrt ( const Double v)
friend

Member Data Documentation

◆ value_

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

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