MADNESS 0.10.1
WriteCoeffImpl< T, D > Class Template Reference
Inheritance diagram for WriteCoeffImpl< T, D >:
Collaboration diagram for WriteCoeffImpl< T, D >:

Public Member Functions

 WriteCoeffImpl (const int k, std::ostream &out)
 WriteCoeffImpl (const int k, std::ostream &out)
void operator() (const Key< D > &key, const Tensor< T > &t) const
void operator() (const Key< D > &key, const Tensor< T > &t) const
Public Member Functions inherited from madness::Mutex
 Mutex (int junk=0)
 Make and initialize a mutex ... initial state is unlocked.
virtual ~Mutex ()
void lock () const
 Acquire the mutex waiting if necessary.
pthread_mutex_t * ptr () const
 Return a pointer to the pthread mutex for use by a condition variable.
bool try_lock () const
 Try to acquire the mutex ... return true on success, false on failure.
void unlock () const
 Free a mutex owned by this thread.

Private Attributes

const int k
std::ostream & out

Constructor & Destructor Documentation

◆ WriteCoeffImpl() [1/2]

template<typename T, size_t D>
WriteCoeffImpl< T, D >::WriteCoeffImpl ( const int k,
std::ostream & out )
inline

References k, and out.

◆ WriteCoeffImpl() [2/2]

template<typename T, size_t D>
WriteCoeffImpl< T, D >::WriteCoeffImpl ( const int k,
std::ostream & out )
inline

References k, and out.

Member Function Documentation

◆ operator()() [1/2]

template<typename T, size_t D>
void WriteCoeffImpl< T, D >::operator() ( const Key< D > & key,
const Tensor< T > & t ) const
inline

References out.

◆ operator()() [2/2]

template<typename T, size_t D>
void WriteCoeffImpl< T, D >::operator() ( const Key< D > & key,
const Tensor< T > & t ) const
inline

References out.

Member Data Documentation

◆ k

template<typename T, size_t D>
const int WriteCoeffImpl< T, D >::k
private

Referenced by WriteCoeffImpl().

◆ out

template<typename T, size_t D>
std::ostream & WriteCoeffImpl< T, D >::out
private

Referenced by WriteCoeffImpl(), and operator()().


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