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

#include <d2o2.hpp>

Public Types

enum  stencil { LEFT =0, LEFT_BIASED =1, RIGHT_BIASED =2, RIGHT =3 }
 

Public Member Functions

 d2o2 ()
 
 d2o2 (const stencil &s)
 
 d2o2 (const d2o2< data__ > &d)
 
 ~d2o2 ()
 
void set_stencil (const stencil &s)
 
const stencilget_stencil () const
 
int order (bool) 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__ &phi4, const data__ &dx) const
 
template<typename __itx >
int truncation_error (data__ &te, const data__ &phi4, __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::d2o2::stencil
Enumerator
LEFT 
LEFT_BIASED 
RIGHT_BIASED 
RIGHT 

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename data__>
template<typename __itc , typename __itphi >
data__ eli::mutil::fd::d2o2< 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::d2o2< data__ >::coefficients ( __itc  itc,
const data__ &  dx 
) const
inline
template<typename data__>
template<typename __itc , typename __itx >
int eli::mutil::fd::d2o2< 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::d2o2< 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::d2o2< 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::d2o2< data__ >::get_stencil ( ) const
inline
template<typename data__>
template<typename __iti >
std::ptrdiff_t eli::mutil::fd::d2o2< data__ >::index ( __iti  iti) const
inline
template<typename data__>
size_t eli::mutil::fd::d2o2< data__ >::number_nodes ( ) const
inline
template<typename data__>
int eli::mutil::fd::d2o2< data__ >::order ( bool  ) const
inline
template<typename data__>
void eli::mutil::fd::d2o2< data__ >::set_stencil ( const stencil s)
inline
template<typename data__>
int eli::mutil::fd::d2o2< data__ >::truncation_error ( data__ &  te,
const data__ &  phi4,
const data__ &  dx 
) const
inline
template<typename data__>
template<typename __itx >
int eli::mutil::fd::d2o2< data__ >::truncation_error ( data__ &  te,
const data__ &  phi4,
__itx  itx 
) const
inline

Here is the call graph for this function:

Member Data Documentation

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

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