public class PoissonEquation2D extends Object implements PDE
Constructor and Description |
---|
PoissonEquation2D(double a,
double b,
BivariateRealFunction f,
BivariateRealFunction g)
Constructs a Poisson's equation problem.
|
Modifier and Type | Method and Description |
---|---|
double |
a()
Gets the width (x-axis) of the rectangular region.
|
double |
b()
Gets the height (y-axis) of the rectangular region.
|
double |
f(double x,
double y)
The forcing term.
|
double |
g(double x,
double y)
The boundary value function.
|
public PoissonEquation2D(double a, double b, BivariateRealFunction f, BivariateRealFunction g)
a
- the region of interest (0, a)b
- the region of interest (0, b)f
- the forcing term in the equation f(x, y)g
- the Dirichlet boundary condition g(x, y)public double a()
public double b()
public double f(double x, double y)
x
- the first independent variabley
- the second independent variablepublic double g(double x, double y)
x
- the first independent variabley
- the second independent variableCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.