P Zoltan wrote: > I've tried to convert the existing code to use Eigen, but at this moment > it's totally broken, due to the fact that if a new element/component is > added to the circuit, the corresponding matrix's size doesn't change, so > some nodes won't get voltage values. Does anybody know how adding new > elements it's supposed to work?
Circuit or Circuit document totally destroys the existing elementSet and builds a new one, that's how it works. > Later edit: it seems to me that after each added component, the > CircuitDocument is divided in Circuits and ElementSets and each Circuit > gets an init() call, where the matrix is recreated. Some more debugging is > needed... And also a decent logging method, because debugging complex data > structures/classes tends to suck. Yep. -- New president: Here we go again... Chemistry.com: A total rip-off. Powers are not rights. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Ktechlab-devel mailing list Ktechlab-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ktechlab-devel