Overture  Version 25
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Protected Attributes | List of all members
InterpolateParameters Class Reference

#include <InterpolateParameters.h>

Collaboration diagram for InterpolateParameters:
Collaboration graph
[legend]

Public Types

enum  InterpolateType {
  defaultValue, polynomial, fullWeighting, nearestNeighbor,
  injection, numberOfInterpolateTypes
}
 
enum  InterpolateOffsetDirection { offsetInterpolateToLeft, offsetInterpolateToRight, numberOfInterpolateOffsetDirections }
 

Public Member Functions

 InterpolateParameters (const int numberFOfDimensions_=2, const bool debug_=LogicalFalse)
 
 ~InterpolateParameters ()
 
int interactivelySetParameters ()
 
void display () const
 
int get (const GenericDataBase &dir, const aString &name)
 
int put (GenericDataBase &dir, const aString &name) const
 
void setAmrRefinementRatio (const IntegerArray &amrRefinementRatio_)
 
void setNumberOfDimensions (const int numberOfDimensions_=defaultNumberOfDimensions)
 
void setInterpolateType (const InterpolateParameters::InterpolateType interpolateType_=InterpolateParameters::defaultInterpolateType)
 
void setInterpolateOrder (const int interpolateOrder_=InterpolateParameters::defaultInterpolateOrder)
 
void setGridCentering (const GridFunctionParameters::GridFunctionType gridCentering_=InterpolateParameters::defaultGridCentering)
 
void setUseGeneralInterpolationFormula (const bool TrueOrFalse=LogicalFalse)
 
int amrRefinementRatio (const int axis) const
 
GridFunctionParameters::GridFunctionType gridCentering () const
 
InterpolateType interpolateType () const
 
int interpolateOrder () const
 
int numberOfDimensions () const
 
bool useGeneralInterpolationFormula () const
 

Public Attributes

bool debug
 
NameList nl
 

Static Public Attributes

static const int defaultAmrRefinementRatio = 4
 
static const
GridFunctionParameters::GridFunctionType 
defaultGridCentering = GridFunctionParameters::vertexCentered
 
static const
InterpolateParameters::InterpolateType 
defaultInterpolateType = InterpolateParameters::polynomial
 
static const int defaultInterpolateOrder = 2
 
static const int defaultMaxRefinementRatio
 
static const int defaultNumberOfDimensions = 2
 
static const real coeffEps = REAL_EPSILON*100
 
static const
InterpolateOffsetDirection 
defaultInterpolateOffsetDirection
 

Protected Attributes

IntegerArray amrRefinementRatio__
 
int maxRefinementRatio__
 
int numberOfDimensions__
 
GridFunctionParameters::GridFunctionType gridCentering__
 
InterpolateType interpolateType__
 
int interpolateOrder__
 
bool useGeneralInterpolationFormula__
 

Member Enumeration Documentation

Enumerator
offsetInterpolateToLeft 
offsetInterpolateToRight 
numberOfInterpolateOffsetDirections 
Enumerator
defaultValue 
polynomial 
fullWeighting 
nearestNeighbor 
injection 
numberOfInterpolateTypes 

Constructor & Destructor Documentation

InterpolateParameters::InterpolateParameters ( const int  numberFOfDimensions_ = 2,
const bool  debug_ = LogicalFalse 
)
InterpolateParameters::~InterpolateParameters ( )

Member Function Documentation

int InterpolateParameters::amrRefinementRatio ( const int  axis) const
inline

References amrRefinementRatio__.

Referenced by Interpolate::initialize().

void InterpolateParameters::display ( ) const
int InterpolateParameters::get ( const GenericDataBase dir,
const aString name 
)
GridFunctionParameters::GridFunctionType InterpolateParameters::gridCentering ( ) const
inline

References gridCentering__.

Referenced by Interpolate::initialize().

int InterpolateParameters::interactivelySetParameters ( )
int InterpolateParameters::interpolateOrder ( ) const
inline

References interpolateOrder__.

Referenced by Interpolate::initialize().

InterpolateType InterpolateParameters::interpolateType ( ) const
inline

References interpolateType__.

Referenced by Interpolate::initialize().

int InterpolateParameters::numberOfDimensions ( ) const
inline

References numberOfDimensions__.

Referenced by Interpolate::initialize().

int InterpolateParameters::put ( GenericDataBase dir,
const aString name 
) const
void InterpolateParameters::setAmrRefinementRatio ( const IntegerArray amrRefinementRatio_)
void InterpolateParameters::setGridCentering ( const GridFunctionParameters::GridFunctionType  gridCentering_ = InterpolateParameters::defaultGridCentering)

References gridCentering__.

Referenced by InterpolateParameters().

void InterpolateParameters::setInterpolateOrder ( const int  interpolateOrder_ = InterpolateParameters::defaultInterpolateOrder)
void InterpolateParameters::setInterpolateType ( const InterpolateParameters::InterpolateType  interpolateType_ = InterpolateParameters::defaultInterpolateType)
void InterpolateParameters::setNumberOfDimensions ( const int  numberOfDimensions_ = defaultNumberOfDimensions)

References numberOfDimensions__.

Referenced by InterpolateParameters().

void InterpolateParameters::setUseGeneralInterpolationFormula ( const bool  TrueOrFalse = LogicalFalse)
bool InterpolateParameters::useGeneralInterpolationFormula ( ) const
inline

Member Data Documentation

IntegerArray InterpolateParameters::amrRefinementRatio__
protected
const real InterpolateParameters::coeffEps = REAL_EPSILON*100
static
bool InterpolateParameters::debug
const int InterpolateParameters::defaultAmrRefinementRatio = 4
static

Referenced by setAmrRefinementRatio().

const GridFunctionParameters::GridFunctionType InterpolateParameters::defaultGridCentering = GridFunctionParameters::vertexCentered
static
const InterpolateParameters::InterpolateOffsetDirection InterpolateParameters::defaultInterpolateOffsetDirection
static
Initial value:
const int InterpolateParameters::defaultInterpolateOrder = 2
static

Referenced by Interpolate::initialize().

const InterpolateParameters::InterpolateType InterpolateParameters::defaultInterpolateType = InterpolateParameters::polynomial
static

Referenced by setInterpolateType().

const int InterpolateParameters::defaultMaxRefinementRatio
static
const int InterpolateParameters::defaultNumberOfDimensions = 2
static
GridFunctionParameters::GridFunctionType InterpolateParameters::gridCentering__
protected
int InterpolateParameters::interpolateOrder__
protected
InterpolateType InterpolateParameters::interpolateType__
protected
int InterpolateParameters::maxRefinementRatio__
protected
NameList InterpolateParameters::nl
int InterpolateParameters::numberOfDimensions__
protected
bool InterpolateParameters::useGeneralInterpolationFormula__
protected

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