COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Namespaces | Classes | Functions | Variables
cf3::math Namespace Reference

Basic Classes for Mathematical applications used by COOLFluiD. More...

Namespaces

 Checks
 Static functions for checking Real numbers.
 
 Consts
 Static functions for mathematical constants.
 
 Functions
 Static functions for various useful operations.
 
 LSS
 

Classes

class  AnalyticalFunction
 
class  BoundingBox
 Bounding box defined by minimum and maximum coordinates. More...
 
class  BracketMethod
 
class  Brent
 
class  Dbrent
 
class  FloatingPoint
 
class  Golden
 
class  Hilbert
 Class to compute a global index given a coordinate, based on the Hilbert Spacefilling Curve. More...
 
class  Integrate
 
class  LibMath
 
struct  OutOfBounds
 Exception thrown when a certain value is not found in a storage or container. More...
 
class  VariableManager
 
class  VariablesDescriptor
 
class  VectorialFunction
 
struct  ZeroDeterminant
 Exception thrown when a Zero determinant matrix is found. More...
 

Functions

std::ostream & operator<< (std::ostream &os, const VariablesDescriptor::Dimensionalities::Type &in)
 
std::istream & operator>> (std::istream &is, VariablesDescriptor::Dimensionalities::Type &in)
 
Conversions to std::vector<Real>
void copy (const std::vector< Real > &vector, RealMatrix &realmatrix)
 Copy std::vector to dynamic RealMatrix types. More...
 
void copy (const RealMatrix &realmatrix, std::vector< Real > &vector)
 Copy dynamic RealMatrix types to std::vector. More...
 
template<Uint ROWS, Uint COLS>
void copy (const std::vector< Real > &vector, Eigen::Matrix< Real, ROWS, COLS > &realmatrix)
 Copy std::vector to static RealMatrix types. More...
 
template<Uint ROWS, Uint COLS>
void copy (const Eigen::Matrix< Real, ROWS, COLS > &realmatrix, std::vector< Real > &vector)
 Copy static RealMatrix types to std::vector. More...
 
void copy (const std::vector< Real > &vector, RealVector &realvector)
 Copy std::vector to dynamic RealVector. More...
 
void copy (const RealVector &realvector, std::vector< Real > &vector)
 Copy dynamic RealVector to std::vector. More...
 
template<Uint ROWS>
void copy (const std::vector< Real > &vector, Eigen::Matrix< Real, ROWS, 1 > &realvector)
 Copy std::vector to static RealVector types. More...
 
template<Uint ROWS>
void copy (const Eigen::Matrix< Real, ROWS, 1 > &realvector, std::vector< Real > &vector)
 Copy static RealVector types to std::vector. More...
 
void copy (const std::vector< Real > &vector, RealRowVector &realrowvector)
 Copy std::vector to dynamic RealVector. More...
 
void copy (const RealRowVector &realrowvector, std::vector< Real > &vector)
 Copy dynamic RealVector to std::vector. More...
 
template<Uint COLS>
void copy (const std::vector< Real > &vector, Eigen::Matrix< Real, 1, COLS > &realrowvector)
 Copy std::vector to static RealVector types. More...
 
template<Uint COLS>
void copy (const Eigen::Matrix< Real, 1, COLS > &realrowvector, std::vector< Real > &vector)
 Copy static RealVector types to std::vector. More...
 

Variables

cf3::common::RegistLibrary< LibMathlibMath
 
common::ComponentBuilder< VariableManager, Component, LibMathVariableManager_Builder
 
ComponentBuilder< VariablesDescriptor, Component, LibMathVariablesDescriptor_Builder
 

Conversions to boost::multi_array<Real,2> rows

typedef boost::detail::multi_array::sub_array< Real, 1 > boost_row_t
 shortcut typedef More...
 
typedef const boost::detail::multi_array::const_sub_array< Real, 1 > boost_constrow_t
 shortcut typedef More...
 
void copy (const boost_constrow_t &vector, RealVector &realvector)
 Copy boost_constrow_t to dynamic RealVector types. More...
 
void copy (const RealVector &realvector, boost_row_t &vector)
 Copy dynamic RealVector types to boost_row_t. More...
 

Detailed Description

Basic Classes for Mathematical applications used by COOLFluiD.

Typedef Documentation

typedef const boost::detail::multi_array::const_sub_array<Real,1> boost_constrow_t

shortcut typedef

Definition at line 78 of file MatrixTypesConversion.hpp.

typedef boost::detail::multi_array::sub_array<Real,1> boost_row_t

shortcut typedef

Definition at line 76 of file MatrixTypesConversion.hpp.

Function Documentation

void copy ( const std::vector< Real > &  vector,
RealMatrix realmatrix 
)
inline

Copy std::vector to dynamic RealMatrix types.

Definition at line 88 of file MatrixTypesConversion.hpp.

void copy ( const RealMatrix realmatrix,
std::vector< Real > &  vector 
)
inline

Copy dynamic RealMatrix types to std::vector.

Definition at line 102 of file MatrixTypesConversion.hpp.

void copy ( const std::vector< Real > &  vector,
Eigen::Matrix< Real, ROWS, COLS > &  realmatrix 
)
inline

Copy std::vector to static RealMatrix types.

Definition at line 117 of file MatrixTypesConversion.hpp.

void copy ( const Eigen::Matrix< Real, ROWS, COLS > &  realmatrix,
std::vector< Real > &  vector 
)
inline

Copy static RealMatrix types to std::vector.

Definition at line 132 of file MatrixTypesConversion.hpp.

void copy ( const std::vector< Real > &  vector,
RealVector realvector 
)
inline

Copy std::vector to dynamic RealVector.

Definition at line 146 of file MatrixTypesConversion.hpp.

void copy ( const RealVector realvector,
std::vector< Real > &  vector 
)
inline

Copy dynamic RealVector to std::vector.

Definition at line 157 of file MatrixTypesConversion.hpp.

void copy ( const std::vector< Real > &  vector,
Eigen::Matrix< Real, ROWS, 1 > &  realvector 
)
inline

Copy std::vector to static RealVector types.

Definition at line 169 of file MatrixTypesConversion.hpp.

void copy ( const Eigen::Matrix< Real, ROWS, 1 > &  realvector,
std::vector< Real > &  vector 
)
inline

Copy static RealVector types to std::vector.

Definition at line 181 of file MatrixTypesConversion.hpp.

void cf3::math::copy ( const std::vector< Real > &  vector,
RealRowVector realrowvector 
)

Copy std::vector to dynamic RealVector.

void cf3::math::copy ( const RealRowVector realrowvector,
std::vector< Real > &  vector 
)

Copy dynamic RealVector to std::vector.

void cf3::math::copy ( const std::vector< Real > &  vector,
Eigen::Matrix< Real, 1, COLS > &  realrowvector 
)

Copy std::vector to static RealVector types.

void cf3::math::copy ( const Eigen::Matrix< Real, 1, COLS > &  realrowvector,
std::vector< Real > &  vector 
)

Copy static RealVector types to std::vector.

void copy ( const boost_constrow_t vector,
RealVector realvector 
)
inline

Copy boost_constrow_t to dynamic RealVector types.

Definition at line 192 of file MatrixTypesConversion.hpp.

void copy ( const RealVector realvector,
boost_row_t vector 
)
inline

Copy dynamic RealVector types to boost_row_t.

Definition at line 203 of file MatrixTypesConversion.hpp.

Math_API std::ostream & operator<< ( std::ostream &  os,
const VariablesDescriptor::Dimensionalities::Type in 
)

Definition at line 371 of file VariablesDescriptor.cpp.

Math_API std::istream & operator>> ( std::istream &  is,
VariablesDescriptor::Dimensionalities::Type in 
)

Definition at line 377 of file VariablesDescriptor.cpp.

Variable Documentation

Definition at line 14 of file LibMath.cpp.

Definition at line 30 of file VariableManager.cpp.

ComponentBuilder< VariablesDescriptor, Component, LibMath > VariablesDescriptor_Builder

Definition at line 34 of file VariablesDescriptor.cpp.

Send comments to:
COOLFluiD Web Admin