← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Add more fine-grained access for manipulating boundary conditions.

 

On Sat, Oct 24, 2009 at 01:09:36PM +0100, Garth N. Wells wrote:
>
>
> DOLFIN wrote:
> > One or more new changesets pushed to the primary dolfin repository.
> > A short summary of the last three changesets is included below.
> >
> > changeset:   7395:54decc008503
> > tag:         tip
> > user:        Anders Logg <logg@xxxxxxxxx>
> > date:        Thu Oct 22 11:37:34 2009 +0200
> > files:       dolfin/fem/BoundaryCondition.cpp dolfin/fem/BoundaryCondition.h dolfin/fem/DirichletBC.cpp dolfin/fem/DirichletBC.h dolfin/function/Function.h
> > description:
> > Add more fine-grained access for manipulating boundary conditions.
> >
> > New constructor: bc = DirichletBC(V, g, markers)
> >
> > New access methods:
> >
> >   bc.function_space()
> >   bc.value()
> >   bc.markers()
> >
> > Allows creation of new boundary conditions as modifications of
> > existing boundary conditions, such as homogeneous Dirichlet
> > conditions based on nonhomogeneous Dirichlet conditions.
> >
>
> Did you test the Python Poisson demo after the bc changes? It's
> presently broken.

Works for me.

What error message do you get?

--
Anders


> Garth
>
>
> >
> > changeset:   7394:53d2f39f3455
> > user:        Anders Logg <logg@xxxxxxxxx>
> > date:        Thu Oct 22 10:31:55 2009 +0200
> > files:       ChangeLog dolfin/fem/DirichletBC.cpp dolfin/fem/DirichletBC.h dolfin/swig/fem_pre.i
> > description:
> > Add copy constructor and possibility to change value for DirichletBC.
> > This should make it possible to take a boundary condition, create a copy
> > of it and change the value. Needed for adaptivity among other things.
> >
> >
> > changeset:   7393:7549224ed832
> > user:        Anders Logg <logg@xxxxxxxxx>
> > date:        Wed Oct 21 17:45:10 2009 +0200
> > files:       dolfin/fem/PeriodicBC.cpp
> > description:
> > Another attempt to fix periodic BC.
> >
> > ----------------------------------------------------------------------
> > 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
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev

Attachment: signature.asc
Description: Digital signature


Follow ups

References