← Back to team overview

ffc team mailing list archive

Re: [HG FFC] Several updates for handling subdomain integrals:

 

On Thu, May 29, 2008 at 07:18:13PM -0400, Jake Ostien wrote:
> Is the update mentioned below also supposed to work for interior 
> facets?  If I just specify dS(2), I get
> 
>     *** list index out of range
> 
> 
> for the interior facet integral code generation.

Yes, so this is a bug. I'll look at it later.

-- 
Anders


> FFC wrote:
> > One or more new changesets pushed to the primary ffc repository.
> > A short summary of the last three changesets is included below.
> >
> > changeset:   1134:b63e7d27e38dd2485f4adf8a26e8e714020ffc61
> > tag:         tip
> > user:        Anders Logg <logg@xxxxxxxxx>
> > date:        Wed May 28 22:44:42 2008 +0200
> > files:       ChangeLog src/demo/SubDomain.form src/demo/SubDomains.form src/ffc/compiler/analysis/formdata.py src/ffc/compiler/codegeneration/tensor/tensorgenerator.py src/ffc/compiler/format/ufcformat.py src/ffc/compiler/language/integral.py src/ffc/compiler/language/reassignment.py src/test/regression/reference/SubDomain.h
> > description:
> > Several updates for handling subdomain integrals:
> >  - Allow simple specification of subdomain integrals.
> >    Now dx(0), dx(1), ds(0), ds(1) etc work which is equivalent
> >    to dx0 = Integral("cell", 0) etc.
> >  - Allow specification of integrals on subdomains without
> >    needing to define all integrals in the range, which makes
> >    the following form perfectly fine: M = f*dx(3). Integrals
> >    for dx(0), dx(1) and dx(2) are automatically generated but
> >    they are zero.
> >
> >
> > changeset:   1133:0c16c9ec2f06f7825eec02d98e7ed6fc446c09f7
> > user:        "Kristian Oelgaard <k.b.oelgaard@xxxxxxxxxx>"
> > date:        Wed May 28 11:53:51 2008 +0200
> > files:       src/ffc/fem/quadratureelement.py
> > description:
> > Print a warning instead of raising a RuntimeError when derivatives are taken of QuadratureElement.
> >
> >
> > changeset:   1132:a4df1de00392be914a3c402d83d8462d24c6b525
> > user:        "Kristian Oelgaard <k.b.oelgaard@xxxxxxxxxx>"
> > date:        Mon May 19 18:50:12 2008 +0200
> > files:       src/ffc/compiler/codegeneration/quadrature/quadraturegenerator.py src/ffc/compiler/codegeneration/quadrature/quadraturegenerator_utils.py src/ffc/compiler/codegeneration/quadrature/reduce_operations.py
> > description:
> > Further optimisations for quadrature representation. Minor bug fix for operation count.
> >
> > ----------------------------------------------------------------------
> > For more details, visit http://www.fenics.org/hg/ffc
> > _______________________________________________
> > FFC-dev mailing list
> > FFC-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/ffc-dev
> >
> >
> >   
> 
> _______________________________________________
> FFC-dev mailing list
> FFC-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/ffc-dev


References