Overture
Version 25
|
#include "ParallelUtility.h"
Macros | |
#define | MPI_Real MPI_FLOAT |
#define | FOR_BOX(i0, i1, i2, i3, box) const int i0b=box.bound(0),i1b=box.bound(1),i2b=box.bound(2),i3b=box.bound(3);for( int i3=box.base(3); i3<=i3b; i3++ )for( int i2=box.base(2); i2<=i2b; i2++ )for( int i1=box.base(1); i1<=i1b; i1++ )for( int i0=box.base(0); i0<=i0b; i0++ ) |
#define | FOR_4(i0, i1, i2, i3, Iv) const int i0b=Iv[0].getBound(),i1b=Iv[1].getBound(),i2b=Iv[2].getBound(),i3b=Iv[3].getBound();for( int i3=Iv[0].getBase(); i3<=i3b; i3++ )for( int i2=Iv[1].getBase(); i2<=i2b; i2++ )for( int i1=Iv[2].getBase(); i1<=i1b; i1++ )for( int i0=Iv[3].getBase(); i0<=i0b; i0++ ) |
Functions | |
void | broadCast (int &value, const int &fromProcessor, MPI_Comm comm) |
void | broadCast (float &value, const int &fromProcessor, MPI_Comm comm) |
void | broadCast (double &value, const int &fromProcessor, MPI_Comm comm) |
void | broadCast (bool &value, const int &fromProcessor, MPI_Comm comm) |
void | broadCast (intSerialArray &buff, const int &fromProcessor, MPI_Comm comm) |
void | broadCast (floatSerialArray &buff, const int &fromProcessor, MPI_Comm comm) |
void | broadCast (doubleSerialArray &buff, const int &fromProcessor, MPI_Comm comm) |
void | broadCast (aString &string, const int &fromProcessor, MPI_Comm comm) |
doubleSerialArray & | getLocalArrayWithGhostBoundaries (const doubleArray &u, doubleSerialArray &uLocal) |
floatSerialArray & | getLocalArrayWithGhostBoundaries (const floatArray &u, floatSerialArray &uLocal) |
intSerialArray & | getLocalArrayWithGhostBoundaries (const intArray &u, intSerialArray &uLocal) |
int | getLineFromFile (FILE *file, char s[], int lim) |
#define FOR_4 | ( | i0, | |
i1, | |||
i2, | |||
i3, | |||
Iv | |||
) | const int i0b=Iv[0].getBound(),i1b=Iv[1].getBound(),i2b=Iv[2].getBound(),i3b=Iv[3].getBound();for( int i3=Iv[0].getBase(); i3<=i3b; i3++ )for( int i2=Iv[1].getBase(); i2<=i2b; i2++ )for( int i1=Iv[2].getBase(); i1<=i1b; i1++ )for( int i0=Iv[3].getBase(); i0<=i0b; i0++ ) |
#define FOR_BOX | ( | i0, | |
i1, | |||
i2, | |||
i3, | |||
box | |||
) | const int i0b=box.bound(0),i1b=box.bound(1),i2b=box.bound(2),i3b=box.bound(3);for( int i3=box.base(3); i3<=i3b; i3++ )for( int i2=box.base(2); i2<=i2b; i2++ )for( int i1=box.base(1); i1<=i1b; i1++ )for( int i0=box.base(0); i0<=i0b; i0++ ) |
Referenced by CopyArray::copyArray().
#define MPI_Real MPI_FLOAT |
Referenced by CopyArray::copyArray().
void broadCast | ( | int & | value, |
const int & | fromProcessor, | ||
MPI_Comm | comm | ||
) |
void broadCast | ( | float & | value, |
const int & | fromProcessor, | ||
MPI_Comm | comm | ||
) |
void broadCast | ( | double & | value, |
const int & | fromProcessor, | ||
MPI_Comm | comm | ||
) |
void broadCast | ( | bool & | value, |
const int & | fromProcessor, | ||
MPI_Comm | comm | ||
) |
void broadCast | ( | intSerialArray & | buff, |
const int & | fromProcessor, | ||
MPI_Comm | comm | ||
) |
void broadCast | ( | floatSerialArray & | buff, |
const int & | fromProcessor, | ||
MPI_Comm | comm | ||
) |
void broadCast | ( | doubleSerialArray & | buff, |
const int & | fromProcessor, | ||
MPI_Comm | comm | ||
) |
void broadCast | ( | aString & | string, |
const int & | fromProcessor, | ||
MPI_Comm | comm | ||
) |
References broadCast(), and s.
int getLineFromFile | ( | FILE * | file, |
char | s[], | ||
int | lim | ||
) |
doubleSerialArray& getLocalArrayWithGhostBoundaries | ( | const doubleArray & | u, |
doubleSerialArray & | uLocal | ||
) |
References NULL.
Referenced by Ogen::adjustBoundary(), PlotIt::adjustGrid(), MappedGridOperators::applyBCaDotGradU(), MappedGridOperators::applyBCaDotU(), MappedGridOperators::applyBCdirichlet(), MappedGridOperators::applyBCextrapolate(), MappedGridOperators::applyBCGenDiv(), MappedGridOperators::applyBCneumann(), MappedGridOperators::applyBCnormalComponent(), MappedGridOperators::applyBCnormalDerivative(), MappedGridOperators::applyBCsymmetry(), MappedGridOperators::applyBCtangentialComponent(), MappedGridOperators::applyBoundaryCondition(), MappedGridOperators::applyBoundaryConditionCoefficients(), Ogmg::applyInitialConditions(), AssignInterpNeighbours::assign(), ArrayUtil::assign(), assign(), MappedGridOperators::assignCoefficientsInternal(), ArrayUtil::assignGridFunction(), assignGridFunction(), OGFunction::assignGridFunction(), StretchedSquare::basicInverse(), NurbsMapping::basicInverse(), DataPointMapping::basicInverse(), ComposeMapping::basicInverse(), DataPointMapping::basicInverseS(), Integrate::buildAdaptiveMeshRefinementSurfaceWeights(), Ogmg::buildExtraLevels(), Ogmg::buildExtraLevelsNew(), Ogmg::buildPredefinedCoefficientMatrix(), Regrid::buildTaggedCells(), CanInterpolate::canInterpolate(), CanInterpolate::canInterpolateOld(), CompositeGrid::changeInterpolationWidth(), checkError(), Ogen::checkHoleCutting(), Ogen::checkInterpolationOnBoundaries(), checkParallelConsistency(), Ogen::checkUpdateRefinement(), Ogen::classifyPoints(), Ogmg::coarseGridSolverTest(), Ogmg::coarseToFine(), Ogmg::coarseToFineTest(), DerivedFunctions::computeDerivedFunctions(), ParallelOverlappingGridInterpolator::computeError(), ErrorEstimator::computeErrorFunction(), ErrorEstimator::computeFunction(), DataPointMapping::computeGhostPoints(), Integrate::computeSurfaceWeights(), Integrate::computeWeights(), PlotIt::contourOpt2d(), CompositeGridData::convertLocalInterpolationData(), CopyArray::copyArray(), Ogen::cutHolesNew(), Ogen::cutHolesNewer(), floatMappedGridFunction::dataCopy(), intMappedGridFunction::dataCopy(), doubleMappedGridFunction::dataCopy(), MappedGridOperators::derivativeInternal(), displayCoeff(), displayMaskPrivate(), dudt(), SurfaceStitcher::enlargeGap(), SurfaceStitcher::enlargeGapWidth(), TrimmedMapping::findClosestCurve(), AssignInterpNeighbours::findInterpolationNeighbours(), GenericMappedGridOperators::findInterpolationNeighbours(), Ogmg::fineToCoarse(), Ogmg::fineToCoarseTest(), GenericMappedGridOperators::finishBoundaryConditions(), floatMappedGridFunction::fixupUnusedPoints(), intMappedGridFunction::fixupUnusedPoints(), doubleMappedGridFunction::fixupUnusedPoints(), OGFunction::gd(), Ogen::getAdjustmentVectors(), Mapping::getBoundingBox(), GridFunctionNorms::getBounds(), Ogmg::getDefect(), HDF_DataBase::getDistributed(), getDt(), Mapping::getGrid(), Mapping::getGridMinAndMax(), GridStatistics::getGridSpacing(), Ogmg::getInterpolationCoordinates(), Ogmg::getInterpolationCoordinatesNew(), Ogmg::getInterpolationCoordinatesNewOld(), Ogmg::getInterpolationStencil(), getSignForJacobian(), getTrueSolution(), DerivedFunctions::getUserDefinedDerivedFunction(), PlotIt::grid3d(), ExposedPoints::initialize(), ParallelOverlappingGridInterpolator::internalInterpolate(), InterpolatePointsOnAGrid::internalInterpolate(), ExposedPoints::interpolate(), Ogen::interpolateAll(), InterpolatePoints::interpolateAllPoints(), InterpolatePointsOnAGrid::interpolateAllPoints(), InterpolateRefinements::interpolateCoarseFromFine(), Interpolate::interpolateCoarseFromFine(), Interpolate::interpolateFineFromCoarse(), InterpolatePoints::interpolatePoints(), interpolatePoints(), InterpolateRefinements::interpolateRefinementBoundaries(), InterpolateRefinements::interpolateRefinements(), MatrixMapping::inverseMap(), ComposeMapping::inverseMap(), StretchMapping::inverseMap(), Mapping::inverseMap(), Ogmg::l2Error(), l2Norm(), Ogmg::l2Norm(), Ogen::lastChanceInterpolation(), lpNorm(), main(), SquareMapping::map(), StretchedSquare::map(), MatrixMapping::map(), TFIMapping::map(), ComposeMapping::map(), StretchMapping::map(), NurbsMapping::map(), Mapping::mapGrid(), DataPointMapping::mapScalar(), markGhostPoints(), maxNorm(), Ogmg::maxNorm(), CompositeGridData::operator=(), Mapping::operator=(), doubleMappedGridFunction::operator=(), intMappedGridFunction::operator=(), floatMappedGridFunction::operator=(), Ogmg::operatorAveraging(), InterpolatePointsOnAGrid::parallelInternalInterpolate(), PlotIt::plot(), PlotIt::plotGrid2d(), PlotIt::plotGridBoundaries(), PlotIt::plotParallelGridDistribution(), GridStatistics::printGridStatistics(), HDF_DataBase::putDistributed(), Regrid::regridAligned(), Ogen::removeExteriorPointsNew(), rungeKutta1(), rungeKutta2(), rungeKutta4(), DataPointMapping::setDataPoints(), Oges::setEquationAndBoundaryConditions(), Mapping::setGrid(), DataPointMapping::setMapping(), SurfaceStitcher::setMask(), GridCollection::setMaskAtRefinements(), ErrorEstimator::smooth(), Ogmg::smoothBoundary(), Ogmg::smoothInterpolationNeighbours(), Ogmg::smoothLine(), Ogmg::smoothRedBlack(), Ogmg::smoothTest(), PlotIt::surfaceGrid3d(), Integrate::surfaceIntegral(), testConsistency(), PlotIt::unAdjustGrid(), Ogen::updateBoundaryAdjustment(), CompositeGridData::updateCollection(), Ogen::updateRefinementFillInterpolationData(), Ogen::updateRefinementFillInterpolationDataNew(), Ogen::updateRefinementNew(), Ogen::updateRefinementNewer(), Integrate::volume(), and Integrate::volumeIntegral().
floatSerialArray& getLocalArrayWithGhostBoundaries | ( | const floatArray & | u, |
floatSerialArray & | uLocal | ||
) |
References NULL.
intSerialArray& getLocalArrayWithGhostBoundaries | ( | const intArray & | u, |
intSerialArray & | uLocal | ||
) |
References NULL.