← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] A first try at making the DG demo work. Problems in Function.cpp.

 

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
 
> 
> changeset:   5037:6ec4b2fdf9913cf21b19223bf69cf366e727c412
> user:        Anders Logg <logg@xxxxxxxxx>
> date:        Tue Oct 28 09:28:14 2008 +0100
> files:       demo/pde/poisson/cpp/main.cpp dolfin/fem/DirichletBC.cpp
> description:
> Minor fix in DirichletBC. Poisson demo seems to work now!
> 
> 
> changeset:   5036:ee431179d547840e7710fc4b4e93a8b6785fcd6f
> user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
> date:        Mon Oct 27 22:34:11 2008 +0000
> files:       demo/pde/poisson/cpp/main.cpp dolfin/pde/LinearPDE.cpp
> description:
> Turn on bcs in Poisson demo.
> 
> ----------------------------------------------------------------------
> For more details, visit http://www.fenics.org/hg/dolfin
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
> 




Follow ups

References