Chombo + EB + MF  3.2
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
NormalDerivative< dim > Class Template Reference

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

#include <NormalDerivative.H>

Public Types

typedef IndexTM< int, dimIvDim
 
typedef IndexTM< Real, dimRvDim
 
typedef map< IvDim, int, LexLT
< IvDim > > 
DerivativeProduct
 
typedef pair
< DerivativeProduct, int > 
PartialDerivativeTerm
 

Public Member Functions

 NormalDerivative ()
 Null constructor. More...
 
virtual ~NormalDerivative ()
 Destructor. More...
 
virtual Real evaluate (const IvDim &a_multiIndex, const int &a_direction, const RvDim &a_point, const IFSlicer< dim > *a_ifSlicer)
 Evaluate derivatives of the normal of an IFSlicer class. More...
 
Real getMagnitudeOfGradient ()
 

Protected Member Functions

Real expand (const IvDim &a_multiIndex, const PartialDerivativeTerm &a_term, const RvDim &a_point, const IFSlicer< dim > *a_ifSlicer) const
 

Protected Attributes

Real m_magnitudeOfGradient
 

Private Member Functions

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

Detailed Description

template<int dim>
class NormalDerivative< 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

Member Typedef Documentation

template<int dim>
typedef IndexTM<int,dim> NormalDerivative< dim >::IvDim
template<int dim>
typedef IndexTM<Real,dim> NormalDerivative< dim >::RvDim
template<int dim>
typedef map<IvDim,int,LexLT<IvDim> > NormalDerivative< dim >::DerivativeProduct
template<int dim>
typedef pair<DerivativeProduct,int> NormalDerivative< dim >::PartialDerivativeTerm

Constructor & Destructor Documentation

template<int dim>
NormalDerivative< dim >::NormalDerivative ( )

Null constructor.

Null constructor

template<int dim>
NormalDerivative< dim >::~NormalDerivative ( )
virtual

Destructor.

Destructor

template<int dim>
NormalDerivative< dim >::NormalDerivative ( const NormalDerivative< dim > &  a_input)
inlineprivate

References MayDay::Abort().

Member Function Documentation

template<int dim>
Real NormalDerivative< dim >::evaluate ( const IvDim a_multiIndex,
const int &  a_direction,
const RvDim a_point,
const IFSlicer< dim > *  a_ifSlicer 
)
virtual

Evaluate derivatives of the normal of an IFSlicer class.

Evaluate a derivative of the normal, a_multiIndex specifies how many derivatives to take in each coordinate direction, 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, and IFSlicer< dim >::value().

Referenced by DivNormalRefinement< dim >::approximateDivNormal().

template<int dim>
Real NormalDerivative< dim >::getMagnitudeOfGradient ( )
template<int dim>
Real NormalDerivative< dim >::expand ( const IvDim a_multiIndex,
const PartialDerivativeTerm a_term,
const RvDim a_point,
const IFSlicer< dim > *  a_ifSlicer 
) const
protected

References dim, and IFSlicer< dim >::value().

template<int dim>
void NormalDerivative< dim >::operator= ( const NormalDerivative< dim > &  a_input)
inlineprivate

References MayDay::Abort().

Member Data Documentation

template<int dim>
Real NormalDerivative< dim >::m_magnitudeOfGradient
protected

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