Package HAL.Tools.Internal
Class PopulationGridPDEequations
- java.lang.Object
-
- HAL.Tools.Internal.PopulationGridPDEequations
-
public class PopulationGridPDEequations extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PopulationGridPDEequations()
-
Method Summary
Modifier and Type Method Description static boolean
AddDisplacedY2D(int[] deltas, int x, int y, int xDim, int yDim, boolean wrapY, Coords1DInt BoundaryCond, int yFrom, int val)
static int
Delta1D(int[] vals, int centerVal, int x, int xDim, boolean wrapX, Coords1DInt BoundaryCond)
static int
DeltaX2D(int[] vals, int centerVal, int x, int y, int xDim, int yDim, boolean wrapX, Coords2DInt BoundaryCond)
static int
DeltaX3D(int[] vals, int centerVal, int x, int y, int z, int xDim, int yDim, int zDim, boolean wrapX, Coords3DInt BoundaryCond)
static int
DeltaY2D(int[] vals, int centerVal, int x, int y, int xDim, int yDim, boolean wrapY, Coords2DInt BoundaryCond)
static int
DeltaY3D(int[] vals, int centerVal, int x, int y, int z, int xDim, int yDim, int zDim, boolean wrapY, Coords3DInt BoundaryCond)
static int
DeltaZ3D(int[] vals, int centerVal, int x, int y, int z, int xDim, int yDim, int zDim, boolean wrapZ, Coords3DInt BoundaryCond)
static void
Diffusion1(int pop, int x, PopulationGrid1D grid, double prob, int xDim, boolean wrapX, Coords1DInt AgentBC, MultinomialCalc mn)
static void
Diffusion1D(PopulationGrid1D grid, int x, int centerX, int xDim, MultinomialCalc mn, Coords1DInt AgentBC, Coords1DDouble ProbBC, boolean WrapX, double prob)
static void
Diffusion1DL(PopulationGrid1DLong grid, int x, int centerX, int xDim, MultinomialCalcLong mn, Coords1DInt AgentBC, Coords1DDouble ProbBC, boolean WrapX, double prob)
static void
Diffusion1L(long pop, int x, PopulationGrid1DLong grid, double prob, int xDim, boolean wrapX, Coords1DInt AgentBC, MultinomialCalcLong mn)
static void
Diffusion2(int pop, int x, int y, int i, PopulationGrid2D grid, double prob, int xDim, int yDim, boolean wrapX, boolean wrapY, Coords2DInt AgentBC, MultinomialCalc mn)
static void
Diffusion2L(long pop, int x, int y, int i, PopulationGrid2DLong grid, double prob, int xDim, int yDim, boolean wrapX, boolean wrapY, Coords2DInt AgentBC, MultinomialCalcLong mn)
static void
Diffusion3(int pop, int x, int y, int z, int i, PopulationGrid3D grid, double prob, int xDim, int yDim, int zDim, boolean wrapX, boolean wrapY, boolean wrapZ, Coords3DInt AgentBC, MultinomialCalc mn)
static void
Diffusion3L(long pop, int x, int y, int z, int i, PopulationGrid3DLong grid, double prob, int xDim, int yDim, int zDim, boolean wrapX, boolean wrapY, boolean wrapZ, Coords3DInt AgentBC, MultinomialCalcLong mn)
static void
DiffusionOperator2D(int[] field, int[] deltas, int centerX, int centerY, double prob, int xDim, int yDim, MultinomialCalc MN, Coords2DInt AgentBC)
static void
DiffusionX2D(PopulationGrid2D grid, int x, int y, int centerI, int xDim, int yDim, MultinomialCalc mn, Coords2DInt AgentBC, Coords2DDouble ProbBC, boolean WrapX, double prob)
static void
DiffusionX2DL(PopulationGrid2DLong grid, int x, int y, int centerI, int xDim, int yDim, MultinomialCalcLong mn, Coords2DInt AgentBC, Coords2DDouble ProbBC, boolean WrapX, double prob)
static void
DiffusionX3D(PopulationGrid3D grid, int x, int y, int z, int centerI, int xDim, int yDim, int zDim, MultinomialCalc mn, Coords3DInt AgentBC, Coords3DDouble ProbBC, boolean WrapX, double prob)
static void
DiffusionX3DL(PopulationGrid3DLong grid, int x, int y, int z, int centerI, int xDim, int yDim, int zDim, MultinomialCalcLong mn, Coords3DInt AgentBC, Coords3DDouble ProbBC, boolean WrapX, double prob)
static void
DiffusionY2D(PopulationGrid2D grid, int x, int y, int centerI, int xDim, int yDim, MultinomialCalc mn, Coords2DInt AgentBC, Coords2DDouble ProbBC, boolean WrapY, double prob)
static void
DiffusionY2DL(PopulationGrid2DLong grid, int x, int y, int centerI, int xDim, int yDim, MultinomialCalcLong mn, Coords2DInt AgentBC, Coords2DDouble ProbBC, boolean WrapY, double prob)
static void
DiffusionY3D(PopulationGrid3D grid, int x, int y, int z, int centerI, int xDim, int yDim, int zDim, MultinomialCalc mn, Coords3DInt AgentBC, Coords3DDouble ProbBC, boolean WrapY, double prob)
static void
DiffusionY3DL(PopulationGrid3DLong grid, int x, int y, int z, int centerI, int xDim, int yDim, int zDim, MultinomialCalcLong mn, Coords3DInt AgentBC, Coords3DDouble ProbBC, boolean WrapY, double prob)
static void
DiffusionZ3D(PopulationGrid3D grid, int x, int y, int z, int centerI, int xDim, int yDim, int zDim, MultinomialCalc mn, Coords3DInt AgentBC, Coords3DDouble ProbBC, boolean WrapZ, double prob)
static void
DiffusionZ3DL(PopulationGrid3DLong grid, int x, int y, int z, int centerI, int xDim, int yDim, int zDim, MultinomialCalcLong mn, Coords3DInt AgentBC, Coords3DDouble ProbBC, boolean WrapZ, double prob)
static int
Displaced1D(int[] vals, int x, int xDim, boolean wrapX, Coords1DInt BoundaryCond)
static int
DisplacedX2D(int[] vals, int x, int y, int xDim, int yDim, boolean wrapX, Coords2DInt BoundaryCond)
static int
DisplacedX3D(int[] vals, int x, int y, int z, int xDim, int yDim, int zDim, boolean wrapX, Coords3DInt BoundaryCond)
static int
DisplacedY2D(int[] vals, int x, int y, int xDim, int yDim, boolean wrapY, Coords2DInt BoundaryCond)
static int
DisplacedY3D(int[] vals, int x, int y, int z, int xDim, int yDim, int zDim, boolean wrapY, Coords3DInt BoundaryCond)
static int
DisplacedZ3D(int[] vals, int x, int y, int z, int xDim, int yDim, int zDim, boolean wrapZ, Coords3DInt BoundaryCond)
-
-
-
Method Detail
-
Diffusion1
public static void Diffusion1(int pop, int x, PopulationGrid1D grid, double prob, int xDim, boolean wrapX, Coords1DInt AgentBC, MultinomialCalc mn)
-
Diffusion2
public static void Diffusion2(int pop, int x, int y, int i, PopulationGrid2D grid, double prob, int xDim, int yDim, boolean wrapX, boolean wrapY, Coords2DInt AgentBC, MultinomialCalc mn)
-
Diffusion3
public static void Diffusion3(int pop, int x, int y, int z, int i, PopulationGrid3D grid, double prob, int xDim, int yDim, int zDim, boolean wrapX, boolean wrapY, boolean wrapZ, Coords3DInt AgentBC, MultinomialCalc mn)
-
Diffusion1D
public static void Diffusion1D(PopulationGrid1D grid, int x, int centerX, int xDim, MultinomialCalc mn, Coords1DInt AgentBC, Coords1DDouble ProbBC, boolean WrapX, double prob)
-
DiffusionX2D
public static void DiffusionX2D(PopulationGrid2D grid, int x, int y, int centerI, int xDim, int yDim, MultinomialCalc mn, Coords2DInt AgentBC, Coords2DDouble ProbBC, boolean WrapX, double prob)
-
DiffusionY2D
public static void DiffusionY2D(PopulationGrid2D grid, int x, int y, int centerI, int xDim, int yDim, MultinomialCalc mn, Coords2DInt AgentBC, Coords2DDouble ProbBC, boolean WrapY, double prob)
-
DiffusionX3D
public static void DiffusionX3D(PopulationGrid3D grid, int x, int y, int z, int centerI, int xDim, int yDim, int zDim, MultinomialCalc mn, Coords3DInt AgentBC, Coords3DDouble ProbBC, boolean WrapX, double prob)
-
DiffusionY3D
public static void DiffusionY3D(PopulationGrid3D grid, int x, int y, int z, int centerI, int xDim, int yDim, int zDim, MultinomialCalc mn, Coords3DInt AgentBC, Coords3DDouble ProbBC, boolean WrapY, double prob)
-
DiffusionZ3D
public static void DiffusionZ3D(PopulationGrid3D grid, int x, int y, int z, int centerI, int xDim, int yDim, int zDim, MultinomialCalc mn, Coords3DInt AgentBC, Coords3DDouble ProbBC, boolean WrapZ, double prob)
-
Diffusion1L
public static void Diffusion1L(long pop, int x, PopulationGrid1DLong grid, double prob, int xDim, boolean wrapX, Coords1DInt AgentBC, MultinomialCalcLong mn)
-
Diffusion2L
public static void Diffusion2L(long pop, int x, int y, int i, PopulationGrid2DLong grid, double prob, int xDim, int yDim, boolean wrapX, boolean wrapY, Coords2DInt AgentBC, MultinomialCalcLong mn)
-
Diffusion3L
public static void Diffusion3L(long pop, int x, int y, int z, int i, PopulationGrid3DLong grid, double prob, int xDim, int yDim, int zDim, boolean wrapX, boolean wrapY, boolean wrapZ, Coords3DInt AgentBC, MultinomialCalcLong mn)
-
Diffusion1DL
public static void Diffusion1DL(PopulationGrid1DLong grid, int x, int centerX, int xDim, MultinomialCalcLong mn, Coords1DInt AgentBC, Coords1DDouble ProbBC, boolean WrapX, double prob)
-
DiffusionX2DL
public static void DiffusionX2DL(PopulationGrid2DLong grid, int x, int y, int centerI, int xDim, int yDim, MultinomialCalcLong mn, Coords2DInt AgentBC, Coords2DDouble ProbBC, boolean WrapX, double prob)
-
DiffusionY2DL
public static void DiffusionY2DL(PopulationGrid2DLong grid, int x, int y, int centerI, int xDim, int yDim, MultinomialCalcLong mn, Coords2DInt AgentBC, Coords2DDouble ProbBC, boolean WrapY, double prob)
-
DiffusionX3DL
public static void DiffusionX3DL(PopulationGrid3DLong grid, int x, int y, int z, int centerI, int xDim, int yDim, int zDim, MultinomialCalcLong mn, Coords3DInt AgentBC, Coords3DDouble ProbBC, boolean WrapX, double prob)
-
DiffusionY3DL
public static void DiffusionY3DL(PopulationGrid3DLong grid, int x, int y, int z, int centerI, int xDim, int yDim, int zDim, MultinomialCalcLong mn, Coords3DInt AgentBC, Coords3DDouble ProbBC, boolean WrapY, double prob)
-
DiffusionZ3DL
public static void DiffusionZ3DL(PopulationGrid3DLong grid, int x, int y, int z, int centerI, int xDim, int yDim, int zDim, MultinomialCalcLong mn, Coords3DInt AgentBC, Coords3DDouble ProbBC, boolean WrapZ, double prob)
-
DiffusionOperator2D
public static void DiffusionOperator2D(int[] field, int[] deltas, int centerX, int centerY, double prob, int xDim, int yDim, MultinomialCalc MN, Coords2DInt AgentBC)
-
AddDisplacedY2D
public static boolean AddDisplacedY2D(int[] deltas, int x, int y, int xDim, int yDim, boolean wrapY, Coords1DInt BoundaryCond, int yFrom, int val)
-
Displaced1D
public static int Displaced1D(int[] vals, int x, int xDim, boolean wrapX, Coords1DInt BoundaryCond)
-
DisplacedX2D
public static int DisplacedX2D(int[] vals, int x, int y, int xDim, int yDim, boolean wrapX, Coords2DInt BoundaryCond)
-
DisplacedY2D
public static int DisplacedY2D(int[] vals, int x, int y, int xDim, int yDim, boolean wrapY, Coords2DInt BoundaryCond)
-
DisplacedX3D
public static int DisplacedX3D(int[] vals, int x, int y, int z, int xDim, int yDim, int zDim, boolean wrapX, Coords3DInt BoundaryCond)
-
DisplacedY3D
public static int DisplacedY3D(int[] vals, int x, int y, int z, int xDim, int yDim, int zDim, boolean wrapY, Coords3DInt BoundaryCond)
-
DisplacedZ3D
public static int DisplacedZ3D(int[] vals, int x, int y, int z, int xDim, int yDim, int zDim, boolean wrapZ, Coords3DInt BoundaryCond)
-
Delta1D
public static int Delta1D(int[] vals, int centerVal, int x, int xDim, boolean wrapX, Coords1DInt BoundaryCond)
-
DeltaX2D
public static int DeltaX2D(int[] vals, int centerVal, int x, int y, int xDim, int yDim, boolean wrapX, Coords2DInt BoundaryCond)
-
DeltaY2D
public static int DeltaY2D(int[] vals, int centerVal, int x, int y, int xDim, int yDim, boolean wrapY, Coords2DInt BoundaryCond)
-
DeltaX3D
public static int DeltaX3D(int[] vals, int centerVal, int x, int y, int z, int xDim, int yDim, int zDim, boolean wrapX, Coords3DInt BoundaryCond)
-
DeltaY3D
public static int DeltaY3D(int[] vals, int centerVal, int x, int y, int z, int xDim, int yDim, int zDim, boolean wrapY, Coords3DInt BoundaryCond)
-
DeltaZ3D
public static int DeltaZ3D(int[] vals, int centerVal, int x, int y, int z, int xDim, int yDim, int zDim, boolean wrapZ, Coords3DInt BoundaryCond)
-
-