[petsc-users] Get Stuck in SNES

behzad baghapour behzad.baghapour at gmail.com
Wed Nov 23 00:47:23 CST 2011


As I want to keep my code structure as before applying SNES, I defined a
FieldContext and pass my data like element and face values into this
context by pointing there addresses of elements and faces of the field like
this:

typedef struct {
element* e; face* f; flow* flw; }FieldCtx;

FC.e = e;
    FC.f = f;
    FC.flw = flw;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111123/98f6c28e/attachment.htm>


More information about the petsc-users mailing list