npstat::HeatEq1DNeumannBoundary Class Reference
Constructor & Destructor Documentation◆ HeatEq1DNeumannBoundary()
The number of spatial discretization points, nx, must be at least 3 Member Function Documentation◆ diffScheme()
Matrix representing the differencing scheme. Note that this code is rather slow as it requires O(nx^3) operations. ◆ doublyStochasticGF()
Doubly stochastic approximation to the Green's function. Arguments "tol" and "maxIter" will be passed to the "makeCopulaSteps" method of the ArrayND class used to build the approximation. If "maxIter" is 0, a less reliable non-iterative method will be used that can produce some negative entries in the matrix. ◆ doublyStochasticGFT()
Doubly stochastic approximation to the transposed Green's function. Arguments "tol" and "maxIter" will be passed to the "makeCopulaSteps" method of the ArrayND class used to build the approximation. If "maxIter" is 0, a less reliable non-iterative method will be used that can produce some negative entries in the matrix. ◆ dt()
A simple inspector of object properties ◆ GF()
Note that the matrix representing the Green's Function changes after each step. To get the solution of the heat equation, multiply the GF matrix by the column of intitial conditions. ◆ GFT()
Transposed Green's function ◆ gfWidth()
GF standard deviation for the given coordinate index. The index should be smaller than the "nx" argument provided in the constructor. ◆ maxAbsEigen()
Maximum absolute eigenvalue of the differencing scheme matrix (for use in stability analysis). Note that this code is rather slow as it requires O(nx^3) operations. ◆ nSteps()
Number of time steps made so far ◆ step()
Evolve the system by time dt The documentation for this class was generated from the following file: Generated by 1.9.1 |