Overture  Version 25
Functions | Variables
amrh.C File Reference
#include "Overture.h"
#include "PlotStuff.h"
#include "AnnulusMapping.h"
#include "SquareMapping.h"
#include "CompositeGridOperators.h"
#include "display.h"
#include "OGPolyFunction.h"
#include "OGPulseFunction.h"
#include "Regrid.h"
#include "ErrorEstimator.h"
#include "InterpolateRefinements.h"
#include "Ogen.h"
#include "interpPoints.h"
#include "util.h"
#include "ParentChildSiblingInfo.h"
#include "ParallelUtility.h"
#include "App.h"
#include "LoadBalancer.h"
#include "GridStatistics.h"
Include dependency graph for amrh.C:

Functions

real getDt (const real &cfl, const real &a, const real &b, const real &nu, MappedGrid &mg, MappedGridOperators &op, const real alpha0=-2., const real beta0=1.)
 
real getDt (const real &cfl, const real &a, const real &b, const real &c, const real &nu, MappedGrid &mg, MappedGridOperators &op, const real alpha0=-2., const real beta0=1.)
 
int rungeKutta1 (real &t, real dt, realCompositeGridFunction &u1, realCompositeGridFunction &u2)
 
int rungeKutta2 (real &t, real dt, realCompositeGridFunction &u1, realCompositeGridFunction &u2, realCompositeGridFunction &u3)
 
int rungeKutta4 (real &t, real dt, realCompositeGridFunction &u1, realCompositeGridFunction &u2, realCompositeGridFunction &u3, realCompositeGridFunction &u4)
 
int applyBoundaryConditions (realCompositeGridFunction &u, real t)
 
int dudt (realCompositeGridFunction &u, realCompositeGridFunction &ut, real t)
 
real getTimeStep (CompositeGrid &cg, CompositeGridOperators &op, real cfl, real cflr, real cfli)
 
int checkParallelConsistency (realCompositeGridFunction &u, const aString &label)
 
int main (int argc, char *argv[])
 

Variables

FILE * debugFile
 
FILE * checkFile
 
OGFunctiontzFunction =NULL
 
real timeForBoundaryConditions =0.
 
real timeForSolveInterpolate =0.
 
real timeForDudt =0.
 

Function Documentation

int applyBoundaryConditions ( realCompositeGridFunction u,
real  t 
)
int checkParallelConsistency ( realCompositeGridFunction u,
const aString label 
)
int dudt ( realCompositeGridFunction u,
realCompositeGridFunction ut,
real  t 
)
real getDt ( const real cfl,
const real a,
const real b,
const real nu,
MappedGrid mg,
MappedGridOperators op,
const real  alpha0 = -2.,
const real  beta0 = 1. 
)

Referenced by getDt(), getTimeStep(), and main().

real getDt ( const real cfl,
const real a,
const real b,
const real c,
const real nu,
MappedGrid mg,
MappedGridOperators op,
const real  alpha0 = -2.,
const real  beta0 = 1. 
)
real getTimeStep ( CompositeGrid cg,
CompositeGridOperators op,
real  cfl,
real  cflr,
real  cfli 
)
int main ( int  argc,
char *  argv[] 
)

References Overture::abort(), Regrid::addGridsAsBaseGrids, Regrid::addGridsAsRefinementGrids, Regrid::aligned, applyBoundaryConditions(), assert, aString, MappedGrid::center(), checkArrayIDs(), checkError(), checkFile, Overture::checkMemoryUsage(), checkOverlappingGrid(), checkParallelConsistency(), Ogen::checkUpdateRefinement(), PlotIt::contour(), debug, Regrid::debug, Interpolant::debug, Ogen::debug, debugFile, doubleGridCollectionFunction::destroy(), CompositeGrid::destroy(), MappedGrid::dimension(), doubleGridCollectionFunction::display(), GridCollection::displayDistribution(), GL_GraphicsInterface::erase(), BCTypes::extrapolateInterpolationNeighbours, fabs(), Overture::finish(), fPrintF(), getCPU(), getFromADataBase(), Overture::getGraphicsInterface(), getIndex(), ListOfParentChildSiblingInfo::getLength(), Regrid::getLoadBalancer(), LoadBalancer::getLoadBalancerTypeName(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), Overture::getMaximumMemoryUsage(), ParallelUtility::getMaxValue(), GL_GraphicsInterface::getMenuItem(), GridStatistics::getNumberOfPoints(), GridCollection::getParentChildSiblingInfo(), MappedGrid::getPartition(), getTimeStep(), GI_COLOUR_LINE_CONTOURS, GI_PLOT_NON_PHYSICAL_BOUNDARIES, GI_PLOT_THE_OBJECT_AND_EXIT, GI_TOP_LABEL, GI_Y_LEVEL_FOR_1D_GRIDS, hasSameDistribution(), GL_GraphicsInterface::inputString(), Interpolant::iterateToInterpolate, Regrid::loadBalancingIsOn(), mask, max(), min(), NULL, GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), GenericGridCollection::numberOfRefinementLevels(), ogen(), Regrid::outputRefinementInfo(), CompositeGridData::partition, PlotIt::plot(), poly, pow(), printF(), printInfo(), Overture::printMemoryUsage(), LoadBalancer::printStatistics(), Regrid::printStatistics(), pulse, GenericGraphicsInterface::readCommandFile(), REAL_MAX, REAL_MIN, GL_GraphicsInterface::redraw(), doubleCompositeGridFunction::refinementLevel, Regrid::regrid(), Regrid::rotated, rungeKutta1(), rungeKutta2(), rungeKutta4(), GenericGraphicsInterface::saveCommandFile(), GraphicsParameters::set(), Regrid::setEfficiency(), Regrid::setGridAdditionOption(), Regrid::setGridAlgorithmOption(), Interpolant::setImplicitInterpolationMethod(), Interpolant::setInterpolateRefinements(), Regrid::setMergeBoxes(), Regrid::setMinimumBoxSize(), MappedGrid::setMinimumNumberOfDistributedGhostLines(), Regrid::setNumberOfBufferZones(), doubleCompositeGridFunction::setOperators(), Regrid::setRefinementRatio(), GenericCompositeGridOperators::setTwilightZoneFlow(), GenericCompositeGridOperators::setTwilightZoneFlowFunction(), Regrid::setUseSmartBisection(), Regrid::setWidthOfProperNesting(), sPrintF(), sScanF(), Overture::start(), GL_GraphicsInterface::stopReadingCommandFile(), testConsistency(), MappedGrid::THEcenter, MappedGrid::THEmask, GenericGridCollection::THErefinementLevel, MappedGrid::THEvertex, timeForBoundaryConditions, timeForDudt, timeForSolveInterpolate, ErrorEstimator::topHat, Regrid::turnOnLoadBalacing(), Overture::turnOnMemoryChecking(), LoadBalancer::update(), CompositeGrid::update(), MappedGrid::update(), GridCollection::updateParentChildSiblingInfo(), Ogen::updateRefinement(), CompositeGridOperators::updateToMatchGrid(), Interpolant::updateToMatchGrid(), and doubleCompositeGridFunction::updateToMatchGrid().

int rungeKutta1 ( real t,
real  dt,
realCompositeGridFunction u1,
realCompositeGridFunction u2 
)
int rungeKutta2 ( real t,
real  dt,
realCompositeGridFunction u1,
realCompositeGridFunction u2,
realCompositeGridFunction u3 
)
int rungeKutta4 ( real t,
real  dt,
realCompositeGridFunction u1,
realCompositeGridFunction u2,
realCompositeGridFunction u3,
realCompositeGridFunction u4 
)

Variable Documentation

FILE* checkFile

Referenced by main().

FILE* debugFile
real timeForBoundaryConditions =0.

Referenced by applyBoundaryConditions(), and main().

real timeForDudt =0.

Referenced by dudt(), and main().

real timeForSolveInterpolate =0.

Referenced by applyBoundaryConditions(), and main().

OGFunction* tzFunction =NULL

Referenced by dudt().