Hi,

I have 2 questions.

When I use DMCreateGlobalVector and DMCreateLocalVector with

Vec pressure_global, pressure_local

call DMCreateGlobalVector(da_dof1,pressure_global,ierr)

call DMCreateLocalVector(da_dof1,pressure_local,ierr)

Are the pressure_global and pressure_local using the same memory space, 
or are they seperate?

Another thing is in Fortran, DMDAVecGetArrayF90  gives an array which 
starts from 0. However, my Fortran array usually starts from 1. Is there 
any simple ways to have the array starting from 1 instead?

Thanks

-- 
Yours sincerely,

TAY wee-beng

Reply via email to