Mesh resolution
(Rebecca) Xuefei YUAN
xy2102 at columbia.edu
Tue Dec 15 20:55:00 CST 2009
The relation between the coarser grid and finer grid is always half
spacing in either x-, y-, or z-direction.
Thus, for your finest grid being 257x257x257, you need a coarser grid
of 129x129x129 on the coarse grid if your level is 2.
Hope this is helpful.
R
Quoting Ryan Yan <vyan2000 at gmail.com>:
> Hi All,
> I was ignoring the importance of fixing the mesh size.
> For instance, if I want to compare the effect of mesh sequencing on the
> solver, I will use one level with 256 pt on each direction in 2d, in the
> first run.
>
> My question is, in the second run, how to set up the number of points on
> the coarsest grid and pre-fix the level of the grid so that DMMG
> can bring me the exact resolution of 256 pt on each direction on the finest
> grid. Only this way, the two different solver are solving the problem of the
> same
> size.
>
> Thanks a lot,
>
> Yan
>
--
(Rebecca) Xuefei YUAN
Department of Applied Physics and Applied Mathematics
Columbia University
Tel:917-399-8032
www.columbia.edu/~xy2102
More information about the petsc-users
mailing list