← Back to team overview

dolfin team mailing list archive

Re: ODE test problem residual

 

On Fri, Mar 31, 2006 at 12:46:25AM +0200, Johan Jansson wrote:
> On Thu, Mar 30, 2006 at 04:39:24PM -0600, Anders Logg wrote:
> > On Fri, Mar 31, 2006 at 12:38:18AM +0200, Johan Jansson wrote:
> > > On Thu, Mar 30, 2006 at 04:32:12PM -0600, Anders Logg wrote:
> > > > Johan J, can we remove the demo src/demo/ode/residual?
> > > > 
> > > > /Anders
> > > > 
> > > 
> > > Yes, it's not useful anymore.
> > > 
> > >   Johan
> > 
> > ok, I removed it.
> > 
> > I've started looking at the ODE benchmark again. It seems there's a
> > mix of parameters set explicitly and parameters set from file.
> > 
> > Maybe we should do everything from file and have two different
> > settings:
> > 
> >     bench-parameters.xml      # for running benchmark
> >     reference-parameters.xml  # for computing reference solution
> > 
> > ?
> > 
> > /Anders
> 
> That's a good idea. I think we should treat parameters as "data" as
> much as possible and keep them out of the code.
> 
>   Johan

I don't think we can here. We should put everything which is constant
in the set of benchmarks in a parameter file but we need to be able to
give the rest of the parameters on the command line so we can iterate
over tolerances etc in the scripts.

/Anders



References