Chombo + EB + MF  3.2
Public Member Functions | Protected Member Functions | Private Attributes | Static Private Attributes | List of all members
Spline1DMapping Class Reference

#include <Spline1DMapping.H>

Public Member Functions

 Spline1DMapping ()
 
 ~Spline1DMapping ()
 
 Spline1DMapping (Vector< Real > &a_points)
 
void readParmParseInputs ()
 
void print ()
 
const RealgetPoints ()
 
int getNumPoints ()
 
Real getValue (const Real a_xi)
 
Real getDerivative (const Real a_xi)
 
void buildFromPoints (Vector< Real > &a_newPoints)
 
void reinterpolate (int a_newNumPoints)
 

Protected Member Functions

void tridiagonal (Vector< Real > &a_lower, Vector< Real > &a_diag, Vector< Real > &a_upper, Vector< Real > &a_rhs)
 
void buildSpline ()
 

Private Attributes

Real m_tol
 
int m_verbosity
 
int m_numPoints
 
Realm_ptrPoints
 
Vector< Realm_points
 
Vector< Realm_deriv1
 
Vector< Realm_deriv2
 
Vector< Realm_deriv3
 

Static Private Attributes

static const int s_order
 

Constructor & Destructor Documentation

Spline1DMapping::Spline1DMapping ( )
Spline1DMapping::~Spline1DMapping ( )
Spline1DMapping::Spline1DMapping ( Vector< Real > &  a_points)

Member Function Documentation

void Spline1DMapping::readParmParseInputs ( )
void Spline1DMapping::print ( )
const Real* Spline1DMapping::getPoints ( )
int Spline1DMapping::getNumPoints ( )
Real Spline1DMapping::getValue ( const Real  a_xi)

Using the spline to interpolate at [0,1]

Real Spline1DMapping::getDerivative ( const Real  a_xi)

Using the spline to interpolate a derivative at [0,1]

void Spline1DMapping::buildFromPoints ( Vector< Real > &  a_newPoints)
void Spline1DMapping::reinterpolate ( int  a_newNumPoints)

Reinterpolates this mapping to a new size, using the existing spline to interpolate new values.

void Spline1DMapping::tridiagonal ( Vector< Real > &  a_lower,
Vector< Real > &  a_diag,
Vector< Real > &  a_upper,
Vector< Real > &  a_rhs 
)
protected
void Spline1DMapping::buildSpline ( )
protected

Member Data Documentation

Real Spline1DMapping::m_tol
private
int Spline1DMapping::m_verbosity
private
int Spline1DMapping::m_numPoints
private
const int Spline1DMapping::s_order
staticprivate
Real* Spline1DMapping::m_ptrPoints
private
Vector<Real> Spline1DMapping::m_points
private
Vector<Real> Spline1DMapping::m_deriv1
private
Vector<Real> Spline1DMapping::m_deriv2
private
Vector<Real> Spline1DMapping::m_deriv3
private

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