SU2
Namespaces | Macros | Functions
complex_structure.inl File Reference

In-Line subroutines of the datatype_structure.hpp file. More...

Namespaces

 SU2_TYPE
 Namespace for defining the datatype wrapper routines; this class features as a base class for type interfaces for non-primitive dataypes e.g. used by AD, complex etc.
 

Macros

#define surr_TEENY
 

Functions

void SU2_TYPE::SetValue (su2double &data, const double &val)
 Set the (primitive) value of the datatype (needs to be implemented for each new type). More...
 
double SU2_TYPE::GetValue (const su2double &data)
 Get the (primitive) value of the datatype (needs to be implemented for each new type). More...
 
void SU2_TYPE::SetSecondary (su2double &data, const double &val)
 Set the secondary value of the datatype (needs to be implemented for each new type). More...
 
double SU2_TYPE::GetSecondary (const su2double &data)
 Get the secondary value of the datatype (needs to be implemented for each new type). More...
 
double SU2_TYPE::GetDerivative (const su2double &data)
 Get the derivative value of the datatype (needs to be implemented for each new type). More...
 
void SU2_TYPE::SetDerivative (su2double &data, const double &val)
 Set the derivative value of the datatype (needs to be implemented for each new type). More...
 
double real (const double &r)
 
template<typename T , typename Z >
bool operator== (const Z &lhs, const T &rhs)
 
template<typename T , typename Z >
bool operator!= (const Z &lhs, const T &rhs)
 
template<typename T , typename Z >
bool operator< (const Z &lhs, const T &rhs)
 
template<typename T , typename Z >
bool operator> (const Z &lhs, const T &rhs)
 
template<typename T , typename Z >
bool operator<= (const Z &lhs, const T &rhs)
 
template<typename T , typename Z >
bool operator>= (const Z &lhs, const T &rhs)
 
CComplexType min (const CComplexType &t, const CComplexType &z)
 
template<typename T >
CComplexType min (const T &t, const CComplexType &z)
 
template<typename T >
CComplexType min (const CComplexType &z, const T &t)
 
CComplexType max (const CComplexType &t, const CComplexType &z)
 
template<typename T >
CComplexType max (const T &t, const CComplexType &z)
 
template<typename T >
CComplexType max (const CComplexType &z, const T &t)
 
template<typename T >
CComplexType operator+ (const CComplexType &z, const T &t)
 
template<typename T >
CComplexType operator+ (const T &t, const CComplexType &z)
 
template<typename T >
CComplexType operator- (const CComplexType &z, const T &t)
 
template<typename T >
CComplexType operator- (const T &t, const CComplexType &z)
 
template<typename T >
CComplexType operator* (const CComplexType &z, const T &t)
 
template<typename T >
CComplexType operator* (const T &t, const CComplexType &z)
 
template<typename T >
CComplexType operator/ (const CComplexType &z, const T &t)
 
template<typename T >
CComplexType operator/ (const T &t, const CComplexType &z)
 
CComplexType sin (const CComplexType &z)
 
CComplexType sinh (const CComplexType &z)
 
CComplexType cos (const CComplexType &z)
 
CComplexType cosh (const CComplexType &z)
 
CComplexType tan (const CComplexType &z)
 
CComplexType tanh (const CComplexType &z)
 
CComplexType log10 (const CComplexType &z)
 
CComplexType log (const CComplexType &z)
 
CComplexType sqrt (const CComplexType &z)
 
CComplexType exp (const CComplexType &z)
 
CComplexType pow (const CComplexType &a, const CComplexType &b)
 
CComplexType pow (const CComplexType &a, const double &b)
 
CComplexType pow (const CComplexType &a, const int &b)
 
CComplexType pow (const double &a, const CComplexType &b)
 
CComplexType pow (const int &a, const CComplexType &b)
 
CComplexType fabs (const CComplexType &z)
 
CComplexType asin (const CComplexType &z)
 
CComplexType acos (const CComplexType &z)
 
CComplexType atan (const CComplexType &z)
 
CComplexType atan2 (const CComplexType &z1, const CComplexType &z2)
 
CComplexType ceil (const CComplexType &z)
 
CComplexType floor (const CComplexType &z)
 
CComplexType ldexp (const CComplexType &z, const int &i)
 
std::ostream & operator<< (std::ostream &out, const CComplexType &a)
 

Detailed Description

In-Line subroutines of the datatype_structure.hpp file.

Author
T. Albring
Version
5.0.0 "Raven"

SU2 Original Developers: Dr. Francisco D. Palacios. Dr. Thomas D. Economon.

SU2 Developers: Prof. Juan J. Alonso's group at Stanford University. Prof. Piero Colonna's group at Delft University of Technology. Prof. Nicolas R. Gauger's group at Kaiserslautern University of Technology. Prof. Alberto Guardone's group at Polytechnic University of Milan. Prof. Rafael Palacios' group at Imperial College London. Prof. Edwin van der Weide's group at the University of Twente. Prof. Vincent Terrapon's group at the University of Liege.

Copyright (C) 2012-2017 SU2, the open-source CFD code.

SU2 is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

SU2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with SU2. If not, see http://www.gnu.org/licenses/.

Macro Definition Documentation

§ surr_TEENY

#define surr_TEENY
Value:
(1.e-24) /* machine zero compared to nominal magnitude of
the real part */