Overture  Version 25
Classes | Macros | Functions
comp.C File Reference
#include "Overture.h"
#include "Ogshow.h"
#include "ShowFileReader.h"
#include "interpPoints.h"
#include "display.h"
#include "FortranIO.h"
#include "PlotStuff.h"
#include "InterpolatePoints.h"
#include "gridFunctionNorms.h"
#include "ParallelUtility.h"
#include "InterpolatePointsOnAGrid.h"
Include dependency graph for comp.C:

Classes

struct  ComponentVector
 

Macros

#define FOR_3D(i1, i2, i3, I1, I2, I3)
 

Functions

real computeRate (const int &n, const RealArray &h, const RealArray &e, real &sigma, real &c, const bool assumeFineGridHoldsExactSolution=false)
 
real computeRateOld (const int &n, const RealArray &h, const RealArray &e, real &sigma, real &c)
 
int outputLatexTable (const std::vector< aString > gridName, const std::vector< aString > cName, const RealArray &cErr, const RealArray &cSigma, const int norm=-1, FILE *file=stdout, const bool assumeFineGridHoldsExactSolution=false)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

#define FOR_3D (   i1,
  i2,
  i3,
  I1,
  I2,
  I3 
)
Value:
int I1Base =I1.getBase(), I2Base =I2.getBase(), I3Base =I3.getBase(); \
int I1Bound=I1.getBound(), I2Bound=I2.getBound(), I3Bound=I3.getBound(); \
for(i3=I3Base; i3<=I3Bound; i3++) \
for(i2=I2Base; i2<=I2Bound; i2++) \
for(i1=I1Base; i1<=I1Bound; i1++)

Function Documentation

real computeRate ( const int &  n,
const RealArray h,
const RealArray e,
real sigma,
real c,
const bool  assumeFineGridHoldsExactSolution = false 
)

References assert, delta, fabs(), log(), pow(), printF(), REAL_MAX, and s.

Referenced by main().

real computeRateOld ( const int &  n,
const RealArray h,
const RealArray e,
real sigma,
real c 
)

References assert, delta, fabs(), log(), pow(), printF(), and s.

int main ( int  argc,
char *  argv[] 
)

References GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, axis1, C, c, cc, ShowFileReader::close(), ComponentVector::component, computeRate(), PlotIt::contour(), doubleGridCollectionFunction::destroy(), display(), End, GenericGraphicsInterface::erase(), fabs(), Overture::finish(), fPrintF(), HDF_DataBase::get(), ShowFileReader::getASolution(), doubleGridCollectionFunction::getComponentBase(), doubleMappedGridFunction::getComponentBase(), doubleGridCollectionFunction::getComponentBound(), doubleMappedGridFunction::getComponentBound(), getCPU(), ShowFileReader::getFrame(), Overture::getGraphicsInterface(), getIndex(), getLocalArrayWithGhostBoundaries(), ParallelUtility::getMaxValue(), GenericGraphicsInterface::getMenuItem(), doubleGridCollectionFunction::getName(), ShowFileReader::getNumberOfFrames(), GenericGraphicsInterface::getValues(), GI_TOP_LABEL, gridIndexRange, GenericGraphicsInterface::inputString(), interpolateAllPoints(), InterpolatePoints::interpolateAllPoints(), InterpolatePointsOnAGrid::interpolateAllPoints(), DisplayParameters::labelNoIndicies, lpNorm(), max(), maxNorm(), min(), ComponentVector::name, NULL, GenericGridCollection::numberOfComponentGrids(), GenericGridCollection::numberOfRefinementLevels(), ShowFileReader::open(), outputLatexTable(), pow(), printF(), r, R, GenericGraphicsInterface::readCommandFile(), REAL_EPSILON, doubleCompositeGridFunction::reference(), GridCollection::refinementLevel, GenericGraphicsInterface::saveCommandFile(), Ogshow::saveComment(), Ogshow::saveGeneralComment(), Ogshow::saveSolution(), DisplayParameters::set(), GraphicsParameters::set(), InterpolatePointsOnAGrid::setAssignAllPoints(), ShowFileReader::setCurrentFrameSeries(), InterpolatePoints::setInfoLevel(), InterpolatePointsOnAGrid::setInfoLevel(), InterpolatePointsOnAGrid::setInterpolationWidth(), doubleGridCollectionFunction::setName(), InterpolatePointsOnAGrid::setNumberOfValidGhostPoints(), sPrintF(), SQR, sScanF(), Start, Overture::start(), Ogshow::startFrame(), MappedGrid::THEmask, CompositeGrid::update(), and doubleCompositeGridFunction::updateToMatchGridFunction().

int outputLatexTable ( const std::vector< aString gridName,
const std::vector< aString cName,
const RealArray cErr,
const RealArray cSigma,
const int  norm = -1,
FILE *  file = stdout,
const bool  assumeFineGridHoldsExactSolution = false 
)

References c, log10(), and pow().

Referenced by main().