On Tue, 29 Jun 2010, Roy Stogner wrote:
> Yeah; I'd have done that long ago if it wasn't for the backwards
> compatibility issue. For flexibility there's no better solution than
> Parameters, but for things we know we need we might as well avoid the
> string lookup.
Actually, for backwards comp
On Tue, 29 Jun 2010, Derek Gaston wrote:
> Actually... this would be a good reason to use Roy's suggestion of
> "fall-through" parameters it would allow you to _optionally_
> override the values at the System level. Of course that would mean
> changes to all of the solvers to look at the Sys
Actually... this would be a good reason to use Roy's suggestion of
"fall-through" parameters it would allow you to _optionally_ override the
values at the System level. Of course that would mean changes to all of the
solvers to look at the System level for parameters.
What we're really tal
On Tue, Jun 29, 2010 at 11:13 AM, Roy Stogner wrote:
>
> But seriously: it would be quite reasonable to add a Parameters object
> to each System as well, if you want. What I'd really like is a simple
> API for querying parameters that would check the System first, then
> check the EquationSystems
This is close to what I've done now.
If you guys think it would be useful to others I will add Parameters to
System... and can even do the "parent" parameters thing Roy was talking about.
Derek
On Jun 29, 2010, at 10:14 AM, John Peterson wrote:
> On Tue, Jun 29, 2010 at 11:05 AM, Derek Gaston
On Tue, Jun 29, 2010 at 11:05 AM, Derek Gaston wrote:
> Doh - are there not any Parameters on a System? I was planning on stuffing
> stuff into my NonlinearImplicitSystem so that I can get it back out when
> theNonlinearImplicitSystem get's passed into compute_residual / jacobian.
Your Systems h
On Tue, 29 Jun 2010, Derek Gaston wrote:
Doh - are there not any Parameters on a System? I was planning on
stuffing stuff into my NonlinearImplicitSystem so that I can get it
back out when the NonlinearImplicitSystem get's passed into
compute_residual / jacobian. Sigh.
No, the Parameters ob
Doh - are there not any Parameters on a System? I was planning on stuffing
stuff into my NonlinearImplicitSystem so that I can get it back out when the
NonlinearImplicitSystem get's passed into compute_residual / jacobian.
Sigh.
For now I can key off of it's name... does someone see a better way
Ok - I actually got around to doing this... and just committed the changes.
Who wants to send an official looking email about the change to the user
list?
Derek
On Fri, Apr 30, 2010 at 4:44 PM, Roy Stogner wrote:
>
>
> On Fri, 30 Apr 2010, Derek Gaston wrote:
>
> On Apr 30, 2010, at 1:59 PM, R