handy-diffusion 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ADI.js +0 -1
- package/index.d.ts +5 -1
- package/index.js +3 -2
- package/package.json +1 -1
package/ADI.js
CHANGED
package/index.d.ts
CHANGED
|
@@ -115,4 +115,8 @@ export function thomasAlgorithm(
|
|
|
115
115
|
b: Float64Array | number[],
|
|
116
116
|
c: Float64Array | number[],
|
|
117
117
|
d: Float64Array | number[]
|
|
118
|
-
): Float64Array;
|
|
118
|
+
): Float64Array;
|
|
119
|
+
|
|
120
|
+
export function updateSinksAndSources(
|
|
121
|
+
sinks: Float64Array | number[],
|
|
122
|
+
sources: Float64Array | number[]): void;
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Import and re-export ADI functions
|
|
2
|
-
export { ADI, setADIProperties } from './ADI.js';
|
|
2
|
+
export { ADI, setADIProperties , updateSinksAndSources} from './ADI.js';
|
|
3
3
|
|
|
4
4
|
// Import and re-export Crank-Nicolson functions
|
|
5
5
|
export { CrankNicolson, setCNProperties } from './CrankNicolson.js';
|
|
@@ -11,4 +11,5 @@ export { analyticSteadyState } from './analyticSolution.js';
|
|
|
11
11
|
export { efectiveInfluence } from './effective.js';
|
|
12
12
|
|
|
13
13
|
// Import and re-export thomas algorithm
|
|
14
|
-
export { thomasAlgorithm } from './thomasAlgorithm.js';
|
|
14
|
+
export { thomasAlgorithm } from './thomasAlgorithm.js';
|
|
15
|
+
|