← Back to team overview

dolfin team mailing list archive

Re: DirichletBC Dimension Problems

 

I've solved the problem that way!!
I was thinking that the SubSpace was acting as a FunctionSpace also.

Thanks

On Tuesday 17 March 2009, Anders Logg wrote:
> On Tue, Mar 17, 2009 at 10:50:29AM +0000, Nuno David Lopes wrote:
> > I didn't understand...
> >
> > On Monday 16 March 2009, Anders Logg wrote:
> > > You are defining the boundary condition dbc for V1 which is the second
> > >
> > > subset of V.
> >
> > that's what I want to do.
> >
> > > This will lead to an offset (size of V0) being used when
> > >
> > > applying the boundary condition which won't work on the forms a_p, Lp
> > >
> > > since they are not defined on V (but on V1).
> >
> > Do I have to pass the dimensions in an explicit form?
> >
> > Is that what you mean?
> >
> > How to do that?
>
> Sub spaces should only be used for setting boundary conditions for
> mixed systems of which they are subsets. If you just want a simple
> space then just instantiate one directly (not as a subspace of another
> space).


-- 
Nuno David Lopes

e-mail:ndl@xxxxxxxxxxxxxx        (FCUL/CMAF)
           nlopes@xxxxxxxxxxxxxxx    (ISEL)
http://ptmat.ptmat.fc.ul.pt/%7Endl/

Tue Mar 17 20:32:57 WET 2009




Follow ups