Where is the ex12 located? I do not find it in snes/example/tutorials/ . Can you please send me the src file
On Thu, Jun 23, 2011 at 6:13 AM, Matthew Knepley <knepley at gmail.com> wrote: > On Thu, Jun 23, 2011 at 6:08 AM, Dharmendar Reddy <dharmareddy84 at gmail.com > > wrote: > >> For learning purposes, I want to bring in a mesh form an exodus file and >> solve a nonlinear Poisson equation (Semiconductor devices). > > > DMMeshCreateExodus() will read in the mesh. SNES ex12 should then be able > to use that mesh. It is P1 > Lagrange for Bratu, which is close. Let me know if you have trouble > modifying it. > > Thanks, > > Matt > > >> On Thu, Jun 23, 2011 at 5:59 AM, Matthew Knepley <knepley at gmail.com>wrote: >> >>> On Thu, Jun 23, 2011 at 5:17 AM, Dharmendar Reddy < >>> dharmareddy84 at gmail.com> wrote: >>> >>>> Hello, >>>> Any FEM examples (Fortran) using PETSC Mesh ?? >>>> >>> >>> I am in the process of slowly converting Mesh from something special and >>> experimental (in C++) >>> to a more integrated part of PETSc (in C). There is a single example of >>> the way it will look, SNES >>> ex12, in dev which is mostly finished. The best completely working >>> example of the fully C++ >>> approach is the PyLith code ( >>> http://www.geodynamics.org/cig/software/pylith) which is a parallel >>> FEM code for crustal deformation. FEM is wide and varied, and PETSc is >>> not intended to include >>> FEM per se but rather support for constructing any FEM method you would >>> like. What do you >>> intend to do? >>> >>> Thanks, >>> >>> Matt >>> >>> >>>> Thanks >>>> Reddy >>>> >>>> -- >>>> ----------------------------------------------------- >>>> Dharmendar Reddy Palle >>>> Graduate Student >>>> Microelectronics Research center, >>>> University of Texas at Austin, >>>> 10100 Burnet Road, Bldg. 160 >>>> MER 2.608F, TX 78758-4445 >>>> e-mail: dharmareddy84 at gmail.com >>>> Phone: +1-512-350-9082 >>>> United States of America. >>>> >>>> >>> >>> >>> -- >>> What most experimenters take for granted before they begin their >>> experiments is infinitely more interesting than any results to which their >>> experiments lead. >>> -- Norbert Wiener >>> >> >> >> >> -- >> ----------------------------------------------------- >> Dharmendar Reddy Palle >> Graduate Student >> Microelectronics Research center, >> University of Texas at Austin, >> 10100 Burnet Road, Bldg. 160 >> MER 2.608F, TX 78758-4445 >> e-mail: dharmareddy84 at gmail.com >> Phone: +1-512-350-9082 >> United States of America. >> >> > > > -- > What most experimenters take for granted before they begin their > experiments is infinitely more interesting than any results to which their > experiments lead. > -- Norbert Wiener > -- ----------------------------------------------------- Dharmendar Reddy Palle Graduate Student Microelectronics Research center, University of Texas at Austin, 10100 Burnet Road, Bldg. 160 MER 2.608F, TX 78758-4445 e-mail: dharmareddy84 at gmail.com Phone: +1-512-350-9082 United States of America. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110623/7c4951d6/attachment.htm>
