If you use Argument directly, read on.

If you just use TestFunction(V) and TrialFunction(V) no change is visible
at the user level.

I'm changing the Argument class in UFL, such that a form argument number
must always be provided. This argument is named 'number' and replaces the
old 'count', to clarify that this is not the same; the new 'number' is an
absolute index into the argument list of the form.

If you want to create e.g. a trinary form, this is the new syntax:

  v0 = TestFunction(V)
  v1 = TrialFunction(V)
  v2 = Argument(V, 2)

I've also added a 'part' to Argument, which will later be used to support
block forms. For now it's just added as a dormant property and no
algorithms support it.

Martin
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to