COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Public Member Functions | Public Attributes | List of all members
DoArrayDiff Struct Reference

Public Member Functions

 DoArrayDiff (const Handle< Component const > &left, const Handle< Component const > &right, const Uint max_ulps, const Real zero_threshold, bool &found_type, bool &arrays_equal)
 
template<typename NumberT >
void operator() (const NumberT)
 
template<typename NumberT >
void compare_lists (boost::true_type, const List< NumberT > &left, const List< NumberT > &right)
 
template<typename NumberT >
void compare_lists (boost::false_type, const List< NumberT > &left, const List< NumberT > &right)
 
template<typename NumberT >
void compare_tables (boost::true_type, const Table< NumberT > &left, const Table< NumberT > &right)
 
template<typename NumberT >
void compare_tables (boost::false_type, const Table< NumberT > &left, const Table< NumberT > &right)
 
template<typename T >
Real compare_numbers (const T left, const T right)
 

Public Attributes

Handle< Component const > m_left
 
Handle< Component const > m_right
 
const Uint m_max_ulps
 
const Real m_zero_threshold
 
bool & m_found_type
 
bool & m_arrays_equal
 
std::string m_prefix
 

Detailed Description

Definition at line 36 of file ArrayDiff.cpp.

Constructor & Destructor Documentation

DoArrayDiff ( const Handle< Component const > &  left,
const Handle< Component const > &  right,
const Uint  max_ulps,
const Real  zero_threshold,
bool &  found_type,
bool &  arrays_equal 
)
inline

Definition at line 38 of file ArrayDiff.cpp.

Member Function Documentation

void compare_lists ( boost::true_type  ,
const List< NumberT > &  left,
const List< NumberT > &  right 
)
inline

Definition at line 89 of file ArrayDiff.cpp.

void compare_lists ( boost::false_type  ,
const List< NumberT > &  left,
const List< NumberT > &  right 
)
inline

Definition at line 106 of file ArrayDiff.cpp.

Real compare_numbers ( const T  left,
const T  right 
)
inline

Definition at line 167 of file ArrayDiff.cpp.

void compare_tables ( boost::true_type  ,
const Table< NumberT > &  left,
const Table< NumberT > &  right 
)
inline

Definition at line 122 of file ArrayDiff.cpp.

void compare_tables ( boost::false_type  ,
const Table< NumberT > &  left,
const Table< NumberT > &  right 
)
inline

Definition at line 145 of file ArrayDiff.cpp.

void operator() ( const NumberT  )
inline

Definition at line 50 of file ArrayDiff.cpp.

Member Data Documentation

bool& m_arrays_equal

Definition at line 184 of file ArrayDiff.cpp.

bool& m_found_type

Definition at line 183 of file ArrayDiff.cpp.

Handle<Component const> m_left

Definition at line 178 of file ArrayDiff.cpp.

const Uint m_max_ulps

Definition at line 180 of file ArrayDiff.cpp.

std::string m_prefix

Definition at line 186 of file ArrayDiff.cpp.

Handle<Component const> m_right

Definition at line 179 of file ArrayDiff.cpp.

const Real m_zero_threshold

Definition at line 181 of file ArrayDiff.cpp.


The documentation for this struct was generated from the following file:
Send comments to:
COOLFluiD Web Admin