[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Domain Decomposition Method
- To: petsc-users@xxxxxxxxxxx
- Subject: Re: Domain Decomposition Method
- From: "Matthew Knepley" <knepley@xxxxxxxxx>
- Date: Wed, 25 Apr 2007 19:45:28 -0500
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SaI1vysOE2H+LRTO/L8Hgknaba4hOu3cr1ihS2mQljBmKHANikQsPkEkRtWYiDR92jcBngM4T1/Y87lyKLj/1KWK28Nvd8oTaPwhSkUvbS00+ZTtHIU6iAgjUjmZzEhttkkXlpdyom2Xs8rHPpD/fS+CQaY9TLOIrGA9T2Tptr4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pd43boacBByCuHXe/pUHt24ceuE+9Hitlh5duoLOTsJHKxnaeuZ8K0MXBwd6/bU8VIHNVLPN3mA49bif3u9caAxrEbiJBcscj0bSsJm+Yb7lVYrou3TQl+Tmkz8XqXMbBZmsLK0vsNfPUYgi/ABQChYKRhzRDfBWUgZirK6DHg4=
- In-reply-to: <2860074.1177543453174.JavaMail.wsubber@connect.carleton.ca>
- References: <2860074.1177543453174.JavaMail.wsubber@connect.carleton.ca>
- Reply-to: petsc-users@xxxxxxxxxxx
- Sender: owner-petsc-users@xxxxxxxxxxx
If you have a structured problem, I recommend looking at a DA example.
If it is unstructured, the approach is to create the system matrix as a Mat.
The Additive Schwarz method is a preconditioner (PC) you specify on the
command line -pc_type asm. Theway to find example is to go to the online
webpage help. Below each function is a ist of the examples it is used in.
Thanks,
Matt
On 4/25/07, Waad Subber <wsubber@xxxxxxxxxxxxxxxxxxx> wrote:
Hello everyone:
I am new to PETSC. Reading the tutorials, I understand that PETSC
supports domain decomposition with additive Schwartz and iterative
substructuring (balancing Neumann-Neumann). I am looking for some
example codes involving these domain decomposition methods for 1D and
2D PDE (preferable linear PDE) so that I can get started. Can anyone
kindly point me to the right place where I can find them.
Thanks :)
waad
--
The government saving money is like me spilling beer. It happens, but
never on purpose.