NormalDerivativeNew< dim > Class Template Reference

#include <NormalDerivativeNew.H>

List of all members.


Detailed Description

template<int dim>
class NormalDerivativeNew< dim >

This computes the derivatives of the normal of a sliced implicit function.

This computes the derivatives of the normal of a sliced implicit function

Public Types

typedef IndexTM< int, dimIvDim
typedef IndexTM< Real, dimRvDim
typedef map< IvDim, Real,
LexLT< IvDim > > 
ScalarPowerMap
typedef map< IvDim, RvDim,
LexLT< IvDim > > 
NormalDerivativeMap

Public Member Functions

 NormalDerivativeNew ()
 Null constructor.
virtual ~NormalDerivativeNew ()
 Destructor.
Real normal (const int &a_direction, const RvDim &a_point, const IFSlicer< dim > *a_implicitFunction) const
 Evaluate the normal of a BaseIF subclass.
NormalDerivativeMap calculateAll (const int &a_maxP, const RvDim &a_point, const IFSlicer< dim > *a_implicitFunction)
 Evaluate all derivatives of the normal of an IFSlicer class.

Protected Member Functions

void calculatePhiDerivs (ScalarPowerMap &a_phiDerivs, const RvDim &a_point, const IFSlicer< dim > *a_implicitFunction, const int &a_maxPartial)
void addLDeriv (ScalarPowerMap &a_lDerivs, ScalarPowerMap &a_phiDerivs, NormalDerivativeMap &a_nDerivs, const IvDim &a_deriv)
void addNDeriv (NormalDerivativeMap &a_nDerivs, ScalarPowerMap &a_phiDerivs, ScalarPowerMap &a_lDerivs, const IvDim &a_deriv)

Static Protected Member Functions

static int nChoosek (const IvDim &a_n, const IvDim &a_k)

Private Member Functions

 NormalDerivativeNew (const NormalDerivativeNew &a_input)
void operator= (const NormalDerivativeNew &a_input)


Member Typedef Documentation

template<int dim>
typedef IndexTM<int,dim> NormalDerivativeNew< dim >::IvDim

template<int dim>
typedef IndexTM<Real,dim> NormalDerivativeNew< dim >::RvDim

template<int dim>
typedef map<IvDim,Real,LexLT<IvDim> > NormalDerivativeNew< dim >::ScalarPowerMap

template<int dim>
typedef map<IvDim,RvDim,LexLT<IvDim> > NormalDerivativeNew< dim >::NormalDerivativeMap


Constructor & Destructor Documentation

template<int dim>
NormalDerivativeNew< dim >::NormalDerivativeNew (  )  [inline]

Null constructor.

Null constructor

template<int dim>
NormalDerivativeNew< dim >::~NormalDerivativeNew (  )  [inline, virtual]

Destructor.

Destructor

template<int dim>
NormalDerivativeNew< dim >::NormalDerivativeNew ( const NormalDerivativeNew< dim > &  a_input  )  [inline, private]

References MayDay::Abort().


Member Function Documentation

template<int dim>
Real NormalDerivativeNew< dim >::normal ( const int &  a_direction,
const RvDim a_point,
const IFSlicer< dim > *  a_implicitFunction 
) const [inline]

Evaluate the normal of a BaseIF subclass.

Evaluate the normal. a_direction specifies which component of the normal use, a_point is the point in space to evaluate the derivative, and a_ifSlicer is a sliced function whose gradient is the normal.

References dim.

template<int dim>
NormalDerivativeMap NormalDerivativeNew< dim >::calculateAll ( const int &  a_maxP,
const RvDim a_point,
const IFSlicer< dim > *  a_implicitFunction 
) [inline]

Evaluate all derivatives of the normal of an IFSlicer class.

Evaluate all derivatives of the normal, a_maxP specifies the max sum of derivatives to take in any coordinate direction, a_point is the point in space to evaluate the derivatives, and a_ifSlicer is a sliced function whose gradient is the normal.

References NormalDerivativeNew< dim >::addLDeriv(), NormalDerivativeNew< dim >::addNDeriv(), BoxIterator::begin(), NormalDerivativeNew< dim >::calculatePhiDerivs(), dim, BoxIterator::ok(), IndexTM< T, N >::sum(), IntVect::Unit, IndexTM< T, N >::Zero, and IntVect::Zero.

Referenced by IFData< dim >::setNormalDerivatives().

template<int dim>
void NormalDerivativeNew< dim >::calculatePhiDerivs ( ScalarPowerMap a_phiDerivs,
const RvDim a_point,
const IFSlicer< dim > *  a_implicitFunction,
const int &  a_maxPartial 
) [inline, protected]

template<int dim>
void NormalDerivativeNew< dim >::addLDeriv ( ScalarPowerMap a_lDerivs,
ScalarPowerMap a_phiDerivs,
NormalDerivativeMap a_nDerivs,
const IvDim a_deriv 
) [inline, protected]

template<int dim>
void NormalDerivativeNew< dim >::addNDeriv ( NormalDerivativeMap a_nDerivs,
ScalarPowerMap a_phiDerivs,
ScalarPowerMap a_lDerivs,
const IvDim a_deriv 
) [inline, protected]

template<int dim>
static int NormalDerivativeNew< dim >::nChoosek ( const IvDim a_n,
const IvDim a_k 
) [inline, static, protected]

template<int dim>
void NormalDerivativeNew< dim >::operator= ( const NormalDerivativeNew< dim > &  a_input  )  [inline, private]

References MayDay::Abort().


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

Generated on Fri Apr 5 04:25:13 2019 for Chombo + EB by  doxygen 1.5.5