OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | Private Member Functions | Private Attributes | List of all members
FieldDebugPrint< T, Dim > Class Template Reference

#include <FieldDebugPrint.h>

Public Member Functions

 FieldDebugPrint (bool printbc=false, unsigned int dataWidth=0, unsigned int dataPrecision=0, unsigned int carReturn=0, bool scientific=true)
 
 ~FieldDebugPrint ()
 
void print (BareField< T, Dim > &, const NDIndex< Dim > &, Inform &, bool=true)
 
void print (BareField< T, Dim > &, Inform &, bool=true)
 
void print (BareField< T, Dim > &, const NDIndex< Dim > &, bool=true)
 
void print (BareField< T, Dim > &, bool=true)
 
void set_DataWidth (unsigned int in)
 
void set_DataPrecision (unsigned int in)
 
void set_CarReturn (unsigned int in)
 
void set_Scientific (bool in)
 
void set_PrintBC (bool in)
 
unsigned int get_DataWidth () const
 
unsigned int get_DataPrecision () const
 
unsigned int get_CarReturn () const
 
bool get_Scientific () const
 
bool get_PrintBC () const
 

Private Member Functions

void printelem (bool, T &, unsigned int, Inform &)
 

Private Attributes

unsigned int DataWidth
 
unsigned int DataPrecision
 
unsigned int CarReturn
 
bool Scientific
 
bool PrintBC
 

Detailed Description

template<class T, unsigned Dim>
class FieldDebugPrint< T, Dim >

Definition at line 21 of file FieldDebugPrint.h.

Constructor & Destructor Documentation

template<class T, unsigned Dim>
FieldDebugPrint< T, Dim >::FieldDebugPrint ( bool  printbc = false,
unsigned int  dataWidth = 0,
unsigned int  dataPrecision = 0,
unsigned int  carReturn = 0,
bool  scientific = true 
)
inline

Definition at line 27 of file FieldDebugPrint.h.

template<class T, unsigned Dim>
FieldDebugPrint< T, Dim >::~FieldDebugPrint ( )
inline

Definition at line 34 of file FieldDebugPrint.h.

Member Function Documentation

template<class T, unsigned Dim>
unsigned int FieldDebugPrint< T, Dim >::get_CarReturn ( ) const
inline

Definition at line 55 of file FieldDebugPrint.h.

References FieldDebugPrint< T, Dim >::CarReturn.

template<class T, unsigned Dim>
unsigned int FieldDebugPrint< T, Dim >::get_DataPrecision ( ) const
inline

Definition at line 54 of file FieldDebugPrint.h.

References FieldDebugPrint< T, Dim >::DataPrecision.

template<class T, unsigned Dim>
unsigned int FieldDebugPrint< T, Dim >::get_DataWidth ( ) const
inline

Definition at line 53 of file FieldDebugPrint.h.

References FieldDebugPrint< T, Dim >::DataWidth.

template<class T, unsigned Dim>
bool FieldDebugPrint< T, Dim >::get_PrintBC ( ) const
inline

Definition at line 57 of file FieldDebugPrint.h.

References FieldDebugPrint< T, Dim >::PrintBC.

template<class T, unsigned Dim>
bool FieldDebugPrint< T, Dim >::get_Scientific ( ) const
inline

Definition at line 56 of file FieldDebugPrint.h.

References FieldDebugPrint< T, Dim >::Scientific.

template<class T , unsigned Dim>
void FieldDebugPrint< T, Dim >::print ( BareField< T, Dim > &  F,
const NDIndex< Dim > &  view,
Inform out,
bool  allnodes = true 
)
template<class T , unsigned Dim>
void FieldDebugPrint< T, Dim >::print ( BareField< T, Dim > &  F,
Inform out,
bool  allnodes = true 
)

Definition at line 47 of file FieldDebugPrint.hpp.

References AddGuardCells(), BareField< T, Dim >::getDomain(), and BareField< T, Dim >::getGuardCellSizes().

Here is the call graph for this function:

template<class T , unsigned Dim>
void FieldDebugPrint< T, Dim >::print ( BareField< T, Dim > &  F,
const NDIndex< Dim > &  view,
bool  allnodes = true 
)

Definition at line 73 of file FieldDebugPrint.hpp.

template<class T , unsigned Dim>
void FieldDebugPrint< T, Dim >::print ( BareField< T, Dim > &  F,
bool  allnodes = true 
)

Definition at line 60 of file FieldDebugPrint.hpp.

References AddGuardCells(), BareField< T, Dim >::getDomain(), and BareField< T, Dim >::getGuardCellSizes().

Here is the call graph for this function:

template<class T , unsigned Dim>
void FieldDebugPrint< T, Dim >::printelem ( bool  isavail,
T val,
unsigned int  i0,
Inform out 
)
private

Definition at line 337 of file FieldDebugPrint.hpp.

References endl(), and Inform::setf().

Here is the call graph for this function:

template<class T, unsigned Dim>
void FieldDebugPrint< T, Dim >::set_CarReturn ( unsigned int  in)
inline

Definition at line 48 of file FieldDebugPrint.h.

References FieldDebugPrint< T, Dim >::CarReturn.

template<class T, unsigned Dim>
void FieldDebugPrint< T, Dim >::set_DataPrecision ( unsigned int  in)
inline

Definition at line 47 of file FieldDebugPrint.h.

References FieldDebugPrint< T, Dim >::DataPrecision.

template<class T, unsigned Dim>
void FieldDebugPrint< T, Dim >::set_DataWidth ( unsigned int  in)
inline

Definition at line 46 of file FieldDebugPrint.h.

References FieldDebugPrint< T, Dim >::DataWidth.

template<class T, unsigned Dim>
void FieldDebugPrint< T, Dim >::set_PrintBC ( bool  in)
inline

Definition at line 50 of file FieldDebugPrint.h.

References FieldDebugPrint< T, Dim >::PrintBC.

template<class T, unsigned Dim>
void FieldDebugPrint< T, Dim >::set_Scientific ( bool  in)
inline

Definition at line 49 of file FieldDebugPrint.h.

References FieldDebugPrint< T, Dim >::Scientific.

Member Data Documentation

template<class T, unsigned Dim>
unsigned int FieldDebugPrint< T, Dim >::CarReturn
private
template<class T, unsigned Dim>
unsigned int FieldDebugPrint< T, Dim >::DataPrecision
private
template<class T, unsigned Dim>
unsigned int FieldDebugPrint< T, Dim >::DataWidth
private
template<class T, unsigned Dim>
bool FieldDebugPrint< T, Dim >::PrintBC
private
template<class T, unsigned Dim>
bool FieldDebugPrint< T, Dim >::Scientific
private

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