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

#include <AssignInterpNeighbours.h>

Public Member Functions

 AssignInterpNeighbours ()
 Constructor for the class that assigns interpolation neighbours.
 
 AssignInterpNeighbours (const AssignInterpNeighbours &x)
 Copy constructor.
 
 ~AssignInterpNeighbours ()
 Destructor for the class that assigns interpolation neighbours.
 
int assign (realMappedGridFunction &uA, Range &C, const BoundaryConditionParameters &bcParams)
 Assign values to the unused points next to interpolation points.
 
int gridHasChanged ()
 Call this routine when the grid has changed and we need to re-initialize.
 
AssignInterpNeighboursoperator= (const AssignInterpNeighbours &x)
 operator =, deep copy.
 
void setInterpolationPoint (intArray &interpolationPoint)
 provide the interpolation point array, cg.interpolationPoint[grid],
 
real sizeOf (FILE *file=NULL) const
 Return size of this object.
 

Static Public Attributes

static int debug =0
 

Protected Types

enum  ErrorStatusEnum { noErrors =0, errorInFindInterpolationNeighbours }
 

Protected Member Functions

int setup ()
 Setup routine (protected)
 
int findInterpolationNeighbours (MappedGrid &mg)
 Find the unused points that need to be assigned.
 

Protected Attributes

enum
AssignInterpNeighbours::ErrorStatusEnum 
errorStatus
 
int isInitialized
 
int numberOfInterpolationNeighbours
 
int maximumWidthToExtrapolationInterpolationNeighbours
 
IntegerArrayextrapolateInterpolationNeighbourPoints
 
IntegerArrayextrapolateInterpolationNeighboursDirection
 
IntegerArrayextrapolateInterpolationNeighboursVariableWidth
 
intArray * interpolationPoint
 
int npr
 
int nps
 
int * ppr
 
int * pps
 
int * nar
 
int ** iar
 
int * nas
 
int ** ias
 
int AIN_COMM
 

Static Protected Attributes

static FILE * debugFile =NULL
 

Member Enumeration Documentation

Enumerator
noErrors 
errorInFindInterpolationNeighbours 

Constructor & Destructor Documentation

AssignInterpNeighbours::AssignInterpNeighbours ( )

Constructor for the class that assigns interpolation neighbours.

References setup().

AssignInterpNeighbours::AssignInterpNeighbours ( const AssignInterpNeighbours x)

Copy constructor.

References setup().

AssignInterpNeighbours::~AssignInterpNeighbours ( )

Member Function Documentation

int AssignInterpNeighbours::assign ( realMappedGridFunction uA,
Range &  C,
const BoundaryConditionParameters bcParams 
)
int AssignInterpNeighbours::findInterpolationNeighbours ( MappedGrid mg)
protected
int AssignInterpNeighbours::gridHasChanged ( )

Call this routine when the grid has changed and we need to re-initialize.

References isInitialized.

Referenced by MappedGridOperators::updateToMatchGrid().

AssignInterpNeighbours & AssignInterpNeighbours::operator= ( const AssignInterpNeighbours x)

operator =, deep copy.

References isInitialized.

void AssignInterpNeighbours::setInterpolationPoint ( intArray &  interpolationPoint)

provide the interpolation point array, cg.interpolationPoint[grid],

References interpolationPoint.

Referenced by MappedGridOperators::applyBoundaryCondition().

int AssignInterpNeighbours::setup ( )
protected
real AssignInterpNeighbours::sizeOf ( FILE *  file = NULL) const

Member Data Documentation

int AssignInterpNeighbours::AIN_COMM
protected
int AssignInterpNeighbours::debug =0
static
FILE * AssignInterpNeighbours::debugFile =NULL
staticprotected
enum AssignInterpNeighbours::ErrorStatusEnum AssignInterpNeighbours::errorStatus
protected

Referenced by assign(), and setup().

IntegerArray* AssignInterpNeighbours::extrapolateInterpolationNeighbourPoints
protected
IntegerArray* AssignInterpNeighbours::extrapolateInterpolationNeighboursDirection
protected
IntegerArray* AssignInterpNeighbours::extrapolateInterpolationNeighboursVariableWidth
protected
int ** AssignInterpNeighbours::iar
protected
int ** AssignInterpNeighbours::ias
protected
intArray* AssignInterpNeighbours::interpolationPoint
protected
int AssignInterpNeighbours::isInitialized
protected
int AssignInterpNeighbours::maximumWidthToExtrapolationInterpolationNeighbours
protected
int* AssignInterpNeighbours::nar
protected
int* AssignInterpNeighbours::nas
protected
int AssignInterpNeighbours::npr
protected
int AssignInterpNeighbours::nps
protected
int AssignInterpNeighbours::numberOfInterpolationNeighbours
protected
int* AssignInterpNeighbours::ppr
protected
int * AssignInterpNeighbours::pps
protected

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