dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #12735
Re: DirichletBC Dimension Problems
On Sat, Mar 14, 2009 at 11:25:48PM +0100, ndl@xxxxxxxxxxxxxx wrote:
> Hi.
> I'm having some "dimension" troubles when applying some DirichletBC's.
>
> I've something like this:
> -------------------------------
> MyFunctionSpace V(mesh); //Th=P1+P1
> SubSpace V0(V,0); //S
> SubSpace V1(V,1); //P
> ...
> DirichletBoundary dirichletboundary;
> DBC bc(t);
> DirichletBC dbc(V1,bc,dirichletboundary);
> .....
> MyBilinearForm a(V1,V1);
> Function p(V1);
> MyLinearForm L(V1);
> VariationalProblem pde(a,L,dbc);
> pde.solve(p);
> ----------------------------------------------
> The V dimension is 24136 and V1 is half:12068.
How did you define the function space V?
Try sending a minimal example (~10 lines) that reproduces this bug.
--
Anders
Attachment:
signature.asc
Description: Digital signature
References