[petsc-users] array and vec

2010-04-16 Thread Jed Brown
On Thu, 15 Apr 2010 21:17:19 +0800, =?gb2312?B?s8LA1sa9?= chenleping at yahoo.cn wrote: petsc teams, for following definitions: double precision u(n) Vec v then, how can I actualize mutual updating between u(n) and v? I'm not sure what you mean, if these are the same quantity then

[petsc-users] array and vec

2010-04-16 Thread Barry Smith
On Apr 16, 2010, at 8:21 AM, Jed Brown wrote: On Thu, 15 Apr 2010 21:17:19 +0800, =?gb2312?B?s8LA1sa9?= chenleping at yahoo.cn wrote: petsc teams, for following definitions: double precision u(n) Vec v then, how can I actualize mutual updating between u(n) and v? I'm not sure

[petsc-users] array and vec

2010-04-16 Thread Matthew Knepley
of x. Matt thanks, leping -- ** Jed Brown *?* 2010-04-16 21:21:47 ** chenleping; PETSc users list *???* *???* Re: [petsc-users] array and vec On Thu, 15 Apr 2010 21:17:19 +0800, =?gb2312?B?s8LA1sa9?= chenleping at yahoo.cn wrote: petsc

[petsc-users] array and vec

2010-04-16 Thread Satish Balay
On Fri, 16 Apr 2010, Matthew Knepley wrote: 2010/4/15 Leping Chen? chenleping at yahoo.cn hello, petsc teams, when I use FormFuncion(), I need use a value of x; but x is defined by Vec, I don't know how to get a value of x, for example, the 3rd value. Exactly as Jed

[petsc-users] array and vec

2010-04-16 Thread 陈乐平(Leping Chen)
it? thanks, leping Matthew Knepley ? 2010-04-16 22:48:18 chenleping; PETSc users list ??? ??? Re: [petsc-users] array and vec 2010/4/15 Leping Chen? chenleping at yahoo.cn hello, petsc teams, when I use FormFuncion(), I need use a value of x; but x is defined by Vec, I

[petsc-users] array and vec

2010-04-16 Thread Barry Smith
) is it right? it seems don't work. how can I call it? thanks, leping Matthew Knepley ? 2010-04-16 22:48:18 chenleping; PETSc users list ??? ??? Re: [petsc-users] array and vec 2010/4/15 Leping Chen? chenleping at yahoo.cn hello, petsc teams, when I use FormFuncion

[petsc-users] array and vec

2010-04-15 Thread 陈乐平
petsc teams, for following definitions: double precision u(n) Vec v then, how can I actualize mutual updating between u(n) and v? for example, when u(i) has changed, v will be updated, vice versa. thanks very much, leping -- next part -- An HTML attachment was

[petsc-users] array and vec

2010-04-15 Thread 陈乐平(Leping Chen)
hello, petsc teams, when I use FormFuncion(), I need use a value of x; but x is defined by Vec, I don't know how to get a value of x, for example, the 3rd value. thanks, leping Jed Brown ? 2010-04-16 21:21:47 chenleping; PETSc users list ??? ??? Re: [petsc-users