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

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

#include <NormalDerivative.H>

Public Types

typedef IndexTM< int, GLOBALDIMIvDim
 
typedef IndexTM< Real, GLOBALDIMRvDim
 
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 BaseIF &a_impFunc)
 Evaluate derivatives of the normal of a BaseIF subclass. More...
 
virtual Real evaluate (const IvDim &a_multiIndex, const int &a_direction, const RvDim &a_point, const IFSlicer< GLOBALDIM > *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< GLOBALDIM > *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<>
class NormalDerivative< GLOBALDIM >

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

This computes the derivatives of the normal of a sliced implicit function. Specialization so an additional method can be defined.

Member Typedef Documentation

◆ IvDim

◆ RvDim

◆ DerivativeProduct

◆ PartialDerivativeTerm

Constructor & Destructor Documentation

◆ NormalDerivative() [1/2]

Null constructor.

Null constructor

◆ ~NormalDerivative()

virtual NormalDerivative< GLOBALDIM >::~NormalDerivative ( )
virtual

Destructor.

Destructor

◆ NormalDerivative() [2/2]

NormalDerivative< GLOBALDIM >::NormalDerivative ( const NormalDerivative< GLOBALDIM > &  a_input)
inlineprivate

References MayDay::Abort().

Member Function Documentation

◆ evaluate() [1/2]

virtual Real NormalDerivative< GLOBALDIM >::evaluate ( const IvDim a_multiIndex,
const int &  a_direction,
const RvDim a_point,
const BaseIF a_impFunc 
)
virtual

Evaluate derivatives of the normal of a BaseIF subclass.

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_impFunc is a function whose gradient is the normal.

◆ evaluate() [2/2]

virtual Real NormalDerivative< GLOBALDIM >::evaluate ( const IvDim a_multiIndex,
const int &  a_direction,
const RvDim a_point,
const IFSlicer< GLOBALDIM > *  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.

◆ getMagnitudeOfGradient()

Real NormalDerivative< GLOBALDIM >::getMagnitudeOfGradient ( )

◆ expand()

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

◆ operator=()

void NormalDerivative< GLOBALDIM >::operator= ( const NormalDerivative< GLOBALDIM > &  a_input)
inlineprivate

References MayDay::Abort().

Member Data Documentation

◆ m_magnitudeOfGradient

Real NormalDerivative< GLOBALDIM >::m_magnitudeOfGradient
protected

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