[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
calling PETSc from Fortan main routine
- To: petsc-users@xxxxxxxxxxx
- Subject: calling PETSc from Fortan main routine
- From: Waad Subber <w_subber@xxxxxxxxx>
- Date: Mon, 13 Aug 2007 14:25:26 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=tcVeSccHlTYDG2GaO+UcazvkvZXNb+gDdeqZbsx7Yf1HLhPJXteh1awMqtLQznuMEjZmw8fN1P8ZAFkHdqKyI10EjkKcVbGAgZG9SBMQ0gqhPAEn0Qq0Mg7eNzvxaqGhbADsk4c6/fEwwFd0+HWQB7cLLhR3SYGVjd+umvMHr/s=;
- Reply-to: petsc-users@xxxxxxxxxxx
- Sender: owner-petsc-users@xxxxxxxxxxx
Hello Everyone,
I am a new PETSc user; and I am wondering if any one can help me with the following issue.
The issue is I want to write KSP solver with all the required objects in an external subroutine and then call it from my main program. I don't know if I can do that.
What I mean is I have a main code consist of several subroutines and I want to change my solver with PETSc solver with keeping the same structure of my main program.
Thanks :)
Waad
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.