gnucap-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnucap-devel] orderings


From: Felix Salfelder
Subject: Re: [Gnucap-devel] orderings
Date: Sun, 11 Nov 2018 20:32:19 +0100
User-agent: NeoMutt/20170113 (1.7.2)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]