"Its normally better to change the values in place"
So you mean I should use VecSetValue/s instead?
Thank you.
Regards.
On 12/4/06, Matthew Knepley wrote:
>
> On 12/4/06, Ben Tay wrote:
> >
> > Hi,
> >
> > regarding qn 4 ie the requirement of
> > VecAssemblyBegin,VecAssemblyEnd, I used VecPl
I would, but not knowing anything about your application, I can't tell whether
it will make a difference.
Matt
On 12/4/06, Ben Tay wrote:
> "Its normally better to change the values in place"
>
> So you mean I should use VecSetValue/s instead?
>
> Thank you.
>
> Regards.
>
>
> On 12/4/06, Matt
Hi,
regarding qn 4 ie the requirement of VecAssemblyBegin,VecAssemblyEnd, I
used VecPlaceArray, VecResetArray to change the values. I did not use
Assembly after the 1st time step and it works ok. So that is fine too,
right?
Thank you!
On 12/4/06, Satish Balay wrote:
>
> On Sun, 3 Dec 2006, Mat
Hi,
I'm still relatively new to PETSC but I've finally managed to solve my own
poisson eqn using it in about a week's time.Thank you for writing such a
good solver.
However, I have some questions still about PETSC:
1. Are petscscaler the same as real nos.? I am writing in double precision
or rea
On 12/4/06, Ben Tay wrote:
>
> Hi,
>
> regarding qn 4 ie the requirement of
> VecAssemblyBegin,VecAssemblyEnd, I used VecPlaceArray,
> VecResetArray to change the values. I did not use Assembly after the 1st
> time step and it works ok. So that is fine too, right?
Its alright, but probably not o
On Sun, 3 Dec 2006, Matthew Knepley wrote:
> > 1. Are petscscaler the same as real nos.? I am writing in double precision
> > or real(8). So are these 2 interchangeable? (same as petscint and integer).
>
> Yes.
You can check these defines in include/finclude/petscdef.h
PetscInt -> integer*4
Pet
On 12/3/06, Ben Tay wrote:
> Hi,
>
> I'm still relatively new to PETSC but I've finally managed to solve my own
> poisson eqn using it in about a week's time.Thank you for writing such a
> good solver.
>
> However, I have some questions still about PETSC:
>
> 1. Are petscscaler the same as real no