dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #23310
Re: [Question #158032]: Saving tensor to file
Question #158032 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/158032
Status: Open => Answered
Garth Wells proposed the following answer:
On 18/05/11 17:30, Bob Myhill wrote:
> Question #158032 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/158032
>
> Status: Answered => Open
>
> Bob Myhill is still having a problem:
> Hi Johan,
>
> Yes, I have. The line
>>>> efile_pvd << project(sym(grad(u1)),TensorFunctionSpace(mesh,"CG",1))
> produces the same malloc() memory corruption errors.
>
Check that the projection works, e.g.
eps_proj = project(sym(grad(u1)),TensorFunctionSpace(mesh,"CG",1))
and then try to output it
efile_pvd << eps_proj
When it breaks, register a bug and post the simplest possible complete
code that reproduces the error.
Garth
> Bob
>
--
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.