Overture
Version 25
|
#include "Interpolant.h"
#include "Oges.h"
#include "CompositeGridOperators.h"
#include "display.h"
#include "interpPoints.h"
#include "SparseRep.h"
#include "InterpolateRefinements.h"
#include "ParallelOverlappingGridInterpolator.h"
#include "ParallelUtility.h"
#include "OGPolyFunction.h"
Macros | |
#define | interpOptRes EXTERN_C_NAME(interpoptres) |
#define | interpOpt EXTERN_C_NAME(interpopt) |
#define | INTERPOLATE_THIS_GRID(grid) |
#define | UINDEX(g, i1, i2, i3, c1) ((i1)+d0[g]*( (i2)+d1[g]*( (i3)+d2[g]*( c1)))) |
#define | UG(i1, i2, i3, c1) ug_[base[grid]+UINDEX(grid,i1,i2,i3,c1)] |
#define | IP(i, axis) ip_[(i)+numberOfInterpolationPoints*(axis)] |
#define | IL(i, axis) il_[(i)+numberOfInterpolationPoints*(axis)] |
#define | IG(i) ig_[(i)] |
#define | COEFFG2(i, w1, w2) coeffg_[(i)+numberOfInterpolationPoints*((w1)+width0*((w2)))] |
#define | COEFFG3(i, w1, w2, w3) coeffg_[(i)+numberOfInterpolationPoints*((w1)+width0*((w2)+width1*(w3)))] |
#define | UU(grid, i1, i2, i3, c1) u_[grid][base[grid]+UINDEX(grid,i1,i2,i3,c1)] |
#define | UU2(w1, w2) UU(IG(i), IL(i,axis1)+w1,IL(i,axis2)+w2,c2,c3) |
#define | UU3(w1, w2, w3) UU(IG(i), IL(i,axis1)+w1,IL(i,axis2)+w2,IL(i,axis3)+w3,c3) |
#define | initExplicitInterp EXTERN_C_NAME(initexplicitinterp) |
#define | Q11(x) (1.-(x)) |
#define | Q21(x) (x) |
#define | Q12(x) .5*((x)-1.)*((x)-2.) |
#define | Q22(x) (x)*(2.-(x)) |
#define | Q32(x) .5*(x)*((x)-1.) |
#define | ForBoundary(side, axis) |
Functions | |
void | interpOptRes (const int &nd, const int &ndui1a, const int &ndui1b, const int &ndui2a, const int &ndui2b, const int &ndui3a, const int &ndui3b, const int &ndui4a, const int &ndui4b, const int &ndug1a, const int &ndug1b, const int &ndug2a, const int &ndug2b, const int &ndug3a, const int &ndug3b, const int &ndug4a, const int &ndug4b, const int &ndil, const int &ndip, const int &ndc1, const int &ndc2, const int &ndc3, const int &ipar, const real &ui, real &ug, const real &c, real &r, const int &il, const int &ip, const int &varWidth, const int &width, real &resMax) |
void | interpOpt (const int &nd, const int &ndui1a, const int &ndui1b, const int &ndui2a, const int &ndui2b, const int &ndui3a, const int &ndui3b, const int &ndui4a, const int &ndui4b, const int &ndug1a, const int &ndug1b, const int &ndug2a, const int &ndug2b, const int &ndug3a, const int &ndug3b, const int &ndug4a, const int &ndug4b, const int &ndil, const int &ndip, const int &ndc1, const int &ndc2, const int &ndc3, const int &ipar, const real &ui, real &ug, const real &c, const int &il, const int &ip, const int &varWidth, const int &width) |
void | initExplicitInterp (const int &ndc1, const int &ndc2, const int &ndc3, const int &ndci, const int &ipar, real &coeff, const real &ci, real &pr, real &ps, real &pt, const real &gridSpacing, const int &indexStart, const int &variableInterpolationWidth, const int &interpoleeLocation, const int &interpoleeGrid) |
#define COEFFG2 | ( | i, | |
w1, | |||
w2 | |||
) | coeffg_[(i)+numberOfInterpolationPoints*((w1)+width0*((w2)))] |
#define COEFFG3 | ( | i, | |
w1, | |||
w2, | |||
w3 | |||
) | coeffg_[(i)+numberOfInterpolationPoints*((w1)+width0*((w2)+width1*(w3)))] |
#define ForBoundary | ( | side, | |
axis | |||
) |
Referenced by Interpolant::testInterpolation().
#define IG | ( | i | ) | ig_[(i)] |
Referenced by Oges::formRhsAndSolutionVectors().
#define IL | ( | i, | |
axis | |||
) | il_[(i)+numberOfInterpolationPoints*(axis)] |
#define initExplicitInterp EXTERN_C_NAME(initexplicitinterp) |
#define INTERPOLATE_THIS_GRID | ( | grid | ) |
#define interpOpt EXTERN_C_NAME(interpopt) |
#define interpOptRes EXTERN_C_NAME(interpoptres) |
#define IP | ( | i, | |
axis | |||
) | ip_[(i)+numberOfInterpolationPoints*(axis)] |
Referenced by Ogen::adjustBoundary(), Ogen::adjustBoundarySerial(), InterpolatePoints::buildInterpolationInfo(), InterpolatePointsOnAGrid::buildInterpolationInfo(), Oges::formRhsAndSolutionVectors(), InterpolatePoints::getInterpolationInfo(), InterpolatePointsOnAGrid::getInterpolationInfo(), PlotIt::grid3d(), InterpolatePoints::interpolatePoints(), PlotIt::plotGrid2d(), Ogmg::smoothLine(), Ogen::updateRefinement(), Ogen::updateRefinementFillInterpolationData(), Ogen::updateRefinementFillInterpolationDataNew(), Ogen::updateRefinementNew(), and Ogen::updateRefinementNewer().
Referenced by Oges::formRhsAndSolutionVectors(), and xInterpolateOpt().
void initExplicitInterp | ( | const int & | ndc1, |
const int & | ndc2, | ||
const int & | ndc3, | ||
const int & | ndci, | ||
const int & | ipar, | ||
real & | coeff, | ||
const real & | ci, | ||
real & | pr, | ||
real & | ps, | ||
real & | pt, | ||
const real & | gridSpacing, | ||
const int & | indexStart, | ||
const int & | variableInterpolationWidth, | ||
const int & | interpoleeLocation, | ||
const int & | interpoleeGrid | ||
) |
void interpOpt | ( | const int & | nd, |
const int & | ndui1a, | ||
const int & | ndui1b, | ||
const int & | ndui2a, | ||
const int & | ndui2b, | ||
const int & | ndui3a, | ||
const int & | ndui3b, | ||
const int & | ndui4a, | ||
const int & | ndui4b, | ||
const int & | ndug1a, | ||
const int & | ndug1b, | ||
const int & | ndug2a, | ||
const int & | ndug2b, | ||
const int & | ndug3a, | ||
const int & | ndug3b, | ||
const int & | ndug4a, | ||
const int & | ndug4b, | ||
const int & | ndil, | ||
const int & | ndip, | ||
const int & | ndc1, | ||
const int & | ndc2, | ||
const int & | ndc3, | ||
const int & | ipar, | ||
const real & | ui, | ||
real & | ug, | ||
const real & | c, | ||
const int & | il, | ||
const int & | ip, | ||
const int & | varWidth, | ||
const int & | width | ||
) |
void interpOptRes | ( | const int & | nd, |
const int & | ndui1a, | ||
const int & | ndui1b, | ||
const int & | ndui2a, | ||
const int & | ndui2b, | ||
const int & | ndui3a, | ||
const int & | ndui3b, | ||
const int & | ndui4a, | ||
const int & | ndui4b, | ||
const int & | ndug1a, | ||
const int & | ndug1b, | ||
const int & | ndug2a, | ||
const int & | ndug2b, | ||
const int & | ndug3a, | ||
const int & | ndug3b, | ||
const int & | ndug4a, | ||
const int & | ndug4b, | ||
const int & | ndil, | ||
const int & | ndip, | ||
const int & | ndc1, | ||
const int & | ndc2, | ||
const int & | ndc3, | ||
const int & | ipar, | ||
const real & | ui, | ||
real & | ug, | ||
const real & | c, | ||
real & | r, | ||
const int & | il, | ||
const int & | ip, | ||
const int & | varWidth, | ||
const int & | width, | ||
real & | resMax | ||
) |