dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #10443
Re: [HG DOLFIN] A first try at making the DG demo work. Problems in Function.cpp.
On Tue, Oct 28, 2008 at 12:03:01PM +0100, Kristian Oelgaard wrote:
> Quoting DOLFIN <dolfin@xxxxxxxxxx>:
>
> > One or more new changesets pushed to the primary dolfin repository.
> > A short summary of the last three changesets is included below.
> >
> > changeset: 5038:21049878f469cd6c7e26272164ca6a9d91ec36c3
> > tag: tip
> > user: "Kristian Oelgaard <k.b.oelgaard@xxxxxxxxxx>"
> > date: Tue Oct 28 11:43:26 2008 +0100
> > files: demo/pde/dg/poisson/cpp/P1Projection.h
> > demo/pde/dg/poisson/cpp/Poisson.h demo/pde/dg/poisson/cpp/main.cpp
> > dolfin/fem/Form.cpp dolfin/function/SpecialFunctions.cpp
> > dolfin/function/SpecialFunctions.h
> > description:
> > A first try at making the DG demo work. Problems in Function.cpp.
>
> I get the error:
>
> *** Error: Current facet is unknown.
>
> when running the program. This is because the Function._facet is unknown when
> assembling over cells so Function::facet() throws a runtime error. Now, this
> function used to return -1 instead if the _facet was not known. What is the
> reason for this change?
>
> Kristian
I'll take a look, but it seems natural that functions that are defined
on facets should not be used during assembly over cells.
--
Anders
Attachment:
signature.asc
Description: Digital signature
References