Chombo + EB
3.2
|
This computes the derivatives of the normal of a sliced implicit function. More...
#include <NormalDerivativeNew.H>
Public Types | |
typedef IndexTM< int, dim > | IvDim |
typedef IndexTM< Real, dim > | RvDim |
typedef map< IvDim, Real, LexLT< IvDim > > | ScalarPowerMap |
typedef map< IvDim, RvDim, LexLT< IvDim > > | NormalDerivativeMap |
Public Member Functions | |
NormalDerivativeNew () | |
Null constructor. More... | |
virtual | ~NormalDerivativeNew () |
Destructor. More... | |
Real | normal (const int &a_direction, const RvDim &a_point, const IFSlicer< dim > *a_implicitFunction) const |
Evaluate the normal of a BaseIF subclass. More... | |
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. More... | |
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) |
This computes the derivatives of the normal of a sliced implicit function.
This computes the derivatives of the normal of a sliced implicit function
typedef IndexTM<int,dim> NormalDerivativeNew< dim >::IvDim |
typedef map<IvDim,Real,LexLT<IvDim> > NormalDerivativeNew< dim >::ScalarPowerMap |
typedef map<IvDim,RvDim,LexLT<IvDim> > NormalDerivativeNew< dim >::NormalDerivativeMap |
NormalDerivativeNew< dim >::NormalDerivativeNew | ( | ) |
Null constructor.
Null constructor
|
virtual |
Destructor.
Destructor
|
inlineprivate |
References MayDay::Abort().
|
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< Real, dim >::Zero, and IntVect::Zero.
Referenced by IFData< dim >::setNormalDerivatives().
|
inlineprotected |
References BoxIterator::begin(), dim, BoxIterator::ok(), IntVect::Unit, IFSlicer< dim >::value(), and IntVect::Zero.
Referenced by NormalDerivativeNew< dim >::calculateAll().
|
inlineprotected |
References dim, NormalDerivativeNew< dim >::nChoosek(), and IndexTM< T, N >::Zero.
Referenced by NormalDerivativeNew< dim >::calculateAll().
|
inlineprotected |
References dim, NormalDerivativeNew< dim >::nChoosek(), IndexTM< T, N >::Zero, and IndexTM< Real, dim >::Zero.
Referenced by NormalDerivativeNew< dim >::calculateAll().
|
inlinestaticprotected |
References CH_assert, dim, and IndexTM< T, N >::Zero.
Referenced by NormalDerivativeNew< dim >::addLDeriv(), and NormalDerivativeNew< dim >::addNDeriv().
|
inlineprivate |
References MayDay::Abort().