[petsc-users] fast multipole method using petsc

Ji Zhang gotofd at gmail.com
Tue Dec 20 11:42:03 CST 2016


Dear Barry,

Thanks a lot for your information. It's great.

此致
    敬礼
张骥(博士研究生)
北京计算科学研究中心
北京市海淀区西北旺东路10号院东区9号楼 (100193)

Best,
Regards,
Zhang Ji, PhD student
Beijing Computational Science Research Center
Zhongguancun Software Park II, No. 10 Dongbeiwang West Road, Haidian
District, Beijing 100193, China

On Wed, Dec 21, 2016 at 12:58 AM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
> > On Dec 20, 2016, at 10:50 AM, Ji Zhang <gotofd at gmail.com> wrote:
> >
> > Dear all,
> >
> > I'm a petsc user. Currently, the system I face is so huge that is out of
> memory. I want to perform fast multipole method using petsc. Is it possible
> for me to tell the solver the result of matrix-vector product, which is
> gmres need indeed, instead of generate the whole matrix directly?
>
>
>    Absolutely.
>
> http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/
> MatCreateShell.html
> http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/
> MatShellSetOperation.html
>
> follow the examples links for some simple examples.
>
>   Barry
>
> > For example, give a function headle to the solver.
> >
> > Thanks.
> >
> > 此致
> >     敬礼
> > 张骥(博士研究生)
> > 北京计算科学研究中心
> > 北京市海淀区西北旺东路10号院东区9号楼 (100193)
> >
> > Best,
> > Regards,
> > Zhang Ji, PhD student
> > Beijing Computational Science Research Center
> > Zhongguancun Software Park II, No. 10 Dongbeiwang West Road, Haidian
> District, Beijing 100193, China
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20161221/90ddef65/attachment.html>


More information about the petsc-users mailing list