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() [1/2]

Spline1DMapping::Spline1DMapping ( )

◆ ~Spline1DMapping()

Spline1DMapping::~Spline1DMapping ( )

◆ Spline1DMapping() [2/2]

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

Member Function Documentation

◆ readParmParseInputs()

void Spline1DMapping::readParmParseInputs ( )

◆ print()

void Spline1DMapping::print ( )

◆ getPoints()

const Real* Spline1DMapping::getPoints ( )

◆ getNumPoints()

int Spline1DMapping::getNumPoints ( )

◆ getValue()

Real Spline1DMapping::getValue ( const Real  a_xi)

Using the spline to interpolate at [0,1]

◆ getDerivative()

Real Spline1DMapping::getDerivative ( const Real  a_xi)

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

◆ buildFromPoints()

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

◆ reinterpolate()

void Spline1DMapping::reinterpolate ( int  a_newNumPoints)

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

◆ tridiagonal()

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

◆ buildSpline()

void Spline1DMapping::buildSpline ( )
protected

Member Data Documentation

◆ m_tol

Real Spline1DMapping::m_tol
private

◆ m_verbosity

int Spline1DMapping::m_verbosity
private

◆ m_numPoints

int Spline1DMapping::m_numPoints
private

◆ s_order

const int Spline1DMapping::s_order
staticprivate

◆ m_ptrPoints

Real* Spline1DMapping::m_ptrPoints
private

◆ m_points

Vector<Real> Spline1DMapping::m_points
private

◆ m_deriv1

Vector<Real> Spline1DMapping::m_deriv1
private

◆ m_deriv2

Vector<Real> Spline1DMapping::m_deriv2
private

◆ m_deriv3

Vector<Real> Spline1DMapping::m_deriv3
private

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