Overture  Version 25
Macros | Functions | Variables
interpRefinements.C File Reference
#include "GenericCompositeGridOperators.h"
#include "SparseRep.h"
#include "display.h"
#include <float.h>
Include dependency graph for interpRefinements.C:

Macros

#define Q11(x)   (1.-(x))
 
#define Q21(x)   (x)
 
#define Q12(x)   .5*((x)-1.)*((x)-2.)
 
#define Q22(x)   (x)*(2.-(x))
 
#define Q32(x)   .5*(x)*((x)-1.)
 
#define CE(c, e)   (stencilSize*((c)+numberOfComponentsForCoefficients*(e)))
 
#define M123(m1, m2, m3)   (m1)+width[axis1]*(m2+width[axis2]*(m3))
 
#define M123CE(m1, m2, m3, c, e)   (M123(m1,m2,m3)+CE(c,e))
 

Functions

int interpolateRefinements (realGridCollectionFunction &u, const Range *C, const BoundaryConditionParameters &bcParams)
 

Variables

const int isHiddenByRefinement = CompositeGrid::THEinverseMap
 

Macro Definition Documentation

#define CE (   c,
 
)    (stencilSize*((c)+numberOfComponentsForCoefficients*(e)))
#define M123 (   m1,
  m2,
  m3 
)    (m1)+width[axis1]*(m2+width[axis2]*(m3))
#define M123CE (   m1,
  m2,
  m3,
  c,
 
)    (M123(m1,m2,m3)+CE(c,e))

Referenced by interpolateRefinements().

#define Q11 (   x)    (1.-(x))
#define Q12 (   x)    .5*((x)-1.)*((x)-2.)
#define Q21 (   x)    (x)
#define Q22 (   x)    (x)*(2.-(x))
#define Q32 (   x)    .5*(x)*((x)-1.)

Function Documentation

int interpolateRefinements ( realGridCollectionFunction u,
const Range *  C,
const BoundaryConditionParameters bcParams 
)

References Overture::abort(), abs(), assert, axis1, axis2, axis3, GenericGridCollection::baseGridNumber, MappedGrid::boundaryCondition(), CanInterpolate::canInterpolate(), debug, dimension, displayMask(), End, extendedGridIndexRange(), MappedGrid::extendedIndexRange(), FALSE, floorDiv(), Mapping::functionPeriodic, getBoundaryIndex(), doubleGridCollectionFunction::getGridCollection(), doubleGridCollectionFunction::getIsACoefficientMatrix(), BoundaryConditionParameters::getRefinementLevelToSolveFor(), MappedGrid::gridIndexRange(), GenericGridCollection::gridNumber, MappedGrid::gridSpacing(), i2, indexRange, MappedGrid::indexRange(), SparseRepForMGF::indexToEquation(), BoundaryConditionParameters::interpolateHidden, BoundaryConditionParameters::interpolateRefinementBoundaries, SparseRepForMGF::interpolation, MappedGrid::ISdiscretizationPoint, isHiddenByRefinement, isPeriodic, MappedGrid::isPeriodic(), M123CE, M2, M3, MappedGrid::mask(), mask2, max(), min(), NULL, nullRange, GenericGridCollection::numberOfComponentGrids(), SparseRepForMGF::numberOfComponents, GridCollection::numberOfDimensions(), GenericGridCollection::numberOfRefinementLevels(), q, GridCollection::refinementFactor, GridCollection::refinementLevel, SparseRepForMGF::setClassify(), SparseRepForMGF::setCoefficientIndex(), doubleMappedGridFunction::sparse, Start, SparseRepForMGF::stencilSize, and TRUE.

Referenced by GenericGridCollectionOperators::finishBoundaryConditions(), GenericCompositeGridOperators::finishBoundaryConditions(), and Interpolant::testInterpolation().

Variable Documentation

const int isHiddenByRefinement = CompositeGrid::THEinverseMap