← Back to team overview

dolfin team mailing list archive

Re: Functions for applying boundary conditions to the RHS vector only now accept the solution vector x. Where Dirichlet boundary conditions are applied, b = x - bc.The is useful for applying boundary conditions within Newton iterations. [...]

 

On Fri, Dec 02, 2005 at 09:36:27AM -0600, Anders Logg wrote:

> Another thing I'm not completely happy with is that the subclass of
> PDE gets named Poisson::PDE (similarly to Poisson::BilinearForm etc in
> the Poisson namespace generated by FFC). Naturally, one would have the
> name PDE::Poisson. Another option would be to name it Equation, so
> that one can declare

On second thought, maybe

    Poisson::PDE poisson(f);

is actually ok? There's a kind of duality here. One can either talk
about the "Poisson PDE" (which would be PDE::PoissonPDE) or the "PDE
for Poisson" (which would be Poisson::PDE). Either way, it's the same
thing.

/Anders



References