On Sat, Nov 10, 2018 at 07:32:46AM +0100, Felix Salfelder wrote:
> Certainly anything done before expansion will be (much) more efficient.
> i couldn't figure it out. it will likely introduce some other overhead.

now i could. it's in a command plugin I have added to gnucap-custom. the
cmk command can be used to order the nodes in (individual) subckt models
or in the top level circuit. it does not require changes in gnucap.

however, i had to break into NODE_MAP, to access the private map.
please consider a public

void NODE_MAP::permute(int* p);

in the official header. it permutes the user numbers, and plays nicely
with the rest of it.

> > To further improve the algorithm, note how nonlinear the various
> > connections are, and take the most linear ones first.
> 
> my idea was to prioritize large elements on the diagonal. looks like a
> similar objective. lets discuss this another time.

i'd be happy to know how you intend to address this. it's more important
to me than speed, right now.

thanks
felix

_______________________________________________
Gnucap-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnucap-devel

Reply via email to