Code-Eli  0.3.6
eli::mutil::fd::d2o1< data__ > Class Template Reference

#include <d2o1.hpp>

Public Types

enum  stencil { LEFT =0, CENTER =1, RIGHT =2 }
 

Public Member Functions

 d2o1 ()
 
 d2o1 (const stencil &s)
 
 d2o1 (const d2o1< data__ > &d)
 
 ~d2o1 ()
 
void set_stencil (const stencil &s)
 
const stencilget_stencil () const
 
int order (bool uniform) const
 
size_t number_nodes () const
 
template<typename iti__ >
std::ptrdiff_t index (iti__ iti) const
 
template<typename itphi__ >
int evaluate (data__ &d, itphi__ itphi, const data__ &dx) const
 
template<typename itphi__ , typename itx__ >
int evaluate (data__ &d, itphi__ itphi, itx__ itx) const
 
template<typename itc__ >
int coefficients (itc__ itc, const data__ &dx) const
 
template<typename itc__ , typename itx__ >
int coefficients (itc__ itc, itx__ itx) const
 
int truncation_error (data__ &te, const data__ &phi3, const data__ &dx) const
 
template<typename itx__ >
int truncation_error (data__ &te, const data__ &phi3, itx__ itx) const
 

Protected Member Functions

template<typename itc__ , typename itphi__ >
data__ calculate_dot (itc__ a, itphi__ itphi) const
 

Private Attributes

const size_t nnodes
 
const int n_order
 
stencil st
 

Member Enumeration Documentation

template<typename data__>
enum eli::mutil::fd::d2o1::stencil
Enumerator
LEFT 
CENTER 
RIGHT 

Constructor & Destructor Documentation

template<typename data__>
eli::mutil::fd::d2o1< data__ >::d2o1 ( )
inline
template<typename data__>
eli::mutil::fd::d2o1< data__ >::d2o1 ( const stencil s)
inline
template<typename data__>
eli::mutil::fd::d2o1< data__ >::d2o1 ( const d2o1< data__ > &  d)
inline
template<typename data__>
eli::mutil::fd::d2o1< data__ >::~d2o1 ( )
inline

Member Function Documentation

template<typename data__>
template<typename itc__ , typename itphi__ >
data__ eli::mutil::fd::d2o1< data__ >::calculate_dot ( itc__  a,
itphi__  itphi 
) const
inlineprotected

Here is the call graph for this function:

template<typename data__>
template<typename itc__ >
int eli::mutil::fd::d2o1< data__ >::coefficients ( itc__  itc,
const data__ &  dx 
) const
inline
template<typename data__>
template<typename itc__ , typename itx__ >
int eli::mutil::fd::d2o1< data__ >::coefficients ( itc__  itc,
itx__  itx 
) const
inline

Here is the call graph for this function:

template<typename data__>
template<typename itphi__ >
int eli::mutil::fd::d2o1< data__ >::evaluate ( data__ &  d,
itphi__  itphi,
const data__ &  dx 
) const
inline

Here is the call graph for this function:

template<typename data__>
template<typename itphi__ , typename itx__ >
int eli::mutil::fd::d2o1< data__ >::evaluate ( data__ &  d,
itphi__  itphi,
itx__  itx 
) const
inline

Here is the call graph for this function:

template<typename data__>
const stencil& eli::mutil::fd::d2o1< data__ >::get_stencil ( ) const
inline
template<typename data__>
template<typename iti__ >
std::ptrdiff_t eli::mutil::fd::d2o1< data__ >::index ( iti__  iti) const
inline
template<typename data__>
size_t eli::mutil::fd::d2o1< data__ >::number_nodes ( ) const
inline
template<typename data__>
int eli::mutil::fd::d2o1< data__ >::order ( bool  uniform) const
inline
template<typename data__>
void eli::mutil::fd::d2o1< data__ >::set_stencil ( const stencil s)
inline
template<typename data__>
int eli::mutil::fd::d2o1< data__ >::truncation_error ( data__ &  te,
const data__ &  phi3,
const data__ &  dx 
) const
inline
template<typename data__>
template<typename itx__ >
int eli::mutil::fd::d2o1< data__ >::truncation_error ( data__ &  te,
const data__ &  phi3,
itx__  itx 
) const
inline

Here is the call graph for this function:

Member Data Documentation

template<typename data__>
const int eli::mutil::fd::d2o1< data__ >::n_order
private
template<typename data__>
const size_t eli::mutil::fd::d2o1< data__ >::nnodes
private
template<typename data__>
stencil eli::mutil::fd::d2o1< data__ >::st
private

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