dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #17176
Re: [Question #97173]: Collapsed map size assertion error and private declarations of Functions
Question #97173 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/97173
Status: Open => Answered
Patrick Riesen proposed the following answer:
hi,
>
> Gradients::FunctionSpace _VGradA(*anode);
>
> Gradients::BilinearForm aGradA(_VGradA, _VGradA);
> Gradients::LinearForm LGradA(_VGradA);
> dolfin::Function _GradA(_VGradA);
> dolfin::Function _GradAvg(_VGradA);
>
> dolfin::Function _GradAvgX(_VGradA);
> dolfin::Function _GradAvgY(_VGradA);
>
> _GradAvgX = _GradAvg[0];
> _GradAvgY = _GradAvg[0];
I guess that _GradAvgX as a subfunction of _GradAvg can not have the
same function space _VGradA as _GradAvg.
you may try
Function _GradAvg(_VGradA);
Function _GradAvgX = _GradAvg[0];
patrick
--
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.