-
-
-
-convergence:
-increase or decrease step size
-or try adding
-.options dampstrategy=2
-
-
-
-
+
+
+
+
+
+
+convergence:
+
+increase or decrease step size
+or try adding
+
+.options dampstrategy=2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/views/script/gui.js b/views/script/gui.js
index 7a3a2ec..e7325ae 100644
--- a/views/script/gui.js
+++ b/views/script/gui.js
@@ -1,3 +1,10 @@
+
+
+
+
+globalVariable=0;
+
+
var webtronics={
circuit:null,
copy:null,
@@ -142,8 +149,13 @@ var webtronics={
var id=netlistcreator.readwtx(this.circuit.selected[0],"id");
var value=netlistcreator.readwtx(this.circuit.selected[0],"value");
+
+
if(id!=""){$('webtronics_part_id').value=id;}
if(value!=""){$('webtronics_part_value').value=value;}
+
+
+
$("webtronics_part_dir_value").value=netlistcreator.readwtx(this.circuit.selected[0],'model');
if(!netlistcreator.readwtx(webtronics.circuit.selected[0],"value")){
@@ -636,15 +648,31 @@ console.log(exception);
});
/*
if($('webtronics_save')){
- Event.observe($('webtronics_save'), 'click', function() {
+ Event.observe($('webtronics_save'), 'click', function() {
webtronics.circuit.clearinfo();
webtronics.showMarkup();
});
}
*/
+
+ flag1=0;
+
+
+
+jQuery("#analysis_selectbox").change(function(){
+
+ analysis_type = jQuery(this).val();
+
+});
+
+
+
+
+
if($('webtronics_netlist')){
Event.observe($('webtronics_netlist'), 'click', function() {
-
+ if(flag1!=0){
+
netlistcreator.createnetlist(function(netlist){
var content=$$("#webtronics_netlist_text_div > *")
for(var i=0;i