Re: [petsc-users] petsc malloc multidimensional array

2014-03-12 Thread 吕超
Many thanks for all your explanation, its really help me! Now my program run smoothly, and the result is satisfactory! For 3d results, I now make drawings by many slices in matlab. And I find it not visualized, so could do you please tell me how can I draw these 3d space fileds finely?

[petsc-users] Null spaces with fieldsplit preconditioning

2014-03-12 Thread Lawrence Mitchell
Hello, I have a mixed FEM system, for which the null space is constant functions in one of the sub spaces. That is, I have W = V * Q and the null space is a constant function in Q (and zero in V). If I assemble the operator, I get a block structure: X = [A B, C D] When I solve this

Re: [petsc-users] petsc malloc multidimensional array

2014-03-12 Thread Matthew Knepley
On Wed, Mar 12, 2014 at 6:38 AM, 吕超 luc...@mail.iggcas.ac.cn wrote: Many thanks for all your explanation, its really help me! Now my program run smoothly, and the result is satisfactory! For 3d results, I now make drawings by many slices in matlab. And I find it not visualized, so

Re: [petsc-users] Null spaces with fieldsplit preconditioning

2014-03-12 Thread Matthew Knepley
On Wed, Mar 12, 2014 at 6:44 AM, Lawrence Mitchell lawrence.mitch...@imperial.ac.uk wrote: Hello, I have a mixed FEM system, for which the null space is constant functions in one of the sub spaces. That is, I have W = V * Q and the null space is a constant function in Q (and zero in V).

[petsc-users] Restart capability in TS

2014-03-12 Thread Mani Chandra
Hi, Is there any inbuilt routine/switch to restart a run from a .vts/binary file using the TS module? I can write one in my code but I just wanted to check if such a capability already exists. Thanks, Mani

Re: [petsc-users] Restart capability in TS

2014-03-12 Thread Jed Brown
Mani Chandra mc0...@gmail.com writes: Hi, Is there any inbuilt routine/switch to restart a run from a .vts/binary file using the TS module? I can write one in my code but I just wanted to check if such a capability already exists. There is a TSLoad in 'master', but most simulations have to

Re: [petsc-users] Restart capability in TS

2014-03-12 Thread Barry Smith
On Mar 12, 2014, at 2:52 PM, Jed Brown j...@jedbrown.org wrote: Mani Chandra mc0...@gmail.com writes: Hi, Is there any inbuilt routine/switch to restart a run from a .vts/binary file using the TS module? I can write one in my code but I just wanted to check if such a capability already