mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-09 01:44:19 +01:00
be able to solve chunk of system
This commit is contained in:
parent
03f5e29cca
commit
a3c8b79153
1 changed files with 7 additions and 4 deletions
|
|
@ -284,11 +284,14 @@ TCAD.TWO.ParametricManager.prototype.solve = function() {
|
|||
};
|
||||
|
||||
TCAD.TWO.ParametricManager.prototype.prepare = function(locked) {
|
||||
return this._prepare(locked, this.subSystems);
|
||||
};
|
||||
|
||||
TCAD.TWO.ParametricManager.prototype._prepare = function(locked, subSystems) {
|
||||
var solvers = [];
|
||||
for (var i = 0; i < this.subSystems.length; i++) {
|
||||
solvers.push(this._prepare(locked, this.subSystems[i]));
|
||||
for (var i = 0; i < subSystems.length; i++) {
|
||||
solvers.push(this.prepareForSubSystem(locked, subSystems[i]));
|
||||
}
|
||||
var subSystems = this.subSystems;
|
||||
return {
|
||||
solvers : solvers,
|
||||
|
||||
|
|
@ -318,7 +321,7 @@ TCAD.TWO.ParametricManager.prototype.prepare = function(locked) {
|
|||
}
|
||||
};
|
||||
|
||||
TCAD.TWO.ParametricManager.prototype._prepare = function(locked, subSystem) {
|
||||
TCAD.TWO.ParametricManager.prototype.prepareForSubSystem = function(locked, subSystem) {
|
||||
|
||||
var pdict = {};
|
||||
var params;
|
||||
|
|
|
|||
Loading…
Reference in a new issue