On Tue, Nov 15, 2016 at 6:07 AM, leejearl wrote:
> Hi, Matt:
> Thank you for your kind reply. Since it is a low level routine, is
> there any method which I can used for creating a
> dynamic array?
>
I am not sure what you are asking for?
Thanks,
Matt
>
Hi, Matt:
Thank you for your kind reply. Since it is a low level routine, is
there any method which I can used for creating a
dynamic array?
Thanks
leejearl
On 2016年11月15日 16:20, Matthew Knepley wrote:
On Tue, Nov 15, 2016 at 1:00 AM, leejearl
On Tue, Nov 15, 2016 at 1:00 AM, leejearl wrote:
> Hi Lawrence:
>
> Thank you for your prompt reply. It works well, but I encounter
> another problem.
>
> The code is as follows:
>
> PetscScalar *arrayConVar, *arrayDeltaX, *arrayDeltaY;
>
> ierr =
Hi, Lawrence:
Thank you for your kind reply. I have modified by codes following
your advices.
Now, it works well.
Many thanks for your helps.
leejearl
On 2016年11月14日 23:09, Lawrence Mitchell wrote:
On 14 Nov 2016, at 14:59, leejearl wrote:
Hi all:
I am not
Hi all:
I am not sure the using of the function "DMPlexGetAdjacency".
My codes are as follows:
PetscInt adj, *adjSize=NULL;
ierr = DMPlexGetAdjacency(dm, p, , );
Sometimes, The above codes works. But, it always gets an error:
[0]PETSC ERROR: - Error
> On 14 Nov 2016, at 14:59, leejearl wrote:
>
> Hi all:
>
>I am not sure the using of the function "DMPlexGetAdjacency".
>
>My codes are as follows:
>
>PetscInt adj, *adjSize=NULL;
>
>ierr = DMPlexGetAdjacency(dm, p, , );
Your calling sequence is wrong: