Overture
Version 25
|
#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"
Variables | |
FILE * | debugFile |
FILE * | checkFile |
OGFunction * | tzFunction =NULL |
real | timeForBoundaryConditions =0. |
real | timeForSolveInterpolate =0. |
real | timeForDudt =0. |
int applyBoundaryConditions | ( | realCompositeGridFunction & | u, |
real | t | ||
) |
References BCTypes::allBoundaries, doubleCompositeGridFunction::applyBoundaryCondition(), checkArrayIDs(), BCTypes::dirichlet, BCTypes::extrapolate, doubleCompositeGridFunction::finishBoundaryConditions(), doubleCompositeGridFunction::getCompositeGrid(), getCPU(), doubleCompositeGridFunction::interpolate(), GenericGridCollection::numberOfComponentGrids(), timeForBoundaryConditions, and timeForSolveInterpolate.
int checkParallelConsistency | ( | realCompositeGridFunction & | u, |
const aString & | label | ||
) |
int dudt | ( | realCompositeGridFunction & | u, |
realCompositeGridFunction & | ut, | ||
real | t | ||
) |
References assert, c, MappedGrid::center(), debugFile, MappedGrid::dimension(), doubleGridCollectionFunction::display(), OGFunction::gd(), doubleCompositeGridFunction::getCompositeGrid(), getCPU(), getIndex(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), doubleCompositeGridFunction::getOperators(), MappedGrid::gridIndexRange(), gridIndexRange, gridSpacing, OGFunction::laplacian(), MappedGridOperators::laplacianOperator, NULL, GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), sPrintF(), OGFunction::t(), timeForDudt, tzFunction, OGFunction::x(), MappedGridOperators::xDerivative, MappedGridOperators::yDerivative, and MappedGridOperators::zDerivative.
Referenced by main(), rungeKutta1(), rungeKutta2(), and rungeKutta4().
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 | ||
) |
References Overture::abort(), axis1, GenericGridCollection::baseGridNumber, c, fabs(), getDt(), gridSpacing, min(), GenericGridCollection::numberOfComponentGrids(), GridCollection::numberOfDimensions(), printF(), REAL_MAX, and SQR.
Referenced by main().
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 | ||
) |
References applyBoundaryConditions(), dudt(), doubleCompositeGridFunction::getCompositeGrid(), getLocalArrayWithGhostBoundaries(), GenericGridCollection::numberOfComponentGrids(), and u1g.
Referenced by main().
int rungeKutta2 | ( | real & | t, |
real | dt, | ||
realCompositeGridFunction & | u1, | ||
realCompositeGridFunction & | u2, | ||
realCompositeGridFunction & | u3 | ||
) |
References Overture::abort(), applyBoundaryConditions(), checkArrayIDs(), dimension, dudt(), doubleCompositeGridFunction::getCompositeGrid(), getIndex(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), hasSameDistribution(), GenericGridCollection::numberOfComponentGrids(), testConsistency(), and u1g.
Referenced by main().
int rungeKutta4 | ( | real & | t, |
real | dt, | ||
realCompositeGridFunction & | u1, | ||
realCompositeGridFunction & | u2, | ||
realCompositeGridFunction & | u3, | ||
realCompositeGridFunction & | u4 | ||
) |
References applyBoundaryConditions(), dudt(), doubleCompositeGridFunction::getCompositeGrid(), getLocalArrayWithGhostBoundaries(), GenericGridCollection::numberOfComponentGrids(), and u1g.
Referenced by main().
FILE* checkFile |
Referenced by main().
FILE* debugFile |
real timeForBoundaryConditions =0. |
Referenced by applyBoundaryConditions(), and main().
real timeForSolveInterpolate =0. |
Referenced by applyBoundaryConditions(), and main().
OGFunction* tzFunction =NULL |
Referenced by dudt().