← Back to team overview

dolfin team mailing list archive

VariationalProblem interface

 

On Wed, Jun 08, 2011 at 11:47:10PM +0200, Anders Logg wrote:
> I'm on a cell phone and can't engage in any discussions but I just
> want to throw something in. Marie and I discussed at some point
> another option which is to write everything as F = 0 and let UFL
> compute J even for linear problems. J would be a optional
> variable. Then we could have a common interface and also a common
> solver.

Any further thoughts on this? It's important we get this right.

I can live with

  LinearVariationalProblem
  NonlinearVariationalProblem

if everyone else thinks that's the best option, but don't really like
it since it's very long. Another option (if we don't go for the F = 0
option) is

  VariationalProblem
  NonlinearVariationalProblem

--
Anders


Follow ups