Re: [petsc-users] Changing DM domain from default [0,1]
Thanks Mohammad. That is exactly what I was searching for. -Scott Dossa On Thu, Aug 11, 2016 at 7:44 PM, Mohammad Mirzadehwrote: > Have you tried DMDASetUniformCoordinates? > http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DM/ > DMDASetUniformCoordinates.html > > On Thu, Aug 11, 2016 at 8:41 PM, Scott Dossa wrote: > >> Hi All, >> >> Basic Question: >> >> When one creates a DMDA to handle objects, it sets the domain to [0,1] by >> default. Is there a call/function to change this? >> >> All the examples seem to be over the default domain. >> >> Thank you for the help! >> Best, >> Scott Dossa >> > >
Re: [petsc-users] Changing DM domain from default [0,1]
Have you tried DMDASetUniformCoordinates? http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DM/DMDASetUniformCoordinates.html On Thu, Aug 11, 2016 at 8:41 PM, Scott Dossawrote: > Hi All, > > Basic Question: > > When one creates a DMDA to handle objects, it sets the domain to [0,1] by > default. Is there a call/function to change this? > > All the examples seem to be over the default domain. > > Thank you for the help! > Best, > Scott Dossa >
[petsc-users] Changing DM domain from default [0,1]
Hi All, Basic Question: When one creates a DMDA to handle objects, it sets the domain to [0,1] by default. Is there a call/function to change this? All the examples seem to be over the default domain. Thank you for the help! Best, Scott Dossa