|
Overture
Version 25
|
#include "display.h"#include "ParallelUtility.h"#include "MappedGridOperators.h"#include "SparseRep.h"
Macros | |
| #define | FOR_3D(i1, i2, i3, I1, I2, I3) |
| #define | ce(c, e) stencilSize*((c)+numberOfComponentsForCoefficients*(e)) |
Functions | |
| int | displayCoeff (realMappedGridFunction &coeff, const aString &label, FILE *file, const aString format) |
| Output the equations contained in a coefficient matrix. | |
Referenced by BodyForceRegionParameters::BodyForceRegionParameters(), displayCoeff(), GenericMappedGridOperators::finishBoundaryConditions(), doubleMappedGridFunction::periodicUpdate(), floatMappedGridFunction::periodicUpdate(), intMappedGridFunction::periodicUpdate(), and BodyForce::plotForcingRegions().
| #define FOR_3D | ( | i1, | |
| i2, | |||
| i3, | |||
| I1, | |||
| I2, | |||
| I3 | |||
| ) |
Referenced by displayCoeff().
| int displayCoeff | ( | realMappedGridFunction & | coeff, |
| const aString & | label, | ||
| FILE * | file, | ||
| const aString | format | ||
| ) |
Output the equations contained in a coefficient matrix.
| coeff,: | output the equations for this matrix. |
| label,: | write this label as the header. |
| file,: | write results to this file. In parallel, only the local array is written to this file and thus there should be a different file for each processor. |
| format,: | output format |
References assert, c, ce, CopyArray::copyArray(), D, FOR_3D, fPrintF(), getIndex(), getLocalArrayWithGhostBoundaries(), doubleMappedGridFunction::getMappedGrid(), MappedGrid::gridIndexRange(), i2, MappedGrid::mask(), max(), NULL, SparseRepForMGF::numberOfComponents, MappedGrid::numberOfDimensions(), SparseRepForMGF::numberOfGhostLines, S, doubleMappedGridFunction::sparse, and SparseRepForMGF::stencilSize.
Referenced by Ogmg::buildPredefinedCoefficientMatrix(), Integrate::computeWeights(), Oges::generateMatrix(), and Ogmg::operatorAveraging().
1.8.3