Package HAL.Tools.Internal
Class ADIequations
- java.lang.Object
-
- HAL.Tools.Internal.ADIequations
-
public class ADIequations extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ADIequations()
-
Method Summary
Modifier and Type Method Description static void
ADISolveRow(int lenToSolve, double diffRate, double diffScaleFactor, boolean wrapDim, boolean BC, TdmaSolver tdma, IntToDouble GetIn, IntDoubleToVoid SetOut)
static double
Delta1DADI(double[] vals, double centerVal, int x, int xDim, boolean wrapX, Coords1DDouble BoundaryCond)
static double
DeltaX2DADI(double[] vals, double centerVal, int x, int y, int xDim, int yDim, boolean wrapX, Coords2DDouble BoundaryCond)
static double
DeltaX3DADI(double[] vals, double centerVal, int x, int y, int z, int xDim, int yDim, int zDim, boolean wrapX, Coords3DDouble BoundaryCond)
static double
DeltaY2DADI(double[] vals, double centerVal, int x, int y, int xDim, int yDim, boolean wrapY, Coords2DDouble BoundaryCond)
static double
DeltaY3DADI(double[] vals, double centerVal, int x, int y, int z, int xDim, int yDim, int zDim, boolean wrapY, Coords3DDouble BoundaryCond)
static double
DeltaZ3DADI(double[] vals, double centerVal, int x, int y, int z, int xDim, int yDim, int zDim, boolean wrapZ, Coords3DDouble BoundaryCond)
static void
Diffusion1ADI(double[] field, double[] deltas, double diffRate, int xDim, boolean wrapX, Coords1DDouble BC, TdmaSolver tdma)
static void
Diffusion2DADI(double[] field, double[] scratch, double[] deltas, double diffRate, int xDim, int yDim, boolean wrapX, boolean wrapY, Coords2DDouble BC, TdmaSolver tdma)
static void
Diffusion3DADI(double[] field, double[] scratch1, double[] scratch2, double[] deltas, double diffRate, int xDim, int yDim, int zDim, boolean wrapX, boolean wrapY, boolean wrapZ, Coords3DDouble BC, TdmaSolver tdma)
static double
ExplicitDiffusion1ADI(int x, double[] field, double diffRate, int xDim, boolean wrapX, Coords1DDouble BC)
static double
ExplicitDiffusionX2ADI(int x, int y, double[] field, double diffRate, int xDim, int yDim, boolean wrapX, boolean wrapY, Coords2DDouble BC)
static double
ExplicitDiffusionXY3ADI(int x, int y, int z, double[] field, double diffRate, int xDim, int yDim, int zDim, boolean wrapX, boolean wrapY, boolean wrapZ, Coords3DDouble BC)
static double
ExplicitDiffusionXZ3ADI(int x, int y, int z, double[] field, double diffRate, int xDim, int yDim, int zDim, boolean wrapX, boolean wrapY, boolean wrapZ, Coords3DDouble BC)
static double
ExplicitDiffusionY2ADI(int x, int y, double[] field, double diffRate, int xDim, int yDim, boolean wrapX, boolean wrapY, Coords2DDouble BC)
static double
ExplicitDiffusionYZ3ADI(int x, int y, int z, double[] field, double diffRate, int xDim, int yDim, int zDim, boolean wrapX, boolean wrapY, boolean wrapZ, Coords3DDouble BC)
-
-
-
Method Detail
-
Diffusion3DADI
public static void Diffusion3DADI(double[] field, double[] scratch1, double[] scratch2, double[] deltas, double diffRate, int xDim, int yDim, int zDim, boolean wrapX, boolean wrapY, boolean wrapZ, Coords3DDouble BC, TdmaSolver tdma)
-
ADISolveRow
public static void ADISolveRow(int lenToSolve, double diffRate, double diffScaleFactor, boolean wrapDim, boolean BC, TdmaSolver tdma, IntToDouble GetIn, IntDoubleToVoid SetOut)
-
DeltaX3DADI
public static double DeltaX3DADI(double[] vals, double centerVal, int x, int y, int z, int xDim, int yDim, int zDim, boolean wrapX, Coords3DDouble BoundaryCond)
-
DeltaY3DADI
public static double DeltaY3DADI(double[] vals, double centerVal, int x, int y, int z, int xDim, int yDim, int zDim, boolean wrapY, Coords3DDouble BoundaryCond)
-
DeltaZ3DADI
public static double DeltaZ3DADI(double[] vals, double centerVal, int x, int y, int z, int xDim, int yDim, int zDim, boolean wrapZ, Coords3DDouble BoundaryCond)
-
Diffusion2DADI
public static void Diffusion2DADI(double[] field, double[] scratch, double[] deltas, double diffRate, int xDim, int yDim, boolean wrapX, boolean wrapY, Coords2DDouble BC, TdmaSolver tdma)
-
ExplicitDiffusionYZ3ADI
public static double ExplicitDiffusionYZ3ADI(int x, int y, int z, double[] field, double diffRate, int xDim, int yDim, int zDim, boolean wrapX, boolean wrapY, boolean wrapZ, Coords3DDouble BC)
-
ExplicitDiffusionXZ3ADI
public static double ExplicitDiffusionXZ3ADI(int x, int y, int z, double[] field, double diffRate, int xDim, int yDim, int zDim, boolean wrapX, boolean wrapY, boolean wrapZ, Coords3DDouble BC)
-
ExplicitDiffusionXY3ADI
public static double ExplicitDiffusionXY3ADI(int x, int y, int z, double[] field, double diffRate, int xDim, int yDim, int zDim, boolean wrapX, boolean wrapY, boolean wrapZ, Coords3DDouble BC)
-
ExplicitDiffusionX2ADI
public static double ExplicitDiffusionX2ADI(int x, int y, double[] field, double diffRate, int xDim, int yDim, boolean wrapX, boolean wrapY, Coords2DDouble BC)
-
ExplicitDiffusionY2ADI
public static double ExplicitDiffusionY2ADI(int x, int y, double[] field, double diffRate, int xDim, int yDim, boolean wrapX, boolean wrapY, Coords2DDouble BC)
-
DeltaX2DADI
public static double DeltaX2DADI(double[] vals, double centerVal, int x, int y, int xDim, int yDim, boolean wrapX, Coords2DDouble BoundaryCond)
-
DeltaY2DADI
public static double DeltaY2DADI(double[] vals, double centerVal, int x, int y, int xDim, int yDim, boolean wrapY, Coords2DDouble BoundaryCond)
-
Diffusion1ADI
public static void Diffusion1ADI(double[] field, double[] deltas, double diffRate, int xDim, boolean wrapX, Coords1DDouble BC, TdmaSolver tdma)
-
ExplicitDiffusion1ADI
public static double ExplicitDiffusion1ADI(int x, double[] field, double diffRate, int xDim, boolean wrapX, Coords1DDouble BC)
-
Delta1DADI
public static double Delta1DADI(double[] vals, double centerVal, int x, int xDim, boolean wrapX, Coords1DDouble BoundaryCond)
-
-