← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Fix assembly over interior facets, DG demo seems to work now

 



Anders Logg wrote:

We can extend Martin's suggestion from yesterday to make the following
possible:

  Function f;
  Function g;

  Form a(V, V);
  a.f = f;
  a.g = g;

We just need to make sure that the assignment operator checks whether
or not the Function assigned has a FunctionSpace defined, and
otherwise figures out which one to use and then sets it.


We'll need something to deal with functionals. Should a functional require just a Mesh as the argument to its constructor?

Garth



------------------------------------------------------------------------

_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev




References